/******************************************************************************** ** Form generated from reading UI file 'mainwindow.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_MAINWINDOW_H #define UI_MAINWINDOW_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include QT_BEGIN_NAMESPACE class Ui_MainWindow { public: QWidget *centralWidget; QGridLayout *gridLayout_2; QTableView *tableView; QHBoxLayout *horizontalLayout_2; QPushButton *addButton; QPushButton *deleteButton; QPushButton *editButton; QSpacerItem *horizontalSpacer; QPushButton *exitButton; QSpacerItem *verticalSpacer_4; QSpacerItem *horizontalSpacer_7; QSpacerItem *verticalSpacer_2; QSpacerItem *horizontalSpacer_2; QSpacerItem *verticalSpacer_3; QStatusBar *statusBar; void setupUi(QMainWindow *MainWindow) { if (MainWindow->objectName().isEmpty()) MainWindow->setObjectName(QString::fromUtf8("MainWindow")); MainWindow->resize(800, 600); QIcon icon; icon.addFile(QString::fromUtf8(":/Icons/apunts.png"), QSize(), QIcon::Normal, QIcon::Off); MainWindow->setWindowIcon(icon); centralWidget = new QWidget(MainWindow); centralWidget->setObjectName(QString::fromUtf8("centralWidget")); gridLayout_2 = new QGridLayout(centralWidget); gridLayout_2->setSpacing(6); gridLayout_2->setContentsMargins(11, 11, 11, 11); gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); tableView = new QTableView(centralWidget); tableView->setObjectName(QString::fromUtf8("tableView")); tableView->setLocale(QLocale(QLocale::Spanish, QLocale::Spain)); tableView->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); tableView->setEditTriggers(QAbstractItemView::NoEditTriggers); tableView->setAlternatingRowColors(true); tableView->setSelectionMode(QAbstractItemView::MultiSelection); tableView->setSelectionBehavior(QAbstractItemView::SelectRows); tableView->setShowGrid(true); tableView->setGridStyle(Qt::SolidLine); tableView->setSortingEnabled(true); tableView->setCornerButtonEnabled(false); tableView->horizontalHeader()->setStretchLastSection(true); tableView->verticalHeader()->setVisible(false); tableView->verticalHeader()->setStretchLastSection(false); gridLayout_2->addWidget(tableView, 2, 1, 1, 1); horizontalLayout_2 = new QHBoxLayout(); horizontalLayout_2->setSpacing(6); horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); addButton = new QPushButton(centralWidget); addButton->setObjectName(QString::fromUtf8("addButton")); QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); sizePolicy.setHorizontalStretch(0); sizePolicy.setVerticalStretch(0); sizePolicy.setHeightForWidth(addButton->sizePolicy().hasHeightForWidth()); addButton->setSizePolicy(sizePolicy); addButton->setMinimumSize(QSize(32, 32)); addButton->setMaximumSize(QSize(32, 32)); QIcon icon1; QString iconThemeName = QString::fromUtf8("add"); if (QIcon::hasThemeIcon(iconThemeName)) { icon1 = QIcon::fromTheme(iconThemeName); } else { icon1.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off); } addButton->setIcon(icon1); addButton->setIconSize(QSize(32, 32)); horizontalLayout_2->addWidget(addButton); deleteButton = new QPushButton(centralWidget); deleteButton->setObjectName(QString::fromUtf8("deleteButton")); sizePolicy.setHeightForWidth(deleteButton->sizePolicy().hasHeightForWidth()); deleteButton->setSizePolicy(sizePolicy); deleteButton->setMinimumSize(QSize(32, 32)); deleteButton->setMaximumSize(QSize(32, 32)); QIcon icon2; iconThemeName = QString::fromUtf8("edit-delete"); if (QIcon::hasThemeIcon(iconThemeName)) { icon2 = QIcon::fromTheme(iconThemeName); } else { icon2.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off); } deleteButton->setIcon(icon2); horizontalLayout_2->addWidget(deleteButton); editButton = new QPushButton(centralWidget); editButton->setObjectName(QString::fromUtf8("editButton")); sizePolicy.setHeightForWidth(editButton->sizePolicy().hasHeightForWidth()); editButton->setSizePolicy(sizePolicy); editButton->setMinimumSize(QSize(32, 32)); editButton->setMaximumSize(QSize(32, 32)); QIcon icon3; iconThemeName = QString::fromUtf8("text-editor"); if (QIcon::hasThemeIcon(iconThemeName)) { icon3 = QIcon::fromTheme(iconThemeName); } else { icon3.addFile(QString::fromUtf8(""), QSize(), QIcon::Normal, QIcon::Off); } editButton->setIcon(icon3); horizontalLayout_2->addWidget(editButton); horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); horizontalLayout_2->addItem(horizontalSpacer); exitButton = new QPushButton(centralWidget); exitButton->setObjectName(QString::fromUtf8("exitButton")); horizontalLayout_2->addWidget(exitButton); gridLayout_2->addLayout(horizontalLayout_2, 4, 1, 1, 1); verticalSpacer_4 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout_2->addItem(verticalSpacer_4, 5, 1, 1, 1); horizontalSpacer_7 = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout_2->addItem(horizontalSpacer_7, 2, 0, 1, 1); verticalSpacer_2 = new QSpacerItem(20, 15, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout_2->addItem(verticalSpacer_2, 3, 1, 1, 1); horizontalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout_2->addItem(horizontalSpacer_2, 2, 2, 1, 1); verticalSpacer_3 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Minimum); gridLayout_2->addItem(verticalSpacer_3, 0, 1, 1, 1); MainWindow->setCentralWidget(centralWidget); statusBar = new QStatusBar(MainWindow); statusBar->setObjectName(QString::fromUtf8("statusBar")); MainWindow->setStatusBar(statusBar); retranslateUi(MainWindow); QMetaObject::connectSlotsByName(MainWindow); } // setupUi void retranslateUi(QMainWindow *MainWindow) { MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Aplicaci\303\263 Apunts", 0, QApplication::UnicodeUTF8)); #ifndef QT_NO_TOOLTIP addButton->setToolTip(QApplication::translate("MainWindow", "Afegeix pr\303\251stec", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP addButton->setText(QString()); #ifndef QT_NO_TOOLTIP deleteButton->setToolTip(QApplication::translate("MainWindow", "Esborra pr\303\251stec", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP deleteButton->setText(QString()); #ifndef QT_NO_TOOLTIP editButton->setToolTip(QApplication::translate("MainWindow", "Edita pr\303\251stec", 0, QApplication::UnicodeUTF8)); #endif // QT_NO_TOOLTIP editButton->setText(QString()); exitButton->setText(QApplication::translate("MainWindow", "Sortir", 0, QApplication::UnicodeUTF8)); } // retranslateUi }; namespace Ui { class MainWindow: public Ui_MainWindow {}; } // namespace Ui QT_END_NAMESPACE #endif // UI_MAINWINDOW_H