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