1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'addlinkdialog.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_ADDLINKDIALOG_H |
10 | #define UI_ADDLINKDIALOG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QDialog> |
15 | #include <QtWidgets/QDialogButtonBox> |
16 | #include <QtWidgets/QFormLayout> |
17 | #include <QtWidgets/QFrame> |
18 | #include <QtWidgets/QLabel> |
19 | #include <QtWidgets/QLineEdit> |
20 | #include <QtWidgets/QSpacerItem> |
21 | #include <QtWidgets/QVBoxLayout> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class Ui_AddLinkDialog |
26 | { |
27 | public: |
28 | QVBoxLayout *verticalLayout; |
29 | QFormLayout *formLayout; |
30 | QLabel *label; |
31 | QLineEdit *titleInput; |
32 | QLabel *label_2; |
33 | QLineEdit *urlInput; |
34 | QSpacerItem *verticalSpacer; |
35 | QFrame *line; |
36 | QDialogButtonBox *buttonBox; |
37 | |
38 | void setupUi(QDialog *AddLinkDialog) |
39 | { |
40 | if (AddLinkDialog->objectName().isEmpty()) |
41 | AddLinkDialog->setObjectName(QString::fromUtf8(str: "AddLinkDialog" )); |
42 | AddLinkDialog->setSizeGripEnabled(false); |
43 | AddLinkDialog->setModal(true); |
44 | verticalLayout = new QVBoxLayout(AddLinkDialog); |
45 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
46 | formLayout = new QFormLayout(); |
47 | formLayout->setObjectName(QString::fromUtf8(str: "formLayout" )); |
48 | label = new QLabel(AddLinkDialog); |
49 | label->setObjectName(QString::fromUtf8(str: "label" )); |
50 | |
51 | formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: label); |
52 | |
53 | titleInput = new QLineEdit(AddLinkDialog); |
54 | titleInput->setObjectName(QString::fromUtf8(str: "titleInput" )); |
55 | titleInput->setMinimumSize(QSize(337, 0)); |
56 | |
57 | formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: titleInput); |
58 | |
59 | label_2 = new QLabel(AddLinkDialog); |
60 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
61 | |
62 | formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: label_2); |
63 | |
64 | urlInput = new QLineEdit(AddLinkDialog); |
65 | urlInput->setObjectName(QString::fromUtf8(str: "urlInput" )); |
66 | |
67 | formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: urlInput); |
68 | |
69 | |
70 | verticalLayout->addLayout(layout: formLayout); |
71 | |
72 | verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
73 | |
74 | verticalLayout->addItem(verticalSpacer); |
75 | |
76 | line = new QFrame(AddLinkDialog); |
77 | line->setObjectName(QString::fromUtf8(str: "line" )); |
78 | line->setFrameShape(QFrame::HLine); |
79 | line->setFrameShadow(QFrame::Sunken); |
80 | |
81 | verticalLayout->addWidget(line); |
82 | |
83 | buttonBox = new QDialogButtonBox(AddLinkDialog); |
84 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
85 | buttonBox->setOrientation(Qt::Horizontal); |
86 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
87 | |
88 | verticalLayout->addWidget(buttonBox); |
89 | |
90 | |
91 | retranslateUi(AddLinkDialog); |
92 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: AddLinkDialog, SLOT(accept())); |
93 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: AddLinkDialog, SLOT(reject())); |
94 | |
95 | QMetaObject::connectSlotsByName(o: AddLinkDialog); |
96 | } // setupUi |
97 | |
98 | void retranslateUi(QDialog *AddLinkDialog) |
99 | { |
100 | AddLinkDialog->setWindowTitle(QCoreApplication::translate(context: "AddLinkDialog" , key: "Insert Link" , disambiguation: nullptr)); |
101 | label->setText(QCoreApplication::translate(context: "AddLinkDialog" , key: "Title:" , disambiguation: nullptr)); |
102 | label_2->setText(QCoreApplication::translate(context: "AddLinkDialog" , key: "URL:" , disambiguation: nullptr)); |
103 | } // retranslateUi |
104 | |
105 | }; |
106 | |
107 | namespace Ui { |
108 | class AddLinkDialog: public Ui_AddLinkDialog {}; |
109 | } // namespace Ui |
110 | |
111 | QT_END_NAMESPACE |
112 | |
113 | #endif // UI_ADDLINKDIALOG_H |
114 | |