/******************************************************************************** ** Form generated from reading UI file 'adddialog.ui' ** ** Created: Mon Nov 4 07:59:39 2013 ** by: Qt User Interface Compiler version 4.8.4 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! ********************************************************************************/ #ifndef UI_ADDDIALOG_H #define UI_ADDDIALOG_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class Ui_AddDialog { public: QGridLayout *gridLayout; QSpacerItem *horizontalSpacer; QVBoxLayout *verticalLayout; QLabel *nameLabel; QLineEdit *nameLineEdit; QLabel *phoneLabel; QLineEdit *phoneLineEdit; QLabel *commentLabel; CustomTextEdit *commentTextEdit; QLabel *assignaturesLabel; QTableView *assignaturesTableView; QSpacerItem *horizontalSpacer_2; QSpacerItem *verticalSpacer_2; QDialogButtonBox *buttonBox; QSpacerItem *verticalSpacer; void setupUi(QDialog *AddDialog) { if (AddDialog->objectName().isEmpty()) AddDialog->setObjectName(QString::fromUtf8("AddDialog")); AddDialog->resize(280, 500); gridLayout = new QGridLayout(AddDialog); gridLayout->setObjectName(QString::fromUtf8("gridLayout")); horizontalSpacer = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout->addItem(horizontalSpacer, 1, 0, 1, 1); verticalLayout = new QVBoxLayout(); verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); nameLabel = new QLabel(AddDialog); nameLabel->setObjectName(QString::fromUtf8("nameLabel")); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(nameLabel->sizePolicy().hasHeightForWidth()); nameLabel->setSizePolicy(sizePolicy); verticalLayout->addWidget(nameLabel); nameLineEdit = new QLineEdit(AddDialog); nameLineEdit->setObjectName(QString::fromUtf8("nameLineEdit")); verticalLayout->addWidget(nameLineEdit); phoneLabel = new QLabel(AddDialog); phoneLabel->setObjectName(QString::fromUtf8("phoneLabel")); sizePolicy.setHeightForWidth(phoneLabel->sizePolicy().hasHeightForWidth()); phoneLabel->setSizePolicy(sizePolicy); verticalLayout->addWidget(phoneLabel); phoneLineEdit = new QLineEdit(AddDialog); phoneLineEdit->setObjectName(QString::fromUtf8("phoneLineEdit")); verticalLayout->addWidget(phoneLineEdit); commentLabel = new QLabel(AddDialog); commentLabel->setObjectName(QString::fromUtf8("commentLabel")); verticalLayout->addWidget(commentLabel); commentTextEdit = new CustomTextEdit(AddDialog); commentTextEdit->setObjectName(QString::fromUtf8("commentTextEdit")); QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Maximum); sizePolicy1.setHorizontalStretch(0); sizePolicy1.setVerticalStretch(0); sizePolicy1.setHeightForWidth(commentTextEdit->sizePolicy().hasHeightForWidth()); commentTextEdit->setSizePolicy(sizePolicy1); commentTextEdit->setMaximumSize(QSize(16777215, 100)); verticalLayout->addWidget(commentTextEdit); assignaturesLabel = new QLabel(AddDialog); assignaturesLabel->setObjectName(QString::fromUtf8("assignaturesLabel")); sizePolicy.setHeightForWidth(assignaturesLabel->sizePolicy().hasHeightForWidth()); assignaturesLabel->setSizePolicy(sizePolicy); verticalLayout->addWidget(assignaturesLabel); assignaturesTableView = new QTableView(AddDialog); assignaturesTableView->setObjectName(QString::fromUtf8("assignaturesTableView")); assignaturesTableView->setEditTriggers(QAbstractItemView::NoEditTriggers); assignaturesTableView->setAlternatingRowColors(true); assignaturesTableView->setSelectionMode(QAbstractItemView::MultiSelection); assignaturesTableView->setSelectionBehavior(QAbstractItemView::SelectRows); assignaturesTableView->setSortingEnabled(true); assignaturesTableView->setCornerButtonEnabled(false); assignaturesTableView->horizontalHeader()->setStretchLastSection(true); assignaturesTableView->verticalHeader()->setVisible(false); verticalLayout->addWidget(assignaturesTableView); gridLayout->addLayout(verticalLayout, 1, 1, 1, 1); horizontalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout->addItem(horizontalSpacer_2, 1, 2, 1, 1); verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout->addItem(verticalSpacer_2, 2, 1, 1, 1); buttonBox = new QDialogButtonBox(AddDialog); buttonBox->setObjectName(QString::fromUtf8("buttonBox")); buttonBox->setOrientation(Qt::Horizontal); buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); gridLayout->addWidget(buttonBox, 3, 1, 1, 1); verticalSpacer = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout->addItem(verticalSpacer, 0, 1, 1, 1); retranslateUi(AddDialog); QMetaObject::connectSlotsByName(AddDialog); } // setupUi void retranslateUi(QDialog *AddDialog) { AddDialog->setWindowTitle(QApplication::translate("AddDialog", "Afegir pr\303\251stec...", 0, QApplication::UnicodeUTF8)); nameLabel->setText(QApplication::translate("AddDialog", "Nom i cognoms", 0, QApplication::UnicodeUTF8)); phoneLabel->setText(QApplication::translate("AddDialog", "Tel\303\250fon", 0, QApplication::UnicodeUTF8)); commentLabel->setText(QApplication::translate("AddDialog", "Comentari (M\303\240x 140 car\303\240cters)", 0, QApplication::UnicodeUTF8)); assignaturesLabel->setText(QApplication::translate("AddDialog", "Assignatures", 0, QApplication::UnicodeUTF8)); } // retranslateUi }; namespace Ui { class AddDialog: public Ui_AddDialog {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_ADDDIALOG_H