1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'bookwindow.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
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(str: "BookWindow" )); |
53 | BookWindow->resize(w: 601, h: 420); |
54 | centralWidget = new QWidget(BookWindow); |
55 | centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); |
56 | vboxLayout = new QVBoxLayout(centralWidget); |
57 | vboxLayout->setSpacing(6); |
58 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
59 | vboxLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
60 | groupBox = new QGroupBox(centralWidget); |
61 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
62 | vboxLayout1 = new QVBoxLayout(groupBox); |
63 | vboxLayout1->setSpacing(6); |
64 | vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1" )); |
65 | vboxLayout1->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
66 | bookTable = new QTableView(groupBox); |
67 | bookTable->setObjectName(QString::fromUtf8(str: "bookTable" )); |
68 | bookTable->setSelectionBehavior(QAbstractItemView::SelectRows); |
69 | |
70 | vboxLayout1->addWidget(bookTable); |
71 | |
72 | groupBox_2 = new QGroupBox(groupBox); |
73 | groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2" )); |
74 | formLayout = new QFormLayout(groupBox_2); |
75 | formLayout->setObjectName(QString::fromUtf8(str: "formLayout" )); |
76 | label_5 = new QLabel(groupBox_2); |
77 | label_5->setObjectName(QString::fromUtf8(str: "label_5" )); |
78 | |
79 | formLayout->setWidget(row: 0, role: QFormLayout::LabelRole, widget: label_5); |
80 | |
81 | titleEdit = new QLineEdit(groupBox_2); |
82 | titleEdit->setObjectName(QString::fromUtf8(str: "titleEdit" )); |
83 | titleEdit->setEnabled(true); |
84 | |
85 | formLayout->setWidget(row: 0, role: QFormLayout::FieldRole, widget: titleEdit); |
86 | |
87 | label_2 = new QLabel(groupBox_2); |
88 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
89 | |
90 | formLayout->setWidget(row: 1, role: QFormLayout::LabelRole, widget: label_2); |
91 | |
92 | authorEdit = new QComboBox(groupBox_2); |
93 | authorEdit->setObjectName(QString::fromUtf8(str: "authorEdit" )); |
94 | authorEdit->setEnabled(true); |
95 | |
96 | formLayout->setWidget(row: 1, role: QFormLayout::FieldRole, widget: authorEdit); |
97 | |
98 | label_3 = new QLabel(groupBox_2); |
99 | label_3->setObjectName(QString::fromUtf8(str: "label_3" )); |
100 | |
101 | formLayout->setWidget(row: 2, role: QFormLayout::LabelRole, widget: label_3); |
102 | |
103 | genreEdit = new QComboBox(groupBox_2); |
104 | genreEdit->setObjectName(QString::fromUtf8(str: "genreEdit" )); |
105 | genreEdit->setEnabled(true); |
106 | |
107 | formLayout->setWidget(row: 2, role: QFormLayout::FieldRole, widget: genreEdit); |
108 | |
109 | label_4 = new QLabel(groupBox_2); |
110 | label_4->setObjectName(QString::fromUtf8(str: "label_4" )); |
111 | |
112 | formLayout->setWidget(row: 3, role: QFormLayout::LabelRole, widget: label_4); |
113 | |
114 | yearEdit = new QSpinBox(groupBox_2); |
115 | yearEdit->setObjectName(QString::fromUtf8(str: "yearEdit" )); |
116 | yearEdit->setEnabled(true); |
117 | yearEdit->setMinimum(-1000); |
118 | yearEdit->setMaximum(2100); |
119 | |
120 | formLayout->setWidget(row: 3, role: QFormLayout::FieldRole, widget: yearEdit); |
121 | |
122 | label = new QLabel(groupBox_2); |
123 | label->setObjectName(QString::fromUtf8(str: "label" )); |
124 | |
125 | formLayout->setWidget(row: 4, role: QFormLayout::LabelRole, widget: label); |
126 | |
127 | ratingEdit = new QSpinBox(groupBox_2); |
128 | ratingEdit->setObjectName(QString::fromUtf8(str: "ratingEdit" )); |
129 | ratingEdit->setMaximum(5); |
130 | |
131 | formLayout->setWidget(row: 4, role: QFormLayout::FieldRole, widget: 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(o: BookWindow); |
148 | } // setupUi |
149 | |
150 | void retranslateUi(QMainWindow *BookWindow) |
151 | { |
152 | BookWindow->setWindowTitle(QCoreApplication::translate(context: "BookWindow" , key: "Books" , disambiguation: nullptr)); |
153 | groupBox->setTitle(QString()); |
154 | groupBox_2->setTitle(QCoreApplication::translate(context: "BookWindow" , key: "Details" , disambiguation: nullptr)); |
155 | label_5->setText(QCoreApplication::translate(context: "BookWindow" , key: "<b>Title:</b>" , disambiguation: nullptr)); |
156 | label_2->setText(QCoreApplication::translate(context: "BookWindow" , key: "<b>Author: </b>" , disambiguation: nullptr)); |
157 | label_3->setText(QCoreApplication::translate(context: "BookWindow" , key: "<b>Genre:</b>" , disambiguation: nullptr)); |
158 | label_4->setText(QCoreApplication::translate(context: "BookWindow" , key: "<b>Year:</b>" , disambiguation: nullptr)); |
159 | yearEdit->setPrefix(QString()); |
160 | label->setText(QCoreApplication::translate(context: "BookWindow" , key: "<b>Rating:</b>" , disambiguation: 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 | |