9 #ifndef UI_INSERTHTMLDIALOG_H 10 #define UI_INSERTHTMLDIALOG_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QApplication> 14 #include <QtWidgets/QDialog> 15 #include <QtWidgets/QDialogButtonBox> 16 #include <QtWidgets/QLabel> 17 #include <QtWidgets/QPlainTextEdit> 18 #include <QtWidgets/QVBoxLayout> 25 QVBoxLayout *verticalLayout;
27 QPlainTextEdit *plainTextEdit;
28 QDialogButtonBox *buttonBox;
30 void setupUi(QDialog *Dialog)
32 if (Dialog->objectName().isEmpty())
33 Dialog->setObjectName(QString::fromUtf8(
"Dialog"));
34 Dialog->resize(426, 288);
35 verticalLayout =
new QVBoxLayout(Dialog);
36 verticalLayout->setObjectName(QString::fromUtf8(
"verticalLayout"));
37 label =
new QLabel(Dialog);
38 label->setObjectName(QString::fromUtf8(
"label"));
40 verticalLayout->addWidget(label);
42 plainTextEdit =
new QPlainTextEdit(Dialog);
43 plainTextEdit->setObjectName(QString::fromUtf8(
"plainTextEdit"));
45 verticalLayout->addWidget(plainTextEdit);
47 buttonBox =
new QDialogButtonBox(Dialog);
48 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
49 buttonBox->setOrientation(Qt::Horizontal);
50 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
52 verticalLayout->addWidget(buttonBox);
55 retranslateUi(Dialog);
57 QMetaObject::connectSlotsByName(Dialog);
60 void retranslateUi(QDialog *Dialog)
62 Dialog->setWindowTitle(QApplication::translate(
"Dialog",
"Insert HTML",
nullptr));
63 label->setText(QApplication::translate(
"Dialog",
"HTML Code:",
nullptr));
69 class Dialog:
public Ui_Dialog {};
74 #endif // UI_INSERTHTMLDIALOG_H