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