0
|
1 |
/********************************************************************************
|
|
2 |
** Form generated from reading UI file 'bookmarkdialog.ui'
|
|
3 |
**
|
|
4 |
** Created: Fri Sep 4 10:17:12 2009
|
|
5 |
** by: Qt User Interface Compiler version 4.6.0
|
|
6 |
**
|
|
7 |
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
8 |
********************************************************************************/
|
|
9 |
|
|
10 |
#ifndef BOOKMARKDIALOG_H
|
|
11 |
#define BOOKMARKDIALOG_H
|
|
12 |
|
|
13 |
#include <QtCore/QVariant>
|
|
14 |
#include <QtGui/QAction>
|
|
15 |
#include <QtGui/QApplication>
|
|
16 |
#include <QtGui/QButtonGroup>
|
|
17 |
#include <QtGui/QComboBox>
|
|
18 |
#include <QtGui/QDialog>
|
|
19 |
#include <QtGui/QDialogButtonBox>
|
|
20 |
#include <QtGui/QFrame>
|
|
21 |
#include <QtGui/QHBoxLayout>
|
|
22 |
#include <QtGui/QHeaderView>
|
|
23 |
#include <QtGui/QLabel>
|
|
24 |
#include <QtGui/QLineEdit>
|
|
25 |
#include <QtGui/QPushButton>
|
|
26 |
#include <QtGui/QToolButton>
|
|
27 |
#include <QtGui/QVBoxLayout>
|
|
28 |
#include "bookmarkwidget.h"
|
|
29 |
|
|
30 |
QT_BEGIN_NAMESPACE
|
|
31 |
|
|
32 |
class Ui_BookmarkDialog
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
QVBoxLayout *verticalLayout_3;
|
|
36 |
QHBoxLayout *horizontalLayout;
|
|
37 |
QVBoxLayout *verticalLayout_2;
|
|
38 |
QLabel *label;
|
|
39 |
QLabel *label_2;
|
|
40 |
QVBoxLayout *verticalLayout;
|
|
41 |
QLineEdit *bookmarkEdit;
|
|
42 |
QComboBox *bookmarkFolders;
|
|
43 |
QHBoxLayout *horizontalLayout_3;
|
|
44 |
QToolButton *toolButton;
|
|
45 |
QFrame *line;
|
|
46 |
BookmarkWidget *bookmarkWidget;
|
|
47 |
QHBoxLayout *horizontalLayout_4;
|
|
48 |
QPushButton *newFolderButton;
|
|
49 |
QDialogButtonBox *buttonBox;
|
|
50 |
|
|
51 |
void setupUi(QDialog *BookmarkDialog)
|
|
52 |
{
|
|
53 |
if (BookmarkDialog->objectName().isEmpty())
|
|
54 |
BookmarkDialog->setObjectName(QString::fromUtf8("BookmarkDialog"));
|
|
55 |
BookmarkDialog->resize(450, 135);
|
|
56 |
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
|
|
57 |
sizePolicy.setHorizontalStretch(0);
|
|
58 |
sizePolicy.setVerticalStretch(0);
|
|
59 |
sizePolicy.setHeightForWidth(BookmarkDialog->sizePolicy().hasHeightForWidth());
|
|
60 |
BookmarkDialog->setSizePolicy(sizePolicy);
|
|
61 |
verticalLayout_3 = new QVBoxLayout(BookmarkDialog);
|
|
62 |
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
|
|
63 |
horizontalLayout = new QHBoxLayout();
|
|
64 |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
|
|
65 |
verticalLayout_2 = new QVBoxLayout();
|
|
66 |
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
|
|
67 |
label = new QLabel(BookmarkDialog);
|
|
68 |
label->setObjectName(QString::fromUtf8("label"));
|
|
69 |
|
|
70 |
verticalLayout_2->addWidget(label);
|
|
71 |
|
|
72 |
label_2 = new QLabel(BookmarkDialog);
|
|
73 |
label_2->setObjectName(QString::fromUtf8("label_2"));
|
|
74 |
|
|
75 |
verticalLayout_2->addWidget(label_2);
|
|
76 |
|
|
77 |
|
|
78 |
horizontalLayout->addLayout(verticalLayout_2);
|
|
79 |
|
|
80 |
verticalLayout = new QVBoxLayout();
|
|
81 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
|
82 |
bookmarkEdit = new QLineEdit(BookmarkDialog);
|
|
83 |
bookmarkEdit->setObjectName(QString::fromUtf8("bookmarkEdit"));
|
|
84 |
|
|
85 |
verticalLayout->addWidget(bookmarkEdit);
|
|
86 |
|
|
87 |
bookmarkFolders = new QComboBox(BookmarkDialog);
|
|
88 |
bookmarkFolders->setObjectName(QString::fromUtf8("bookmarkFolders"));
|
|
89 |
|
|
90 |
verticalLayout->addWidget(bookmarkFolders);
|
|
91 |
|
|
92 |
|
|
93 |
horizontalLayout->addLayout(verticalLayout);
|
|
94 |
|
|
95 |
|
|
96 |
verticalLayout_3->addLayout(horizontalLayout);
|
|
97 |
|
|
98 |
horizontalLayout_3 = new QHBoxLayout();
|
|
99 |
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
|
|
100 |
toolButton = new QToolButton(BookmarkDialog);
|
|
101 |
toolButton->setObjectName(QString::fromUtf8("toolButton"));
|
|
102 |
toolButton->setMinimumSize(QSize(25, 20));
|
|
103 |
|
|
104 |
horizontalLayout_3->addWidget(toolButton);
|
|
105 |
|
|
106 |
line = new QFrame(BookmarkDialog);
|
|
107 |
line->setObjectName(QString::fromUtf8("line"));
|
|
108 |
line->setFrameShape(QFrame::HLine);
|
|
109 |
line->setFrameShadow(QFrame::Sunken);
|
|
110 |
|
|
111 |
horizontalLayout_3->addWidget(line);
|
|
112 |
|
|
113 |
|
|
114 |
verticalLayout_3->addLayout(horizontalLayout_3);
|
|
115 |
|
|
116 |
bookmarkWidget = new BookmarkWidget(BookmarkDialog);
|
|
117 |
bookmarkWidget->setObjectName(QString::fromUtf8("bookmarkWidget"));
|
|
118 |
bookmarkWidget->setEnabled(true);
|
|
119 |
QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Ignored);
|
|
120 |
sizePolicy1.setHorizontalStretch(0);
|
|
121 |
sizePolicy1.setVerticalStretch(0);
|
|
122 |
sizePolicy1.setHeightForWidth(bookmarkWidget->sizePolicy().hasHeightForWidth());
|
|
123 |
bookmarkWidget->setSizePolicy(sizePolicy1);
|
|
124 |
|
|
125 |
verticalLayout_3->addWidget(bookmarkWidget);
|
|
126 |
|
|
127 |
horizontalLayout_4 = new QHBoxLayout();
|
|
128 |
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
|
|
129 |
newFolderButton = new QPushButton(BookmarkDialog);
|
|
130 |
newFolderButton->setObjectName(QString::fromUtf8("newFolderButton"));
|
|
131 |
|
|
132 |
horizontalLayout_4->addWidget(newFolderButton);
|
|
133 |
|
|
134 |
buttonBox = new QDialogButtonBox(BookmarkDialog);
|
|
135 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
|
136 |
buttonBox->setOrientation(Qt::Horizontal);
|
|
137 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
138 |
|
|
139 |
horizontalLayout_4->addWidget(buttonBox);
|
|
140 |
|
|
141 |
|
|
142 |
verticalLayout_3->addLayout(horizontalLayout_4);
|
|
143 |
|
|
144 |
|
|
145 |
retranslateUi(BookmarkDialog);
|
|
146 |
QObject::connect(buttonBox, SIGNAL(accepted()), BookmarkDialog, SLOT(accept()));
|
|
147 |
QObject::connect(buttonBox, SIGNAL(rejected()), BookmarkDialog, SLOT(reject()));
|
|
148 |
|
|
149 |
QMetaObject::connectSlotsByName(BookmarkDialog);
|
|
150 |
} // setupUi
|
|
151 |
|
|
152 |
void retranslateUi(QDialog *BookmarkDialog)
|
|
153 |
{
|
|
154 |
BookmarkDialog->setWindowTitle(QApplication::translate("BookmarkDialog", "Add Bookmark", 0, QApplication::UnicodeUTF8));
|
|
155 |
label->setText(QApplication::translate("BookmarkDialog", "Bookmark:", 0, QApplication::UnicodeUTF8));
|
|
156 |
label_2->setText(QApplication::translate("BookmarkDialog", "Add in Folder:", 0, QApplication::UnicodeUTF8));
|
|
157 |
toolButton->setText(QApplication::translate("BookmarkDialog", "+", 0, QApplication::UnicodeUTF8));
|
|
158 |
QTreeWidgetItem *___qtreewidgetitem = bookmarkWidget->headerItem();
|
|
159 |
___qtreewidgetitem->setText(0, QApplication::translate("BookmarkDialog", "1", 0, QApplication::UnicodeUTF8));
|
|
160 |
newFolderButton->setText(QApplication::translate("BookmarkDialog", "New Folder", 0, QApplication::UnicodeUTF8));
|
|
161 |
} // retranslateUi
|
|
162 |
|
|
163 |
};
|
|
164 |
|
|
165 |
namespace Ui {
|
|
166 |
class BookmarkDialog: public Ui_BookmarkDialog {};
|
|
167 |
} // namespace Ui
|
|
168 |
|
|
169 |
QT_END_NAMESPACE
|
|
170 |
|
|
171 |
#endif // BOOKMARKDIALOG_H
|