10 #ifndef UI_ADDLINKDIALOG_H
11 #define UI_ADDLINKDIALOG_H
13 #include <QtCore/QVariant>
15 #include <QApplication>
16 #include <QButtonGroup>
18 #include <QDialogButtonBox>
19 #include <QFormLayout>
21 #include <QHeaderView>
24 #include <QSpacerItem>
25 #include <QVBoxLayout>
44 if (AddLinkDialog->objectName().isEmpty())
45 AddLinkDialog->setObjectName(QString::fromUtf8(
"AddLinkDialog"));
46 AddLinkDialog->setSizeGripEnabled(
false);
47 AddLinkDialog->setModal(
true);
51 formLayout->setObjectName(QString::fromUtf8(
"formLayout"));
52 label =
new QLabel(AddLinkDialog);
53 label->setObjectName(QString::fromUtf8(
"label"));
58 titleInput->setObjectName(QString::fromUtf8(
"titleInput"));
63 label_2 =
new QLabel(AddLinkDialog);
64 label_2->setObjectName(QString::fromUtf8(
"label_2"));
68 urlInput =
new QLineEdit(AddLinkDialog);
69 urlInput->setObjectName(QString::fromUtf8(
"urlInput"));
76 verticalSpacer =
new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
80 line =
new QFrame(AddLinkDialog);
81 line->setObjectName(QString::fromUtf8(
"line"));
82 line->setFrameShape(QFrame::HLine);
83 line->setFrameShadow(QFrame::Sunken);
87 buttonBox =
new QDialogButtonBox(AddLinkDialog);
88 buttonBox->setObjectName(QString::fromUtf8(
"buttonBox"));
96 QObject::connect(
buttonBox, SIGNAL(accepted()), AddLinkDialog, SLOT(accept()));
97 QObject::connect(
buttonBox, SIGNAL(rejected()), AddLinkDialog, SLOT(reject()));
99 QMetaObject::connectSlotsByName(AddLinkDialog);
104 AddLinkDialog->setWindowTitle(QApplication::translate(
"AddLinkDialog",
"Insert Link",
nullptr));
105 label->setText(QApplication::translate(
"AddLinkDialog",
"Title:",
nullptr));
106 label_2->setText(QApplication::translate(
"AddLinkDialog",
"URL:",
nullptr));
117 #endif // UI_ADDLINKDIALOG_H