9 #ifndef UI_TOKENDESCDIALOG_H 10 #define UI_TOKENDESCDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QDialog> 17 #include <QtWidgets/QDialogButtonBox> 18 #include <QtWidgets/QHBoxLayout> 19 #include <QtWidgets/QHeaderView> 20 #include <QtWidgets/QTextEdit> 21 #include <QtWidgets/QVBoxLayout> 22 #include <QtWidgets/QWidget> 38 if (TokenDescDialog->objectName().isEmpty())
39 TokenDescDialog->setObjectName(QStringLiteral(
"TokenDescDialog"));
40 TokenDescDialog->resize(620, 250);
41 verticalLayout =
new QVBoxLayout(TokenDescDialog);
42 verticalLayout->setSpacing(15);
43 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
44 verticalLayout->setContentsMargins(0, -1, 0, 0);
45 horizontalLayout_2 =
new QHBoxLayout();
46 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
47 horizontalLayout_2->setContentsMargins(30, -1, 30, -1);
48 detailText =
new QTextEdit(TokenDescDialog);
49 detailText->setObjectName(QStringLiteral(
"detailText"));
50 detailText->setReadOnly(
true);
52 horizontalLayout_2->addWidget(detailText);
55 verticalLayout->addLayout(horizontalLayout_2);
57 buttonsContainerWhite =
new QWidget(TokenDescDialog);
58 buttonsContainerWhite->setObjectName(QStringLiteral(
"buttonsContainerWhite"));
59 horizontalLayout =
new QHBoxLayout(buttonsContainerWhite);
60 horizontalLayout->setObjectName(QStringLiteral(
"horizontalLayout"));
61 horizontalLayout->setContentsMargins(30, 15, 30, 15);
62 buttonBox =
new QDialogButtonBox(buttonsContainerWhite);
63 buttonBox->setObjectName(QStringLiteral(
"buttonBox"));
64 buttonBox->setOrientation(Qt::Horizontal);
65 buttonBox->setStandardButtons(QDialogButtonBox::Close);
67 horizontalLayout->addWidget(buttonBox);
70 verticalLayout->addWidget(buttonsContainerWhite);
74 QObject::connect(buttonBox, SIGNAL(accepted()), TokenDescDialog, SLOT(accept()));
75 QObject::connect(buttonBox, SIGNAL(rejected()), TokenDescDialog, SLOT(reject()));
77 QMetaObject::connectSlotsByName(TokenDescDialog);
82 TokenDescDialog->setWindowTitle(QApplication::translate(
"TokenDescDialog",
"Dialog", 0));
93 #endif // UI_TOKENDESCDIALOG_H void retranslateUi(QDialog *TokenDescDialog)
QWidget * buttonsContainerWhite
QVBoxLayout * verticalLayout
Dialog showing token details.
QHBoxLayout * horizontalLayout_2
void setupUi(QDialog *TokenDescDialog)
QDialogButtonBox * buttonBox
QHBoxLayout * horizontalLayout