Line data Source code
1 : /******************************************************************************** 2 : ** Form generated from reading UI file 'intro.ui' 3 : ** 4 : ** Created by: Qt User Interface Compiler version 5.15.0 5 : ** 6 : ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 : ********************************************************************************/ 8 : 9 : #ifndef UI_INTRO_H 10 : #define UI_INTRO_H 11 : 12 : #include <QtCore/QVariant> 13 : #include <QtWidgets/QApplication> 14 : #include <QtWidgets/QCheckBox> 15 : #include <QtWidgets/QDialog> 16 : #include <QtWidgets/QDialogButtonBox> 17 : #include <QtWidgets/QHBoxLayout> 18 : #include <QtWidgets/QLabel> 19 : #include <QtWidgets/QLineEdit> 20 : #include <QtWidgets/QPushButton> 21 : #include <QtWidgets/QRadioButton> 22 : #include <QtWidgets/QSpacerItem> 23 : #include <QtWidgets/QVBoxLayout> 24 : 25 : QT_BEGIN_NAMESPACE 26 : 27 : class Ui_Intro 28 : { 29 : public: 30 : QVBoxLayout *verticalLayout; 31 : QLabel *welcomeLabel; 32 : QSpacerItem *verticalSpacer_4; 33 : QLabel *storageLabel; 34 : QLabel *sizeWarningLabel; 35 : QRadioButton *dataDirDefault; 36 : QRadioButton *dataDirCustom; 37 : QHBoxLayout *horizontalLayout; 38 : QSpacerItem *horizontalSpacer; 39 : QVBoxLayout *verticalLayout_2; 40 : QHBoxLayout *horizontalLayout_2; 41 : QLineEdit *dataDirectory; 42 : QPushButton *ellipsisButton; 43 : QSpacerItem *verticalSpacer_3; 44 : QLabel *freeSpace; 45 : QSpacerItem *verticalSpacer_2; 46 : QLabel *errorMessage; 47 : QLabel *lblExplanation1; 48 : QCheckBox *prune; 49 : QLabel *lblExplanation2; 50 : QLabel *lblExplanation3; 51 : QSpacerItem *verticalSpacer; 52 : QDialogButtonBox *buttonBox; 53 : 54 0 : void setupUi(QDialog *Intro) 55 : { 56 0 : if (Intro->objectName().isEmpty()) 57 0 : Intro->setObjectName(QString::fromUtf8("Intro")); 58 0 : Intro->resize(674, 415); 59 0 : verticalLayout = new QVBoxLayout(Intro); 60 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 61 0 : welcomeLabel = new QLabel(Intro); 62 0 : welcomeLabel->setObjectName(QString::fromUtf8("welcomeLabel")); 63 0 : welcomeLabel->setStyleSheet(QString::fromUtf8("QLabel { font-style:italic; }")); 64 0 : welcomeLabel->setWordWrap(true); 65 : 66 0 : verticalLayout->addWidget(welcomeLabel); 67 : 68 0 : verticalSpacer_4 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum); 69 : 70 0 : verticalLayout->addItem(verticalSpacer_4); 71 : 72 0 : storageLabel = new QLabel(Intro); 73 0 : storageLabel->setObjectName(QString::fromUtf8("storageLabel")); 74 0 : storageLabel->setWordWrap(true); 75 : 76 0 : verticalLayout->addWidget(storageLabel); 77 : 78 0 : sizeWarningLabel = new QLabel(Intro); 79 0 : sizeWarningLabel->setObjectName(QString::fromUtf8("sizeWarningLabel")); 80 0 : sizeWarningLabel->setWordWrap(true); 81 : 82 0 : verticalLayout->addWidget(sizeWarningLabel); 83 : 84 0 : dataDirDefault = new QRadioButton(Intro); 85 0 : dataDirDefault->setObjectName(QString::fromUtf8("dataDirDefault")); 86 : 87 0 : verticalLayout->addWidget(dataDirDefault); 88 : 89 0 : dataDirCustom = new QRadioButton(Intro); 90 0 : dataDirCustom->setObjectName(QString::fromUtf8("dataDirCustom")); 91 : 92 0 : verticalLayout->addWidget(dataDirCustom); 93 : 94 0 : horizontalLayout = new QHBoxLayout(); 95 0 : horizontalLayout->setSpacing(0); 96 0 : horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); 97 0 : horizontalLayout->setSizeConstraint(QLayout::SetDefaultConstraint); 98 0 : horizontalSpacer = new QSpacerItem(60, 20, QSizePolicy::Fixed, QSizePolicy::Minimum); 99 : 100 0 : horizontalLayout->addItem(horizontalSpacer); 101 : 102 0 : verticalLayout_2 = new QVBoxLayout(); 103 0 : verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2")); 104 0 : verticalLayout_2->setSizeConstraint(QLayout::SetDefaultConstraint); 105 0 : horizontalLayout_2 = new QHBoxLayout(); 106 0 : horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); 107 0 : dataDirectory = new QLineEdit(Intro); 108 0 : dataDirectory->setObjectName(QString::fromUtf8("dataDirectory")); 109 : 110 0 : horizontalLayout_2->addWidget(dataDirectory); 111 : 112 0 : ellipsisButton = new QPushButton(Intro); 113 0 : ellipsisButton->setObjectName(QString::fromUtf8("ellipsisButton")); 114 0 : QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); 115 0 : sizePolicy.setHorizontalStretch(0); 116 0 : sizePolicy.setVerticalStretch(0); 117 0 : sizePolicy.setHeightForWidth(ellipsisButton->sizePolicy().hasHeightForWidth()); 118 0 : ellipsisButton->setSizePolicy(sizePolicy); 119 0 : ellipsisButton->setMaximumSize(QSize(30, 16777215)); 120 0 : ellipsisButton->setText(QString::fromUtf8("\342\200\246")); 121 0 : ellipsisButton->setAutoDefault(false); 122 : 123 0 : horizontalLayout_2->addWidget(ellipsisButton); 124 : 125 : 126 0 : verticalLayout_2->addLayout(horizontalLayout_2); 127 : 128 0 : verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed); 129 : 130 0 : verticalLayout_2->addItem(verticalSpacer_3); 131 : 132 0 : freeSpace = new QLabel(Intro); 133 0 : freeSpace->setObjectName(QString::fromUtf8("freeSpace")); 134 0 : QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Expanding); 135 0 : sizePolicy1.setHorizontalStretch(1); 136 0 : sizePolicy1.setVerticalStretch(0); 137 0 : sizePolicy1.setHeightForWidth(freeSpace->sizePolicy().hasHeightForWidth()); 138 0 : freeSpace->setSizePolicy(sizePolicy1); 139 0 : freeSpace->setWordWrap(true); 140 : 141 0 : verticalLayout_2->addWidget(freeSpace); 142 : 143 0 : verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Fixed); 144 : 145 0 : verticalLayout_2->addItem(verticalSpacer_2); 146 : 147 0 : errorMessage = new QLabel(Intro); 148 0 : errorMessage->setObjectName(QString::fromUtf8("errorMessage")); 149 0 : QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Expanding); 150 0 : sizePolicy2.setHorizontalStretch(0); 151 0 : sizePolicy2.setVerticalStretch(0); 152 0 : sizePolicy2.setHeightForWidth(errorMessage->sizePolicy().hasHeightForWidth()); 153 0 : errorMessage->setSizePolicy(sizePolicy2); 154 0 : errorMessage->setTextFormat(Qt::RichText); 155 0 : errorMessage->setWordWrap(true); 156 : 157 0 : verticalLayout_2->addWidget(errorMessage); 158 : 159 : 160 0 : horizontalLayout->addLayout(verticalLayout_2); 161 : 162 : 163 0 : verticalLayout->addLayout(horizontalLayout); 164 : 165 0 : lblExplanation1 = new QLabel(Intro); 166 0 : lblExplanation1->setObjectName(QString::fromUtf8("lblExplanation1")); 167 0 : lblExplanation1->setWordWrap(true); 168 : 169 0 : verticalLayout->addWidget(lblExplanation1); 170 : 171 0 : prune = new QCheckBox(Intro); 172 0 : prune->setObjectName(QString::fromUtf8("prune")); 173 : 174 0 : verticalLayout->addWidget(prune); 175 : 176 0 : lblExplanation2 = new QLabel(Intro); 177 0 : lblExplanation2->setObjectName(QString::fromUtf8("lblExplanation2")); 178 0 : lblExplanation2->setWordWrap(true); 179 : 180 0 : verticalLayout->addWidget(lblExplanation2); 181 : 182 0 : lblExplanation3 = new QLabel(Intro); 183 0 : lblExplanation3->setObjectName(QString::fromUtf8("lblExplanation3")); 184 0 : lblExplanation3->setWordWrap(true); 185 : 186 0 : verticalLayout->addWidget(lblExplanation3); 187 : 188 0 : verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); 189 : 190 0 : verticalLayout->addItem(verticalSpacer); 191 : 192 0 : buttonBox = new QDialogButtonBox(Intro); 193 0 : buttonBox->setObjectName(QString::fromUtf8("buttonBox")); 194 0 : buttonBox->setOrientation(Qt::Horizontal); 195 0 : buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); 196 : 197 0 : verticalLayout->addWidget(buttonBox); 198 : 199 : 200 0 : retranslateUi(Intro); 201 0 : QObject::connect(buttonBox, SIGNAL(accepted()), Intro, SLOT(accept())); 202 0 : QObject::connect(buttonBox, SIGNAL(rejected()), Intro, SLOT(reject())); 203 : 204 0 : QMetaObject::connectSlotsByName(Intro); 205 0 : } // setupUi 206 : 207 0 : void retranslateUi(QDialog *Intro) 208 : { 209 0 : Intro->setWindowTitle(QCoreApplication::translate("Intro", "Welcome", nullptr)); 210 0 : welcomeLabel->setText(QCoreApplication::translate("Intro", "Welcome to %1.", nullptr)); 211 0 : storageLabel->setText(QCoreApplication::translate("Intro", "As this is the first time the program is launched, you can choose where %1 will store its data.", nullptr)); 212 0 : dataDirDefault->setText(QCoreApplication::translate("Intro", "Use the default data directory", nullptr)); 213 0 : dataDirCustom->setText(QCoreApplication::translate("Intro", "Use a custom data directory:", nullptr)); 214 0 : freeSpace->setText(QString()); 215 0 : lblExplanation1->setText(QCoreApplication::translate("Intro", "When you click OK, %1 will begin to download and process the full %4 block chain (%2GB) starting with the earliest transactions in %3 when %4 initially launched.", nullptr)); 216 : #if QT_CONFIG(tooltip) 217 0 : prune->setToolTip(QCoreApplication::translate("Intro", "Reverting this setting requires re-downloading the entire blockchain. It is faster to download the full chain first and prune it later. Disables some advanced features.", nullptr)); 218 : #endif // QT_CONFIG(tooltip) 219 0 : prune->setText(QString()); 220 0 : lblExplanation2->setText(QCoreApplication::translate("Intro", "This initial synchronisation is very demanding, and may expose hardware problems with your computer that had previously gone unnoticed. Each time you run %1, it will continue downloading where it left off.", nullptr)); 221 0 : lblExplanation3->setText(QCoreApplication::translate("Intro", "If you have chosen to limit block chain storage (pruning), the historical data must still be downloaded and processed, but will be deleted afterward to keep your disk usage low.", nullptr)); 222 0 : } // retranslateUi 223 : 224 : }; 225 : 226 : namespace Ui { 227 : class Intro: public Ui_Intro {}; 228 : } // namespace Ui 229 : 230 : QT_END_NAMESPACE 231 : 232 : #endif // UI_INTRO_H