2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'addlinkdialog.ui'
|
|
|
|
**
|
|
|
|
** Created: Fri Sep 4 10:17:12 2009
|
|
|
|
** by: Qt User Interface Compiler version 4.6.0
|
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef ADDLINKDIALOG_H
|
|
|
|
#define ADDLINKDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QFormLayout>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QSpacerItem>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_AddLinkDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QFormLayout *formLayout;
|
|
|
|
QLabel *label;
|
|
|
|
QLineEdit *titleInput;
|
|
|
|
QLabel *label_2;
|
|
|
|
QLineEdit *urlInput;
|
|
|
|
QSpacerItem *verticalSpacer;
|
|
|
|
QFrame *line;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *AddLinkDialog)
|
|
|
|
{
|
|
|
|
if (AddLinkDialog->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
AddLinkDialog->setObjectName(QStringLiteral("AddLinkDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
AddLinkDialog->setSizeGripEnabled(false);
|
|
|
|
AddLinkDialog->setModal(true);
|
|
|
|
verticalLayout = new QVBoxLayout(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
formLayout = new QFormLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
formLayout->setObjectName(QStringLiteral("formLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label = new QLabel(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, label);
|
|
|
|
|
|
|
|
titleInput = new QLineEdit(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
titleInput->setObjectName(QStringLiteral("titleInput"));
|
2011-04-27 10:05:43 +00:00
|
|
|
titleInput->setMinimumSize(QSize(337, 0));
|
|
|
|
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, titleInput);
|
|
|
|
|
|
|
|
label_2 = new QLabel(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
|
|
|
|
|
|
|
|
urlInput = new QLineEdit(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
urlInput->setObjectName(QStringLiteral("urlInput"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(1, QFormLayout::FieldRole, urlInput);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout->addLayout(formLayout);
|
|
|
|
|
|
|
|
verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
|
|
|
|
|
|
|
verticalLayout->addItem(verticalSpacer);
|
|
|
|
|
|
|
|
line = new QFrame(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
line->setObjectName(QStringLiteral("line"));
|
2011-04-27 10:05:43 +00:00
|
|
|
line->setFrameShape(QFrame::HLine);
|
|
|
|
line->setFrameShadow(QFrame::Sunken);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(line);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(AddLinkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
|
|
|
|
|
verticalLayout->addWidget(buttonBox);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(AddLinkDialog);
|
|
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), AddLinkDialog, SLOT(accept()));
|
|
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), AddLinkDialog, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(AddLinkDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *AddLinkDialog)
|
|
|
|
{
|
|
|
|
AddLinkDialog->setWindowTitle(QApplication::translate("AddLinkDialog", "Insert Link", 0, QApplication::UnicodeUTF8));
|
|
|
|
label->setText(QApplication::translate("AddLinkDialog", "Title:", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_2->setText(QApplication::translate("AddLinkDialog", "URL:", 0, QApplication::UnicodeUTF8));
|
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class AddLinkDialog: public Ui_AddLinkDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // ADDLINKDIALOG_H
|