9 #ifndef UI_HELPMESSAGEDIALOG_H 10 #define UI_HELPMESSAGEDIALOG_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/QFrame> 19 #include <QtWidgets/QHBoxLayout> 20 #include <QtWidgets/QHeaderView> 21 #include <QtWidgets/QLabel> 22 #include <QtWidgets/QScrollArea> 23 #include <QtWidgets/QSpacerItem> 24 #include <QtWidgets/QTextEdit> 25 #include <QtWidgets/QVBoxLayout> 26 #include <QtWidgets/QWidget> 48 if (HelpMessageDialog->objectName().isEmpty())
49 HelpMessageDialog->setObjectName(QStringLiteral(
"HelpMessageDialog"));
50 HelpMessageDialog->resize(780, 400);
51 horizontalLayout_2 =
new QHBoxLayout(HelpMessageDialog);
52 horizontalLayout_2->setSpacing(0);
53 horizontalLayout_2->setObjectName(QStringLiteral(
"horizontalLayout_2"));
54 horizontalLayout_2->setContentsMargins(12, 12, 12, 12);
55 verticalLayoutLogo =
new QVBoxLayout();
56 verticalLayoutLogo->setObjectName(QStringLiteral(
"verticalLayoutLogo"));
57 verticalLayoutLogo->setContentsMargins(0, 4, 0, -1);
58 aboutLogo =
new QLabel(HelpMessageDialog);
59 aboutLogo->setObjectName(QStringLiteral(
"aboutLogo"));
60 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Ignored);
61 sizePolicy.setHorizontalStretch(0);
62 sizePolicy.setVerticalStretch(0);
63 sizePolicy.setHeightForWidth(aboutLogo->sizePolicy().hasHeightForWidth());
64 aboutLogo->setSizePolicy(sizePolicy);
65 aboutLogo->setMaximumSize(QSize(100, 100));
66 aboutLogo->setPixmap(QPixmap(QString::fromUtf8(
":/icons/fabcoin")));
67 aboutLogo->setScaledContents(
true);
68 aboutLogo->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
70 verticalLayoutLogo->addWidget(aboutLogo);
72 frame =
new QFrame(HelpMessageDialog);
73 frame->setObjectName(QStringLiteral(
"frame"));
74 frame->setFrameShape(QFrame::NoFrame);
75 frame->setFrameShadow(QFrame::Raised);
77 verticalLayoutLogo->addWidget(frame);
80 horizontalLayout_2->addLayout(verticalLayoutLogo);
82 verticalLayout =
new QVBoxLayout();
83 verticalLayout->setObjectName(QStringLiteral(
"verticalLayout"));
84 helpMessage =
new QTextEdit(HelpMessageDialog);
85 helpMessage->setObjectName(QStringLiteral(
"helpMessage"));
86 helpMessage->setReadOnly(
true);
88 verticalLayout->addWidget(helpMessage);
90 scrollArea =
new QScrollArea(HelpMessageDialog);
91 scrollArea->setObjectName(QStringLiteral(
"scrollArea"));
92 scrollArea->setFrameShape(QFrame::NoFrame);
93 scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOn);
94 scrollArea->setWidgetResizable(
true);
95 scrollAreaWidgetContents =
new QWidget();
96 scrollAreaWidgetContents->setObjectName(QStringLiteral(
"scrollAreaWidgetContents"));
97 verticalLayout_2 =
new QVBoxLayout(scrollAreaWidgetContents);
98 verticalLayout_2->setObjectName(QStringLiteral(
"verticalLayout_2"));
99 aboutMessage =
new QLabel(scrollAreaWidgetContents);
100 aboutMessage->setObjectName(QStringLiteral(
"aboutMessage"));
101 aboutMessage->setCursor(QCursor(Qt::IBeamCursor));
102 aboutMessage->setTextFormat(Qt::PlainText);
103 aboutMessage->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
104 aboutMessage->setOpenExternalLinks(
true);
105 aboutMessage->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
107 verticalLayout_2->addWidget(aboutMessage);
109 scrollArea->setWidget(scrollAreaWidgetContents);
111 verticalLayout->addWidget(scrollArea);
113 verticalSpacer =
new QSpacerItem(4, 4, QSizePolicy::Minimum, QSizePolicy::Fixed);
115 verticalLayout->addItem(verticalSpacer);
117 okButton =
new QDialogButtonBox(HelpMessageDialog);
118 okButton->setObjectName(QStringLiteral(
"okButton"));
119 okButton->setOrientation(Qt::Horizontal);
120 okButton->setStandardButtons(QDialogButtonBox::Ok);
122 verticalLayout->addWidget(okButton);
125 horizontalLayout_2->addLayout(verticalLayout);
129 QObject::connect(okButton, SIGNAL(accepted()), HelpMessageDialog, SLOT(accept()));
130 QObject::connect(okButton, SIGNAL(rejected()), HelpMessageDialog, SLOT(reject()));
132 QMetaObject::connectSlotsByName(HelpMessageDialog);
137 Q_UNUSED(HelpMessageDialog);
148 #endif // UI_HELPMESSAGEDIALOG_H QHBoxLayout * horizontalLayout_2
QVBoxLayout * verticalLayoutLogo
QWidget * scrollAreaWidgetContents
void setupUi(QDialog *HelpMessageDialog)
QVBoxLayout * verticalLayout_2
QSpacerItem * verticalSpacer
void retranslateUi(QDialog *HelpMessageDialog)
QVBoxLayout * verticalLayout
"Help message" dialog box
QDialogButtonBox * okButton