1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'mainwindow.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 6.0.0 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_MAINWINDOW_H |
10 | #define UI_MAINWINDOW_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtGui/QAction> |
14 | #include <QtWidgets/QApplication> |
15 | #include <QtWidgets/QHeaderView> |
16 | #include <QtWidgets/QMainWindow> |
17 | #include <QtWidgets/QMenu> |
18 | #include <QtWidgets/QMenuBar> |
19 | #include <QtWidgets/QStatusBar> |
20 | #include <QtWidgets/QTreeView> |
21 | #include <QtWidgets/QVBoxLayout> |
22 | #include <QtWidgets/QWidget> |
23 | |
24 | QT_BEGIN_NAMESPACE |
25 | |
26 | class Ui_MainWindow |
27 | { |
28 | public: |
29 | QAction *exitAction; |
30 | QAction *insertRowAction; |
31 | QAction *removeRowAction; |
32 | QAction *insertColumnAction; |
33 | QAction *removeColumnAction; |
34 | QAction *insertChildAction; |
35 | QWidget *centralwidget; |
36 | QVBoxLayout *vboxLayout; |
37 | QTreeView *view; |
38 | QMenuBar *menubar; |
39 | QMenu *fileMenu; |
40 | QMenu *actionsMenu; |
41 | QStatusBar *statusbar; |
42 | |
43 | void setupUi(QMainWindow *MainWindow) |
44 | { |
45 | if (MainWindow->objectName().isEmpty()) |
46 | MainWindow->setObjectName(QString::fromUtf8("MainWindow" )); |
47 | MainWindow->resize(573, 468); |
48 | exitAction = new QAction(MainWindow); |
49 | exitAction->setObjectName(QString::fromUtf8("exitAction" )); |
50 | insertRowAction = new QAction(MainWindow); |
51 | insertRowAction->setObjectName(QString::fromUtf8("insertRowAction" )); |
52 | removeRowAction = new QAction(MainWindow); |
53 | removeRowAction->setObjectName(QString::fromUtf8("removeRowAction" )); |
54 | insertColumnAction = new QAction(MainWindow); |
55 | insertColumnAction->setObjectName(QString::fromUtf8("insertColumnAction" )); |
56 | removeColumnAction = new QAction(MainWindow); |
57 | removeColumnAction->setObjectName(QString::fromUtf8("removeColumnAction" )); |
58 | insertChildAction = new QAction(MainWindow); |
59 | insertChildAction->setObjectName(QString::fromUtf8("insertChildAction" )); |
60 | centralwidget = new QWidget(MainWindow); |
61 | centralwidget->setObjectName(QString::fromUtf8("centralwidget" )); |
62 | vboxLayout = new QVBoxLayout(centralwidget); |
63 | vboxLayout->setSpacing(0); |
64 | vboxLayout->setContentsMargins(0, 0, 0, 0); |
65 | vboxLayout->setObjectName(QString::fromUtf8("vboxLayout" )); |
66 | view = new QTreeView(centralwidget); |
67 | view->setObjectName(QString::fromUtf8("view" )); |
68 | view->setAlternatingRowColors(true); |
69 | view->setSelectionBehavior(QAbstractItemView::SelectItems); |
70 | view->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel); |
71 | view->setAnimated(false); |
72 | view->setAllColumnsShowFocus(true); |
73 | |
74 | vboxLayout->addWidget(view); |
75 | |
76 | MainWindow->setCentralWidget(centralwidget); |
77 | menubar = new QMenuBar(MainWindow); |
78 | menubar->setObjectName(QString::fromUtf8("menubar" )); |
79 | menubar->setGeometry(QRect(0, 0, 573, 31)); |
80 | fileMenu = new QMenu(menubar); |
81 | fileMenu->setObjectName(QString::fromUtf8("fileMenu" )); |
82 | actionsMenu = new QMenu(menubar); |
83 | actionsMenu->setObjectName(QString::fromUtf8("actionsMenu" )); |
84 | MainWindow->setMenuBar(menubar); |
85 | statusbar = new QStatusBar(MainWindow); |
86 | statusbar->setObjectName(QString::fromUtf8("statusbar" )); |
87 | MainWindow->setStatusBar(statusbar); |
88 | |
89 | menubar->addAction(fileMenu->menuAction()); |
90 | menubar->addAction(actionsMenu->menuAction()); |
91 | fileMenu->addAction(exitAction); |
92 | actionsMenu->addAction(insertRowAction); |
93 | actionsMenu->addAction(insertColumnAction); |
94 | actionsMenu->addSeparator(); |
95 | actionsMenu->addAction(removeRowAction); |
96 | actionsMenu->addAction(removeColumnAction); |
97 | actionsMenu->addSeparator(); |
98 | actionsMenu->addAction(insertChildAction); |
99 | |
100 | retranslateUi(MainWindow); |
101 | |
102 | QMetaObject::connectSlotsByName(MainWindow); |
103 | } // setupUi |
104 | |
105 | void retranslateUi(QMainWindow *MainWindow) |
106 | { |
107 | MainWindow->setWindowTitle(QCoreApplication::translate("MainWindow" , "Editable Tree Model" , nullptr)); |
108 | exitAction->setText(QCoreApplication::translate("MainWindow" , "E&xit" , nullptr)); |
109 | #if QT_CONFIG(shortcut) |
110 | exitAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+Q" , nullptr)); |
111 | #endif // QT_CONFIG(shortcut) |
112 | insertRowAction->setText(QCoreApplication::translate("MainWindow" , "Insert Row" , nullptr)); |
113 | #if QT_CONFIG(shortcut) |
114 | insertRowAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+I, R" , nullptr)); |
115 | #endif // QT_CONFIG(shortcut) |
116 | removeRowAction->setText(QCoreApplication::translate("MainWindow" , "Remove Row" , nullptr)); |
117 | #if QT_CONFIG(shortcut) |
118 | removeRowAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+R, R" , nullptr)); |
119 | #endif // QT_CONFIG(shortcut) |
120 | insertColumnAction->setText(QCoreApplication::translate("MainWindow" , "Insert Column" , nullptr)); |
121 | #if QT_CONFIG(shortcut) |
122 | insertColumnAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+I, C" , nullptr)); |
123 | #endif // QT_CONFIG(shortcut) |
124 | removeColumnAction->setText(QCoreApplication::translate("MainWindow" , "Remove Column" , nullptr)); |
125 | #if QT_CONFIG(shortcut) |
126 | removeColumnAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+R, C" , nullptr)); |
127 | #endif // QT_CONFIG(shortcut) |
128 | insertChildAction->setText(QCoreApplication::translate("MainWindow" , "Insert Child" , nullptr)); |
129 | #if QT_CONFIG(shortcut) |
130 | insertChildAction->setShortcut(QCoreApplication::translate("MainWindow" , "Ctrl+N" , nullptr)); |
131 | #endif // QT_CONFIG(shortcut) |
132 | fileMenu->setTitle(QCoreApplication::translate("MainWindow" , "&File" , nullptr)); |
133 | actionsMenu->setTitle(QCoreApplication::translate("MainWindow" , "&Actions" , nullptr)); |
134 | } // retranslateUi |
135 | |
136 | }; |
137 | |
138 | namespace Ui { |
139 | class MainWindow: public Ui_MainWindow {}; |
140 | } // namespace Ui |
141 | |
142 | QT_END_NAMESPACE |
143 | |
144 | #endif // UI_MAINWINDOW_H |
145 | |