1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'mainwindow.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
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 <QtWidgets/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(str: "MainWindow" )); |
47 | MainWindow->resize(w: 573, h: 468); |
48 | exitAction = new QAction(MainWindow); |
49 | exitAction->setObjectName(QString::fromUtf8(str: "exitAction" )); |
50 | insertRowAction = new QAction(MainWindow); |
51 | insertRowAction->setObjectName(QString::fromUtf8(str: "insertRowAction" )); |
52 | removeRowAction = new QAction(MainWindow); |
53 | removeRowAction->setObjectName(QString::fromUtf8(str: "removeRowAction" )); |
54 | insertColumnAction = new QAction(MainWindow); |
55 | insertColumnAction->setObjectName(QString::fromUtf8(str: "insertColumnAction" )); |
56 | removeColumnAction = new QAction(MainWindow); |
57 | removeColumnAction->setObjectName(QString::fromUtf8(str: "removeColumnAction" )); |
58 | insertChildAction = new QAction(MainWindow); |
59 | insertChildAction->setObjectName(QString::fromUtf8(str: "insertChildAction" )); |
60 | centralwidget = new QWidget(MainWindow); |
61 | centralwidget->setObjectName(QString::fromUtf8(str: "centralwidget" )); |
62 | vboxLayout = new QVBoxLayout(centralwidget); |
63 | vboxLayout->setSpacing(0); |
64 | vboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
65 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
66 | view = new QTreeView(centralwidget); |
67 | view->setObjectName(QString::fromUtf8(str: "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(str: "menubar" )); |
79 | menubar->setGeometry(QRect(0, 0, 573, 31)); |
80 | fileMenu = new QMenu(menubar); |
81 | fileMenu->setObjectName(QString::fromUtf8(str: "fileMenu" )); |
82 | actionsMenu = new QMenu(menubar); |
83 | actionsMenu->setObjectName(QString::fromUtf8(str: "actionsMenu" )); |
84 | MainWindow->setMenuBar(menubar); |
85 | statusbar = new QStatusBar(MainWindow); |
86 | statusbar->setObjectName(QString::fromUtf8(str: "statusbar" )); |
87 | MainWindow->setStatusBar(statusbar); |
88 | |
89 | menubar->addAction(action: fileMenu->menuAction()); |
90 | menubar->addAction(action: actionsMenu->menuAction()); |
91 | fileMenu->addAction(action: exitAction); |
92 | actionsMenu->addAction(action: insertRowAction); |
93 | actionsMenu->addAction(action: insertColumnAction); |
94 | actionsMenu->addSeparator(); |
95 | actionsMenu->addAction(action: removeRowAction); |
96 | actionsMenu->addAction(action: removeColumnAction); |
97 | actionsMenu->addSeparator(); |
98 | actionsMenu->addAction(action: insertChildAction); |
99 | |
100 | retranslateUi(MainWindow); |
101 | |
102 | QMetaObject::connectSlotsByName(o: MainWindow); |
103 | } // setupUi |
104 | |
105 | void retranslateUi(QMainWindow *MainWindow) |
106 | { |
107 | MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "Editable Tree Model" , disambiguation: nullptr)); |
108 | exitAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "E&xit" , disambiguation: nullptr)); |
109 | #if QT_CONFIG(shortcut) |
110 | exitAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+Q" , disambiguation: nullptr)); |
111 | #endif // QT_CONFIG(shortcut) |
112 | insertRowAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "Insert Row" , disambiguation: nullptr)); |
113 | #if QT_CONFIG(shortcut) |
114 | insertRowAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+I, R" , disambiguation: nullptr)); |
115 | #endif // QT_CONFIG(shortcut) |
116 | removeRowAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "Remove Row" , disambiguation: nullptr)); |
117 | #if QT_CONFIG(shortcut) |
118 | removeRowAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+R, R" , disambiguation: nullptr)); |
119 | #endif // QT_CONFIG(shortcut) |
120 | insertColumnAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "Insert Column" , disambiguation: nullptr)); |
121 | #if QT_CONFIG(shortcut) |
122 | insertColumnAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+I, C" , disambiguation: nullptr)); |
123 | #endif // QT_CONFIG(shortcut) |
124 | removeColumnAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "Remove Column" , disambiguation: nullptr)); |
125 | #if QT_CONFIG(shortcut) |
126 | removeColumnAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+R, C" , disambiguation: nullptr)); |
127 | #endif // QT_CONFIG(shortcut) |
128 | insertChildAction->setText(QCoreApplication::translate(context: "MainWindow" , key: "Insert Child" , disambiguation: nullptr)); |
129 | #if QT_CONFIG(shortcut) |
130 | insertChildAction->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+N" , disambiguation: nullptr)); |
131 | #endif // QT_CONFIG(shortcut) |
132 | fileMenu->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "&File" , disambiguation: nullptr)); |
133 | actionsMenu->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "&Actions" , disambiguation: 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 | |