0
|
1 |
/********************************************************************************
|
|
2 |
** Form generated from reading UI file 'bookwindow.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 BOOKWINDOW_H
|
|
11 |
#define BOOKWINDOW_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/QFormLayout>
|
|
19 |
#include <QtGui/QGroupBox>
|
|
20 |
#include <QtGui/QHeaderView>
|
|
21 |
#include <QtGui/QLabel>
|
|
22 |
#include <QtGui/QLineEdit>
|
|
23 |
#include <QtGui/QMainWindow>
|
|
24 |
#include <QtGui/QSpinBox>
|
|
25 |
#include <QtGui/QTableView>
|
|
26 |
#include <QtGui/QVBoxLayout>
|
|
27 |
#include <QtGui/QWidget>
|
|
28 |
|
|
29 |
QT_BEGIN_NAMESPACE
|
|
30 |
|
|
31 |
class Ui_BookWindow
|
|
32 |
{
|
|
33 |
public:
|
|
34 |
QWidget *centralWidget;
|
|
35 |
QVBoxLayout *vboxLayout;
|
|
36 |
QGroupBox *groupBox;
|
|
37 |
QVBoxLayout *vboxLayout1;
|
|
38 |
QTableView *bookTable;
|
|
39 |
QGroupBox *groupBox_2;
|
|
40 |
QFormLayout *formLayout;
|
|
41 |
QLabel *label_5;
|
|
42 |
QLineEdit *titleEdit;
|
|
43 |
QLabel *label_2_2_2_2;
|
|
44 |
QComboBox *authorEdit;
|
|
45 |
QLabel *label_3;
|
|
46 |
QComboBox *genreEdit;
|
|
47 |
QLabel *label_4;
|
|
48 |
QSpinBox *yearEdit;
|
|
49 |
QLabel *label;
|
|
50 |
QSpinBox *ratingEdit;
|
|
51 |
|
|
52 |
void setupUi(QMainWindow *BookWindow)
|
|
53 |
{
|
|
54 |
if (BookWindow->objectName().isEmpty())
|
|
55 |
BookWindow->setObjectName(QString::fromUtf8("BookWindow"));
|
|
56 |
BookWindow->resize(601, 420);
|
|
57 |
centralWidget = new QWidget(BookWindow);
|
|
58 |
centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
|
|
59 |
vboxLayout = new QVBoxLayout(centralWidget);
|
|
60 |
#ifndef Q_OS_MAC
|
|
61 |
vboxLayout->setSpacing(6);
|
|
62 |
#endif
|
|
63 |
#ifndef Q_OS_MAC
|
|
64 |
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
65 |
#endif
|
|
66 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
67 |
groupBox = new QGroupBox(centralWidget);
|
|
68 |
groupBox->setObjectName(QString::fromUtf8("groupBox"));
|
|
69 |
vboxLayout1 = new QVBoxLayout(groupBox);
|
|
70 |
#ifndef Q_OS_MAC
|
|
71 |
vboxLayout1->setSpacing(6);
|
|
72 |
#endif
|
|
73 |
#ifndef Q_OS_MAC
|
|
74 |
vboxLayout1->setContentsMargins(9, 9, 9, 9);
|
|
75 |
#endif
|
|
76 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
|
|
77 |
bookTable = new QTableView(groupBox);
|
|
78 |
bookTable->setObjectName(QString::fromUtf8("bookTable"));
|
|
79 |
bookTable->setSelectionBehavior(QAbstractItemView::SelectRows);
|
|
80 |
|
|
81 |
vboxLayout1->addWidget(bookTable);
|
|
82 |
|
|
83 |
groupBox_2 = new QGroupBox(groupBox);
|
|
84 |
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
|
|
85 |
formLayout = new QFormLayout(groupBox_2);
|
|
86 |
formLayout->setObjectName(QString::fromUtf8("formLayout"));
|
|
87 |
label_5 = new QLabel(groupBox_2);
|
|
88 |
label_5->setObjectName(QString::fromUtf8("label_5"));
|
|
89 |
|
|
90 |
formLayout->setWidget(0, QFormLayout::LabelRole, label_5);
|
|
91 |
|
|
92 |
titleEdit = new QLineEdit(groupBox_2);
|
|
93 |
titleEdit->setObjectName(QString::fromUtf8("titleEdit"));
|
|
94 |
titleEdit->setEnabled(true);
|
|
95 |
|
|
96 |
formLayout->setWidget(0, QFormLayout::FieldRole, titleEdit);
|
|
97 |
|
|
98 |
label_2_2_2_2 = new QLabel(groupBox_2);
|
|
99 |
label_2_2_2_2->setObjectName(QString::fromUtf8("label_2_2_2_2"));
|
|
100 |
|
|
101 |
formLayout->setWidget(1, QFormLayout::LabelRole, label_2_2_2_2);
|
|
102 |
|
|
103 |
authorEdit = new QComboBox(groupBox_2);
|
|
104 |
authorEdit->setObjectName(QString::fromUtf8("authorEdit"));
|
|
105 |
authorEdit->setEnabled(true);
|
|
106 |
|
|
107 |
formLayout->setWidget(1, QFormLayout::FieldRole, authorEdit);
|
|
108 |
|
|
109 |
label_3 = new QLabel(groupBox_2);
|
|
110 |
label_3->setObjectName(QString::fromUtf8("label_3"));
|
|
111 |
|
|
112 |
formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
|
|
113 |
|
|
114 |
genreEdit = new QComboBox(groupBox_2);
|
|
115 |
genreEdit->setObjectName(QString::fromUtf8("genreEdit"));
|
|
116 |
genreEdit->setEnabled(true);
|
|
117 |
|
|
118 |
formLayout->setWidget(2, QFormLayout::FieldRole, genreEdit);
|
|
119 |
|
|
120 |
label_4 = new QLabel(groupBox_2);
|
|
121 |
label_4->setObjectName(QString::fromUtf8("label_4"));
|
|
122 |
|
|
123 |
formLayout->setWidget(3, QFormLayout::LabelRole, label_4);
|
|
124 |
|
|
125 |
yearEdit = new QSpinBox(groupBox_2);
|
|
126 |
yearEdit->setObjectName(QString::fromUtf8("yearEdit"));
|
|
127 |
yearEdit->setEnabled(true);
|
|
128 |
yearEdit->setMaximum(2100);
|
|
129 |
yearEdit->setMinimum(-1000);
|
|
130 |
|
|
131 |
formLayout->setWidget(3, QFormLayout::FieldRole, yearEdit);
|
|
132 |
|
|
133 |
label = new QLabel(groupBox_2);
|
|
134 |
label->setObjectName(QString::fromUtf8("label"));
|
|
135 |
|
|
136 |
formLayout->setWidget(4, QFormLayout::LabelRole, label);
|
|
137 |
|
|
138 |
ratingEdit = new QSpinBox(groupBox_2);
|
|
139 |
ratingEdit->setObjectName(QString::fromUtf8("ratingEdit"));
|
|
140 |
ratingEdit->setMaximum(5);
|
|
141 |
|
|
142 |
formLayout->setWidget(4, QFormLayout::FieldRole, ratingEdit);
|
|
143 |
|
|
144 |
|
|
145 |
vboxLayout1->addWidget(groupBox_2);
|
|
146 |
|
|
147 |
|
|
148 |
vboxLayout->addWidget(groupBox);
|
|
149 |
|
|
150 |
BookWindow->setCentralWidget(centralWidget);
|
|
151 |
QWidget::setTabOrder(bookTable, titleEdit);
|
|
152 |
QWidget::setTabOrder(titleEdit, authorEdit);
|
|
153 |
QWidget::setTabOrder(authorEdit, genreEdit);
|
|
154 |
QWidget::setTabOrder(genreEdit, yearEdit);
|
|
155 |
|
|
156 |
retranslateUi(BookWindow);
|
|
157 |
|
|
158 |
QMetaObject::connectSlotsByName(BookWindow);
|
|
159 |
} // setupUi
|
|
160 |
|
|
161 |
void retranslateUi(QMainWindow *BookWindow)
|
|
162 |
{
|
|
163 |
BookWindow->setWindowTitle(QApplication::translate("BookWindow", "Books", 0, QApplication::UnicodeUTF8));
|
|
164 |
groupBox->setTitle(QApplication::translate("BookWindow", "Books", 0, QApplication::UnicodeUTF8));
|
|
165 |
groupBox_2->setTitle(QApplication::translate("BookWindow", "Details", 0, QApplication::UnicodeUTF8));
|
|
166 |
label_5->setText(QApplication::translate("BookWindow", "<b>Title:</b>", 0, QApplication::UnicodeUTF8));
|
|
167 |
label_2_2_2_2->setText(QApplication::translate("BookWindow", "<b>Author: </b>", 0, QApplication::UnicodeUTF8));
|
|
168 |
label_3->setText(QApplication::translate("BookWindow", "<b>Genre:</b>", 0, QApplication::UnicodeUTF8));
|
|
169 |
label_4->setText(QApplication::translate("BookWindow", "<b>Year:</b>", 0, QApplication::UnicodeUTF8));
|
|
170 |
yearEdit->setPrefix(QString());
|
|
171 |
label->setText(QApplication::translate("BookWindow", "<b>Rating:</b>", 0, QApplication::UnicodeUTF8));
|
|
172 |
} // retranslateUi
|
|
173 |
|
|
174 |
};
|
|
175 |
|
|
176 |
namespace Ui {
|
|
177 |
class BookWindow: public Ui_BookWindow {};
|
|
178 |
} // namespace Ui
|
|
179 |
|
|
180 |
QT_END_NAMESPACE
|
|
181 |
|
|
182 |
#endif // BOOKWINDOW_H
|