| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'bookwindow.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef BOOKWINDOW_H |
| 10 |
#define 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_2_2_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 |
#ifndef Q_OS_MAC |
| 58 |
vboxLayout->setSpacing(6); |
| 59 |
#endif |
| 60 |
#ifndef Q_OS_MAC |
| 61 |
vboxLayout->setContentsMargins(9, 9, 9, 9); |
| 62 |
#endif |
| 63 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 64 |
groupBox = new QGroupBox(centralWidget); |
| 65 |
groupBox->setObjectName(QString::fromUtf8("groupBox")); |
| 66 |
vboxLayout1 = new QVBoxLayout(groupBox); |
| 67 |
#ifndef Q_OS_MAC |
| 68 |
vboxLayout1->setSpacing(6); |
| 69 |
#endif |
| 70 |
#ifndef Q_OS_MAC |
| 71 |
vboxLayout1->setContentsMargins(9, 9, 9, 9); |
| 72 |
#endif |
| 73 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
| 74 |
bookTable = new QTableView(groupBox); |
| 75 |
bookTable->setObjectName(QString::fromUtf8("bookTable")); |
| 76 |
bookTable->setSelectionBehavior(QAbstractItemView::SelectRows); |
| 77 |
|
| 78 |
vboxLayout1->addWidget(bookTable); |
| 79 |
|
| 80 |
groupBox_2 = new QGroupBox(groupBox); |
| 81 |
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
| 82 |
formLayout = new QFormLayout(groupBox_2); |
| 83 |
formLayout->setObjectName(QString::fromUtf8("formLayout")); |
| 84 |
label_5 = new QLabel(groupBox_2); |
| 85 |
label_5->setObjectName(QString::fromUtf8("label_5")); |
| 86 |
|
| 87 |
formLayout->setWidget(0, QFormLayout::LabelRole, label_5); |
| 88 |
|
| 89 |
titleEdit = new QLineEdit(groupBox_2); |
| 90 |
titleEdit->setObjectName(QString::fromUtf8("titleEdit")); |
| 91 |
titleEdit->setEnabled(true); |
| 92 |
|
| 93 |
formLayout->setWidget(0, QFormLayout::FieldRole, titleEdit); |
| 94 |
|
| 95 |
label_2_2_2_2 = new QLabel(groupBox_2); |
| 96 |
label_2_2_2_2->setObjectName(QString::fromUtf8("label_2_2_2_2")); |
| 97 |
|
| 98 |
formLayout->setWidget(1, QFormLayout::LabelRole, label_2_2_2_2); |
| 99 |
|
| 100 |
authorEdit = new QComboBox(groupBox_2); |
| 101 |
authorEdit->setObjectName(QString::fromUtf8("authorEdit")); |
| 102 |
authorEdit->setEnabled(true); |
| 103 |
|
| 104 |
formLayout->setWidget(1, QFormLayout::FieldRole, authorEdit); |
| 105 |
|
| 106 |
label_3 = new QLabel(groupBox_2); |
| 107 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 108 |
|
| 109 |
formLayout->setWidget(2, QFormLayout::LabelRole, label_3); |
| 110 |
|
| 111 |
genreEdit = new QComboBox(groupBox_2); |
| 112 |
genreEdit->setObjectName(QString::fromUtf8("genreEdit")); |
| 113 |
genreEdit->setEnabled(true); |
| 114 |
|
| 115 |
formLayout->setWidget(2, QFormLayout::FieldRole, genreEdit); |
| 116 |
|
| 117 |
label_4 = new QLabel(groupBox_2); |
| 118 |
label_4->setObjectName(QString::fromUtf8("label_4")); |
| 119 |
|
| 120 |
formLayout->setWidget(3, QFormLayout::LabelRole, label_4); |
| 121 |
|
| 122 |
yearEdit = new QSpinBox(groupBox_2); |
| 123 |
yearEdit->setObjectName(QString::fromUtf8("yearEdit")); |
| 124 |
yearEdit->setEnabled(true); |
| 125 |
yearEdit->setMaximum(2100); |
| 126 |
yearEdit->setMinimum(-1000); |
| 127 |
|
| 128 |
formLayout->setWidget(3, QFormLayout::FieldRole, yearEdit); |
| 129 |
|
| 130 |
label = new QLabel(groupBox_2); |
| 131 |
label->setObjectName(QString::fromUtf8("label")); |
| 132 |
|
| 133 |
formLayout->setWidget(4, QFormLayout::LabelRole, label); |
| 134 |
|
| 135 |
ratingEdit = new QSpinBox(groupBox_2); |
| 136 |
ratingEdit->setObjectName(QString::fromUtf8("ratingEdit")); |
| 137 |
ratingEdit->setMaximum(5); |
| 138 |
|
| 139 |
formLayout->setWidget(4, QFormLayout::FieldRole, ratingEdit); |
| 140 |
|
| 141 |
|
| 142 |
vboxLayout1->addWidget(groupBox_2); |
| 143 |
|
| 144 |
|
| 145 |
vboxLayout->addWidget(groupBox); |
| 146 |
|
| 147 |
BookWindow->setCentralWidget(centralWidget); |
| 148 |
QWidget::setTabOrder(bookTable, titleEdit); |
| 149 |
QWidget::setTabOrder(titleEdit, authorEdit); |
| 150 |
QWidget::setTabOrder(authorEdit, genreEdit); |
| 151 |
QWidget::setTabOrder(genreEdit, yearEdit); |
| 152 |
|
| 153 |
retranslateUi(BookWindow); |
| 154 |
|
| 155 |
QMetaObject::connectSlotsByName(BookWindow); |
| 156 |
} // setupUi |
| 157 |
|
| 158 |
void retranslateUi(QMainWindow *BookWindow) |
| 159 |
{ |
| 160 |
BookWindow->setWindowTitle(QCoreApplication::translate("BookWindow", "Books", nullptr)); |
| 161 |
groupBox->setTitle(QCoreApplication::translate("BookWindow", "Books", nullptr)); |
| 162 |
groupBox_2->setTitle(QCoreApplication::translate("BookWindow", "Details", nullptr)); |
| 163 |
label_5->setText(QCoreApplication::translate("BookWindow", "<b>Title:</b>", nullptr)); |
| 164 |
label_2_2_2_2->setText(QCoreApplication::translate("BookWindow", "<b>Author: </b>", nullptr)); |
| 165 |
label_3->setText(QCoreApplication::translate("BookWindow", "<b>Genre:</b>", nullptr)); |
| 166 |
label_4->setText(QCoreApplication::translate("BookWindow", "<b>Year:</b>", nullptr)); |
| 167 |
yearEdit->setPrefix(QString()); |
| 168 |
label->setText(QCoreApplication::translate("BookWindow", "<b>Rating:</b>", nullptr)); |
| 169 |
} // retranslateUi |
| 170 |
|
| 171 |
}; |
| 172 |
|
| 173 |
namespace Ui { |
| 174 |
class BookWindow: public Ui_BookWindow {}; |
| 175 |
} // namespace Ui |
| 176 |
|
| 177 |
QT_END_NAMESPACE |
| 178 |
|
| 179 |
#endif // BOOKWINDOW_H |