Organize source files into src subdirectories (gui/forms, gui/widgets, models, utils); replace magic numbers with ElementType enumeration in formproduct.cpp and formbudget.cpp (TODO completed); move mainwindow and related files to src/gui/
This commit is contained in:
+104
@@ -0,0 +1,104 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'mainwindow.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.15.13
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_MAINWINDOW_H
|
||||
#define UI_MAINWINDOW_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QMainWindow>
|
||||
#include <QtWidgets/QStatusBar>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_MainWindow
|
||||
{
|
||||
public:
|
||||
QAction *exitAction;
|
||||
QAction *insertRowAction;
|
||||
QAction *removeRowAction;
|
||||
QAction *insertColumnAction;
|
||||
QAction *removeColumnAction;
|
||||
QAction *insertChildAction;
|
||||
QWidget *centralwidget;
|
||||
QVBoxLayout *verticalLayout;
|
||||
QStatusBar *statusbar;
|
||||
|
||||
void setupUi(QMainWindow *MainWindow)
|
||||
{
|
||||
if (MainWindow->objectName().isEmpty())
|
||||
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
||||
MainWindow->resize(677, 380);
|
||||
MainWindow->setDockOptions(QMainWindow::AllowNestedDocks|QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks|QMainWindow::ForceTabbedDocks);
|
||||
exitAction = new QAction(MainWindow);
|
||||
exitAction->setObjectName(QString::fromUtf8("exitAction"));
|
||||
insertRowAction = new QAction(MainWindow);
|
||||
insertRowAction->setObjectName(QString::fromUtf8("insertRowAction"));
|
||||
removeRowAction = new QAction(MainWindow);
|
||||
removeRowAction->setObjectName(QString::fromUtf8("removeRowAction"));
|
||||
insertColumnAction = new QAction(MainWindow);
|
||||
insertColumnAction->setObjectName(QString::fromUtf8("insertColumnAction"));
|
||||
removeColumnAction = new QAction(MainWindow);
|
||||
removeColumnAction->setObjectName(QString::fromUtf8("removeColumnAction"));
|
||||
insertChildAction = new QAction(MainWindow);
|
||||
insertChildAction->setObjectName(QString::fromUtf8("insertChildAction"));
|
||||
centralwidget = new QWidget(MainWindow);
|
||||
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
||||
verticalLayout = new QVBoxLayout(centralwidget);
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
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(QCoreApplication::translate("MainWindow", "Editable Tree Model", nullptr));
|
||||
exitAction->setText(QCoreApplication::translate("MainWindow", "E&xit", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
exitAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+Q", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
insertRowAction->setText(QCoreApplication::translate("MainWindow", "&Insert Row", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
insertRowAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+I, R", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
removeRowAction->setText(QCoreApplication::translate("MainWindow", "&Remove Row", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
removeRowAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+R, R", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
insertColumnAction->setText(QCoreApplication::translate("MainWindow", "Insert &Column", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
insertColumnAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+I, C", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
removeColumnAction->setText(QCoreApplication::translate("MainWindow", "R&emove Column", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
removeColumnAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+R, C", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
insertChildAction->setText(QCoreApplication::translate("MainWindow", "I&nsert Child", nullptr));
|
||||
#if QT_CONFIG(shortcut)
|
||||
insertChildAction->setShortcut(QCoreApplication::translate("MainWindow", "Ctrl+N", nullptr));
|
||||
#endif // QT_CONFIG(shortcut)
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow: public Ui_MainWindow {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_MAINWINDOW_H
|
||||
Reference in New Issue
Block a user