2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'bookmarkdialog.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 BOOKMARKDIALOG_H
|
|
|
|
#define BOOKMARKDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QComboBox>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QFrame>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QPushButton>
|
|
|
|
#include <QtWidgets/QToolButton>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
2011-04-27 10:05:43 +00:00
|
|
|
#include "bookmarkwidget.h"
|
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_BookmarkDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QVBoxLayout *verticalLayout_3;
|
|
|
|
QHBoxLayout *horizontalLayout;
|
|
|
|
QVBoxLayout *verticalLayout_2;
|
|
|
|
QLabel *label;
|
|
|
|
QLabel *label_2;
|
|
|
|
QVBoxLayout *verticalLayout;
|
|
|
|
QLineEdit *bookmarkEdit;
|
|
|
|
QComboBox *bookmarkFolders;
|
|
|
|
QHBoxLayout *horizontalLayout_3;
|
|
|
|
QToolButton *toolButton;
|
|
|
|
QFrame *line;
|
|
|
|
BookmarkWidget *bookmarkWidget;
|
|
|
|
QHBoxLayout *horizontalLayout_4;
|
|
|
|
QPushButton *newFolderButton;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *BookmarkDialog)
|
|
|
|
{
|
|
|
|
if (BookmarkDialog->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
BookmarkDialog->setObjectName(QStringLiteral("BookmarkDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
BookmarkDialog->resize(450, 135);
|
|
|
|
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(BookmarkDialog->sizePolicy().hasHeightForWidth());
|
|
|
|
BookmarkDialog->setSizePolicy(sizePolicy);
|
|
|
|
verticalLayout_3 = new QVBoxLayout(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
horizontalLayout = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
verticalLayout_2 = new QVBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label = new QLabel(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout_2->addWidget(label);
|
|
|
|
|
|
|
|
label_2 = new QLabel(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2->setObjectName(QStringLiteral("label_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout_2->addWidget(label_2);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout_2);
|
|
|
|
|
|
|
|
verticalLayout = new QVBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
bookmarkEdit = new QLineEdit(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
bookmarkEdit->setObjectName(QStringLiteral("bookmarkEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout->addWidget(bookmarkEdit);
|
|
|
|
|
|
|
|
bookmarkFolders = new QComboBox(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
bookmarkFolders->setObjectName(QStringLiteral("bookmarkFolders"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
verticalLayout->addWidget(bookmarkFolders);
|
|
|
|
|
|
|
|
|
|
|
|
horizontalLayout->addLayout(verticalLayout);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout_3->addLayout(horizontalLayout);
|
|
|
|
|
|
|
|
horizontalLayout_3 = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolButton = new QToolButton(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
toolButton->setObjectName(QStringLiteral("toolButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
toolButton->setMinimumSize(QSize(25, 20));
|
|
|
|
|
|
|
|
horizontalLayout_3->addWidget(toolButton);
|
|
|
|
|
|
|
|
line = new QFrame(BookmarkDialog);
|
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);
|
|
|
|
|
|
|
|
horizontalLayout_3->addWidget(line);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout_3->addLayout(horizontalLayout_3);
|
|
|
|
|
|
|
|
bookmarkWidget = new BookmarkWidget(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
bookmarkWidget->setObjectName(QStringLiteral("bookmarkWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
bookmarkWidget->setEnabled(true);
|
|
|
|
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Ignored);
|
|
|
|
sizePolicy1.setHorizontalStretch(0);
|
|
|
|
sizePolicy1.setVerticalStretch(0);
|
|
|
|
sizePolicy1.setHeightForWidth(bookmarkWidget->sizePolicy().hasHeightForWidth());
|
|
|
|
bookmarkWidget->setSizePolicy(sizePolicy1);
|
|
|
|
|
|
|
|
verticalLayout_3->addWidget(bookmarkWidget);
|
|
|
|
|
|
|
|
horizontalLayout_4 = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
|
2011-04-27 10:05:43 +00:00
|
|
|
newFolderButton = new QPushButton(BookmarkDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
newFolderButton->setObjectName(QStringLiteral("newFolderButton"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
horizontalLayout_4->addWidget(newFolderButton);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(BookmarkDialog);
|
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);
|
|
|
|
|
|
|
|
horizontalLayout_4->addWidget(buttonBox);
|
|
|
|
|
|
|
|
|
|
|
|
verticalLayout_3->addLayout(horizontalLayout_4);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(BookmarkDialog);
|
|
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), BookmarkDialog, SLOT(accept()));
|
|
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), BookmarkDialog, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(BookmarkDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *BookmarkDialog)
|
|
|
|
{
|
|
|
|
BookmarkDialog->setWindowTitle(QApplication::translate("BookmarkDialog", "Add Bookmark", 0, QApplication::UnicodeUTF8));
|
|
|
|
label->setText(QApplication::translate("BookmarkDialog", "Bookmark:", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_2->setText(QApplication::translate("BookmarkDialog", "Add in Folder:", 0, QApplication::UnicodeUTF8));
|
|
|
|
toolButton->setText(QApplication::translate("BookmarkDialog", "+", 0, QApplication::UnicodeUTF8));
|
|
|
|
QTreeWidgetItem *___qtreewidgetitem = bookmarkWidget->headerItem();
|
|
|
|
___qtreewidgetitem->setText(0, QApplication::translate("BookmarkDialog", "1", 0, QApplication::UnicodeUTF8));
|
|
|
|
newFolderButton->setText(QApplication::translate("BookmarkDialog", "New Folder", 0, QApplication::UnicodeUTF8));
|
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BookmarkDialog: public Ui_BookmarkDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // BOOKMARKDIALOG_H
|