9 #ifndef UI_PQPLUGINEULADIALOG_H 10 #define UI_PQPLUGINEULADIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QTextEdit> 17 #include <QtWidgets/QVBoxLayout> 30 if (PluginEULADialog->objectName().isEmpty())
31 PluginEULADialog->setObjectName(QString::fromUtf8(
"PluginEULADialog"));
32 PluginEULADialog->resize(450, 310);
33 verticalLayout =
new QVBoxLayout(PluginEULADialog);
34 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
35 textEdit =
new QTextEdit(PluginEULADialog);
36 textEdit->setObjectName(QString::fromUtf8(
"textEdit"));
37 textEdit->setReadOnly(
true);
39 verticalLayout->addWidget(textEdit);
41 buttonBox =
new QDialogButtonBox(PluginEULADialog);
42 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
43 buttonBox->setOrientation(Qt::Horizontal);
44 buttonBox->setStandardButtons(QDialogButtonBox::No|QDialogButtonBox::Yes);
46 verticalLayout->addWidget(buttonBox);
50 QObject::connect(buttonBox, SIGNAL(accepted()), PluginEULADialog, SLOT(accept()));
51 QObject::connect(buttonBox, SIGNAL(rejected()), PluginEULADialog, SLOT(reject()));
53 QMetaObject::connectSlotsByName(PluginEULADialog);
58 PluginEULADialog->setWindowTitle(QCoreApplication::translate(
"PluginEULADialog",
"End User License Agreement",
nullptr));
59 textEdit->setHtml(QCoreApplication::translate(
"PluginEULADialog",
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" 60 "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" 61 "p, li { white-space: pre-wrap; }\n" 62 "</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n" 63 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">EULA for plugin</span></p></body></html>",
nullptr));
74 #endif // UI_PQPLUGINEULADIALOG_H
QVBoxLayout * verticalLayout
QDialogButtonBox * buttonBox
void retranslateUi(QDialog *PluginEULADialog)
void setupUi(QDialog *PluginEULADialog)