1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
|
/********************************************************************************
** Form generated from reading UI file 'bookmarkdialog.ui'
**
** Created by: Qt User Interface Compiler version 4.8.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef BOOKMARKDIALOG_H
#define BOOKMARKDIALOG_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QFrame>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#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())
BookmarkDialog->setObjectName(QString::fromUtf8("BookmarkDialog"));
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);
verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
verticalLayout_2 = new QVBoxLayout();
verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
label = new QLabel(BookmarkDialog);
label->setObjectName(QString::fromUtf8("label"));
verticalLayout_2->addWidget(label);
label_2 = new QLabel(BookmarkDialog);
label_2->setObjectName(QString::fromUtf8("label_2"));
verticalLayout_2->addWidget(label_2);
horizontalLayout->addLayout(verticalLayout_2);
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
bookmarkEdit = new QLineEdit(BookmarkDialog);
bookmarkEdit->setObjectName(QString::fromUtf8("bookmarkEdit"));
verticalLayout->addWidget(bookmarkEdit);
bookmarkFolders = new QComboBox(BookmarkDialog);
bookmarkFolders->setObjectName(QString::fromUtf8("bookmarkFolders"));
verticalLayout->addWidget(bookmarkFolders);
horizontalLayout->addLayout(verticalLayout);
verticalLayout_3->addLayout(horizontalLayout);
horizontalLayout_3 = new QHBoxLayout();
horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
toolButton = new QToolButton(BookmarkDialog);
toolButton->setObjectName(QString::fromUtf8("toolButton"));
toolButton->setMinimumSize(QSize(25, 20));
horizontalLayout_3->addWidget(toolButton);
line = new QFrame(BookmarkDialog);
line->setObjectName(QString::fromUtf8("line"));
line->setFrameShape(QFrame::HLine);
line->setFrameShadow(QFrame::Sunken);
horizontalLayout_3->addWidget(line);
verticalLayout_3->addLayout(horizontalLayout_3);
bookmarkWidget = new BookmarkWidget(BookmarkDialog);
bookmarkWidget->setObjectName(QString::fromUtf8("bookmarkWidget"));
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();
horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
newFolderButton = new QPushButton(BookmarkDialog);
newFolderButton->setObjectName(QString::fromUtf8("newFolderButton"));
horizontalLayout_4->addWidget(newFolderButton);
buttonBox = new QDialogButtonBox(BookmarkDialog);
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
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
|