2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'bookwindow.ui'
|
|
|
|
**
|
|
|
|
** Created: Fri Sep 4 10:17:12 2009
|
|
|
|
** by: Qt User Interface Compiler version 4.6.0
|
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef BOOKWINDOW_H
|
|
|
|
#define BOOKWINDOW_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QComboBox>
|
|
|
|
#include <QtWidgets/QFormLayout>
|
|
|
|
#include <QtWidgets/QGroupBox>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
#include <QtWidgets/QMainWindow>
|
|
|
|
#include <QtWidgets/QSpinBox>
|
|
|
|
#include <QtWidgets/QTableView>
|
|
|
|
#include <QtWidgets/QVBoxLayout>
|
|
|
|
#include <QtWidgets/QWidget>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_BookWindow
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QWidget *centralWidget;
|
|
|
|
QVBoxLayout *vboxLayout;
|
|
|
|
QGroupBox *groupBox;
|
|
|
|
QVBoxLayout *vboxLayout1;
|
|
|
|
QTableView *bookTable;
|
|
|
|
QGroupBox *groupBox_2;
|
|
|
|
QFormLayout *formLayout;
|
|
|
|
QLabel *label_5;
|
|
|
|
QLineEdit *titleEdit;
|
|
|
|
QLabel *label_2_2_2_2;
|
|
|
|
QComboBox *authorEdit;
|
|
|
|
QLabel *label_3;
|
|
|
|
QComboBox *genreEdit;
|
|
|
|
QLabel *label_4;
|
|
|
|
QSpinBox *yearEdit;
|
|
|
|
QLabel *label;
|
|
|
|
QSpinBox *ratingEdit;
|
|
|
|
|
|
|
|
void setupUi(QMainWindow *BookWindow)
|
|
|
|
{
|
|
|
|
if (BookWindow->objectName().isEmpty())
|
2011-12-11 15:55:01 +00:00
|
|
|
BookWindow->setObjectName(QStringLiteral("BookWindow"));
|
2011-04-27 10:05:43 +00:00
|
|
|
BookWindow->resize(601, 420);
|
|
|
|
centralWidget = new QWidget(BookWindow);
|
2011-12-11 15:55:01 +00:00
|
|
|
centralWidget->setObjectName(QStringLiteral("centralWidget"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout = new QVBoxLayout(centralWidget);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
groupBox = new QGroupBox(centralWidget);
|
2011-12-11 15:55:01 +00:00
|
|
|
groupBox->setObjectName(QStringLiteral("groupBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
vboxLayout1 = new QVBoxLayout(groupBox);
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setSpacing(6);
|
|
|
|
#endif
|
|
|
|
#ifndef Q_OS_MAC
|
|
|
|
vboxLayout1->setContentsMargins(9, 9, 9, 9);
|
|
|
|
#endif
|
2011-12-11 15:55:01 +00:00
|
|
|
vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
|
2011-04-27 10:05:43 +00:00
|
|
|
bookTable = new QTableView(groupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
bookTable->setObjectName(QStringLiteral("bookTable"));
|
2011-04-27 10:05:43 +00:00
|
|
|
bookTable->setSelectionBehavior(QAbstractItemView::SelectRows);
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(bookTable);
|
|
|
|
|
|
|
|
groupBox_2 = new QGroupBox(groupBox);
|
2011-12-11 15:55:01 +00:00
|
|
|
groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
formLayout = new QFormLayout(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
formLayout->setObjectName(QStringLiteral("formLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
label_5 = new QLabel(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_5->setObjectName(QStringLiteral("label_5"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(0, QFormLayout::LabelRole, label_5);
|
|
|
|
|
|
|
|
titleEdit = new QLineEdit(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
titleEdit->setObjectName(QStringLiteral("titleEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
titleEdit->setEnabled(true);
|
|
|
|
|
|
|
|
formLayout->setWidget(0, QFormLayout::FieldRole, titleEdit);
|
|
|
|
|
|
|
|
label_2_2_2_2 = new QLabel(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_2_2_2_2->setObjectName(QStringLiteral("label_2_2_2_2"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(1, QFormLayout::LabelRole, label_2_2_2_2);
|
|
|
|
|
|
|
|
authorEdit = new QComboBox(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
authorEdit->setObjectName(QStringLiteral("authorEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
authorEdit->setEnabled(true);
|
|
|
|
|
|
|
|
formLayout->setWidget(1, QFormLayout::FieldRole, authorEdit);
|
|
|
|
|
|
|
|
label_3 = new QLabel(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_3->setObjectName(QStringLiteral("label_3"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(2, QFormLayout::LabelRole, label_3);
|
|
|
|
|
|
|
|
genreEdit = new QComboBox(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
genreEdit->setObjectName(QStringLiteral("genreEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
genreEdit->setEnabled(true);
|
|
|
|
|
|
|
|
formLayout->setWidget(2, QFormLayout::FieldRole, genreEdit);
|
|
|
|
|
|
|
|
label_4 = new QLabel(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
label_4->setObjectName(QStringLiteral("label_4"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(3, QFormLayout::LabelRole, label_4);
|
|
|
|
|
|
|
|
yearEdit = new QSpinBox(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
yearEdit->setObjectName(QStringLiteral("yearEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
yearEdit->setEnabled(true);
|
|
|
|
yearEdit->setMaximum(2100);
|
|
|
|
yearEdit->setMinimum(-1000);
|
|
|
|
|
|
|
|
formLayout->setWidget(3, QFormLayout::FieldRole, yearEdit);
|
|
|
|
|
|
|
|
label = new QLabel(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
formLayout->setWidget(4, QFormLayout::LabelRole, label);
|
|
|
|
|
|
|
|
ratingEdit = new QSpinBox(groupBox_2);
|
2011-12-11 15:55:01 +00:00
|
|
|
ratingEdit->setObjectName(QStringLiteral("ratingEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
ratingEdit->setMaximum(5);
|
|
|
|
|
|
|
|
formLayout->setWidget(4, QFormLayout::FieldRole, ratingEdit);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout1->addWidget(groupBox_2);
|
|
|
|
|
|
|
|
|
|
|
|
vboxLayout->addWidget(groupBox);
|
|
|
|
|
|
|
|
BookWindow->setCentralWidget(centralWidget);
|
|
|
|
QWidget::setTabOrder(bookTable, titleEdit);
|
|
|
|
QWidget::setTabOrder(titleEdit, authorEdit);
|
|
|
|
QWidget::setTabOrder(authorEdit, genreEdit);
|
|
|
|
QWidget::setTabOrder(genreEdit, yearEdit);
|
|
|
|
|
|
|
|
retranslateUi(BookWindow);
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(BookWindow);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QMainWindow *BookWindow)
|
|
|
|
{
|
|
|
|
BookWindow->setWindowTitle(QApplication::translate("BookWindow", "Books", 0, QApplication::UnicodeUTF8));
|
|
|
|
groupBox->setTitle(QApplication::translate("BookWindow", "Books", 0, QApplication::UnicodeUTF8));
|
|
|
|
groupBox_2->setTitle(QApplication::translate("BookWindow", "Details", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_5->setText(QApplication::translate("BookWindow", "<b>Title:</b>", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_2_2_2_2->setText(QApplication::translate("BookWindow", "<b>Author: </b>", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_3->setText(QApplication::translate("BookWindow", "<b>Genre:</b>", 0, QApplication::UnicodeUTF8));
|
|
|
|
label_4->setText(QApplication::translate("BookWindow", "<b>Year:</b>", 0, QApplication::UnicodeUTF8));
|
|
|
|
yearEdit->setPrefix(QString());
|
|
|
|
label->setText(QApplication::translate("BookWindow", "<b>Rating:</b>", 0, QApplication::UnicodeUTF8));
|
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BookWindow: public Ui_BookWindow {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // BOOKWINDOW_H
|