Fabcoin Core  0.16.2
P2P Digital Currency
ui_askpassphrasedialog.h
Go to the documentation of this file.
1 /********************************************************************************
2 ** Form generated from reading UI file 'askpassphrasedialog.ui'
3 **
4 ** Created by: Qt User Interface Compiler version 5.5.1
5 **
6 ** WARNING! All changes made in this file will be lost when recompiling UI file!
7 ********************************************************************************/
8 
9 #ifndef UI_ASKPASSPHRASEDIALOG_H
10 #define UI_ASKPASSPHRASEDIALOG_H
11 
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QCheckBox>
17 #include <QtWidgets/QDialog>
18 #include <QtWidgets/QDialogButtonBox>
19 #include <QtWidgets/QFormLayout>
20 #include <QtWidgets/QHeaderView>
21 #include <QtWidgets/QLabel>
22 #include <QtWidgets/QLineEdit>
23 #include <QtWidgets/QVBoxLayout>
24 
25 QT_BEGIN_NAMESPACE
26 
28 {
29 public:
30  QVBoxLayout *verticalLayout;
31  QLabel *warningLabel;
32  QFormLayout *formLayout;
33  QLabel *passLabel1;
34  QLineEdit *passEdit1;
35  QLabel *passLabel2;
36  QLineEdit *passEdit2;
37  QLabel *passLabel3;
38  QLineEdit *passEdit3;
39  QLabel *capsLabel;
40  QCheckBox *stakingCheckBox;
41  QDialogButtonBox *buttonBox;
42 
44  {
45  if (AskPassphraseDialog->objectName().isEmpty())
46  AskPassphraseDialog->setObjectName(QStringLiteral("AskPassphraseDialog"));
47  AskPassphraseDialog->resize(598, 222);
48  QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum);
49  sizePolicy.setHorizontalStretch(0);
50  sizePolicy.setVerticalStretch(0);
51  sizePolicy.setHeightForWidth(AskPassphraseDialog->sizePolicy().hasHeightForWidth());
52  AskPassphraseDialog->setSizePolicy(sizePolicy);
53  AskPassphraseDialog->setMinimumSize(QSize(550, 0));
54  verticalLayout = new QVBoxLayout(AskPassphraseDialog);
55  verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
56  verticalLayout->setSizeConstraint(QLayout::SetMinimumSize);
57  warningLabel = new QLabel(AskPassphraseDialog);
58  warningLabel->setObjectName(QStringLiteral("warningLabel"));
59  warningLabel->setText(QStringLiteral("Placeholder text"));
60  warningLabel->setTextFormat(Qt::RichText);
61  warningLabel->setWordWrap(true);
62 
63  verticalLayout->addWidget(warningLabel);
64 
65  formLayout = new QFormLayout();
66  formLayout->setObjectName(QStringLiteral("formLayout"));
67  formLayout->setSizeConstraint(QLayout::SetMinimumSize);
68  formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
69  passLabel1 = new QLabel(AskPassphraseDialog);
70  passLabel1->setObjectName(QStringLiteral("passLabel1"));
71 
72  formLayout->setWidget(0, QFormLayout::LabelRole, passLabel1);
73 
74  passEdit1 = new QLineEdit(AskPassphraseDialog);
75  passEdit1->setObjectName(QStringLiteral("passEdit1"));
76  passEdit1->setEchoMode(QLineEdit::Password);
77 
78  formLayout->setWidget(0, QFormLayout::FieldRole, passEdit1);
79 
80  passLabel2 = new QLabel(AskPassphraseDialog);
81  passLabel2->setObjectName(QStringLiteral("passLabel2"));
82 
83  formLayout->setWidget(1, QFormLayout::LabelRole, passLabel2);
84 
85  passEdit2 = new QLineEdit(AskPassphraseDialog);
86  passEdit2->setObjectName(QStringLiteral("passEdit2"));
87  passEdit2->setEchoMode(QLineEdit::Password);
88 
89  formLayout->setWidget(1, QFormLayout::FieldRole, passEdit2);
90 
91  passLabel3 = new QLabel(AskPassphraseDialog);
92  passLabel3->setObjectName(QStringLiteral("passLabel3"));
93 
94  formLayout->setWidget(2, QFormLayout::LabelRole, passLabel3);
95 
96  passEdit3 = new QLineEdit(AskPassphraseDialog);
97  passEdit3->setObjectName(QStringLiteral("passEdit3"));
98  passEdit3->setEchoMode(QLineEdit::Password);
99 
100  formLayout->setWidget(2, QFormLayout::FieldRole, passEdit3);
101 
102  capsLabel = new QLabel(AskPassphraseDialog);
103  capsLabel->setObjectName(QStringLiteral("capsLabel"));
104  QFont font;
105  font.setBold(true);
106  font.setWeight(75);
107  capsLabel->setFont(font);
108  capsLabel->setAlignment(Qt::AlignCenter);
109 
110  formLayout->setWidget(3, QFormLayout::FieldRole, capsLabel);
111 
112  stakingCheckBox = new QCheckBox(AskPassphraseDialog);
113  stakingCheckBox->setObjectName(QStringLiteral("stakingCheckBox"));
114 
115  formLayout->setWidget(4, QFormLayout::SpanningRole, stakingCheckBox);
116 
117 
118  verticalLayout->addLayout(formLayout);
119 
120  buttonBox = new QDialogButtonBox(AskPassphraseDialog);
121  buttonBox->setObjectName(QStringLiteral("buttonBox"));
122  buttonBox->setOrientation(Qt::Horizontal);
123  buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
124 
125  verticalLayout->addWidget(buttonBox);
126 
127 
128  retranslateUi(AskPassphraseDialog);
129  QObject::connect(buttonBox, SIGNAL(accepted()), AskPassphraseDialog, SLOT(accept()));
130  QObject::connect(buttonBox, SIGNAL(rejected()), AskPassphraseDialog, SLOT(reject()));
131 
132  QMetaObject::connectSlotsByName(AskPassphraseDialog);
133  } // setupUi
134 
136  {
137  AskPassphraseDialog->setWindowTitle(QApplication::translate("AskPassphraseDialog", "Passphrase Dialog", 0));
138  passLabel1->setText(QApplication::translate("AskPassphraseDialog", "Enter passphrase", 0));
139  passLabel2->setText(QApplication::translate("AskPassphraseDialog", "New passphrase", 0));
140  passLabel3->setText(QApplication::translate("AskPassphraseDialog", "Repeat new passphrase", 0));
141  capsLabel->setText(QString());
142 #ifndef QT_NO_TOOLTIP
143  stakingCheckBox->setToolTip(QApplication::translate("AskPassphraseDialog", "Serves to disable the trivial sendmoney when OS account compromised. Provides no real security.", 0));
144 #endif // QT_NO_TOOLTIP
145  stakingCheckBox->setText(QApplication::translate("AskPassphraseDialog", "For staking only.", 0));
146  } // retranslateUi
147 
148 };
149 
150 namespace Ui {
152 } // namespace Ui
153 
154 QT_END_NAMESPACE
155 
156 #endif // UI_ASKPASSPHRASEDIALOG_H
void setupUi(QDialog *AskPassphraseDialog)
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *AskPassphraseDialog)
Multifunctional dialog to ask for passphrases.