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/QDockWidget>
16#include <QtWidgets/QHBoxLayout>
17#include <QtWidgets/QLabel>
18#include <QtWidgets/QMainWindow>
19#include <QtWidgets/QMenu>
20#include <QtWidgets/QMenuBar>
21#include <QtWidgets/QSpacerItem>
22#include <QtWidgets/QSpinBox>
23#include <QtWidgets/QStatusBar>
24#include <QtWidgets/QTabWidget>
25#include <QtWidgets/QToolBar>
26#include <QtWidgets/QUndoView>
27#include <QtWidgets/QVBoxLayout>
28#include <QtWidgets/QWidget>
29
30QT_BEGIN_NAMESPACE
31
32class Ui_MainWindow
33{
34public:
35 QAction *actionOpen;
36 QAction *actionClose;
37 QAction *actionNew;
38 QAction *actionSave;
39 QAction *actionExit;
40 QAction *actionRed;
41 QAction *actionGreen;
42 QAction *actionBlue;
43 QAction *actionAddRectangle;
44 QAction *actionAddCircle;
45 QAction *actionRemoveShape;
46 QAction *actionAddRobot;
47 QAction *actionAddSnowman;
48 QAction *actionAddTriangle;
49 QAction *actionAbout;
50 QAction *actionAboutQt;
51 QWidget *centralwidget;
52 QVBoxLayout *vboxLayout;
53 QTabWidget *documentTabs;
54 QWidget *tab;
55 QMenuBar *menubar;
56 QMenu *menuFile;
57 QMenu *menuShape;
58 QMenu *menuMacros;
59 QMenu *menuHelp;
60 QStatusBar *statusbar;
61 QToolBar *toolBar;
62 QToolBar *shapeToolBar;
63 QDockWidget *dockWidget;
64 QWidget *dockWidgetContents;
65 QVBoxLayout *vboxLayout1;
66 QHBoxLayout *hboxLayout;
67 QSpacerItem *spacerItem;
68 QLabel *label;
69 QSpinBox *undoLimit;
70 QUndoView *undoView;
71
72 void setupUi(QMainWindow *MainWindow)
73 {
74 if (MainWindow->objectName().isEmpty())
75 MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
76 MainWindow->resize(567, 600);
77 MainWindow->setIconSize(QSize(32, 32));
78 actionOpen = new QAction(MainWindow);
79 actionOpen->setObjectName(QString::fromUtf8("actionOpen"));
80 const QIcon icon = QIcon(QString::fromUtf8(":/icons/fileopen.png"));
81 actionOpen->setIcon(icon);
82 actionClose = new QAction(MainWindow);
83 actionClose->setObjectName(QString::fromUtf8("actionClose"));
84 const QIcon icon1 = QIcon(QString::fromUtf8(":/icons/fileclose.png"));
85 actionClose->setIcon(icon1);
86 actionNew = new QAction(MainWindow);
87 actionNew->setObjectName(QString::fromUtf8("actionNew"));
88 const QIcon icon2 = QIcon(QString::fromUtf8(":/icons/filenew.png"));
89 actionNew->setIcon(icon2);
90 actionSave = new QAction(MainWindow);
91 actionSave->setObjectName(QString::fromUtf8("actionSave"));
92 const QIcon icon3 = QIcon(QString::fromUtf8(":/icons/filesave.png"));
93 actionSave->setIcon(icon3);
94 actionExit = new QAction(MainWindow);
95 actionExit->setObjectName(QString::fromUtf8("actionExit"));
96 const QIcon icon4 = QIcon(QString::fromUtf8(":/icons/exit.png"));
97 actionExit->setIcon(icon4);
98 actionRed = new QAction(MainWindow);
99 actionRed->setObjectName(QString::fromUtf8("actionRed"));
100 const QIcon icon5 = QIcon(QString::fromUtf8(":/icons/red.png"));
101 actionRed->setIcon(icon5);
102 actionGreen = new QAction(MainWindow);
103 actionGreen->setObjectName(QString::fromUtf8("actionGreen"));
104 const QIcon icon6 = QIcon(QString::fromUtf8(":/icons/green.png"));
105 actionGreen->setIcon(icon6);
106 actionBlue = new QAction(MainWindow);
107 actionBlue->setObjectName(QString::fromUtf8("actionBlue"));
108 const QIcon icon7 = QIcon(QString::fromUtf8(":/icons/blue.png"));
109 actionBlue->setIcon(icon7);
110 actionAddRectangle = new QAction(MainWindow);
111 actionAddRectangle->setObjectName(QString::fromUtf8("actionAddRectangle"));
112 const QIcon icon8 = QIcon(QString::fromUtf8(":/icons/rectangle.png"));
113 actionAddRectangle->setIcon(icon8);
114 actionAddCircle = new QAction(MainWindow);
115 actionAddCircle->setObjectName(QString::fromUtf8("actionAddCircle"));
116 const QIcon icon9 = QIcon(QString::fromUtf8(":/icons/circle.png"));
117 actionAddCircle->setIcon(icon9);
118 actionRemoveShape = new QAction(MainWindow);
119 actionRemoveShape->setObjectName(QString::fromUtf8("actionRemoveShape"));
120 const QIcon icon10 = QIcon(QString::fromUtf8(":/icons/remove.png"));
121 actionRemoveShape->setIcon(icon10);
122 actionAddRobot = new QAction(MainWindow);
123 actionAddRobot->setObjectName(QString::fromUtf8("actionAddRobot"));
124 actionAddSnowman = new QAction(MainWindow);
125 actionAddSnowman->setObjectName(QString::fromUtf8("actionAddSnowman"));
126 actionAddTriangle = new QAction(MainWindow);
127 actionAddTriangle->setObjectName(QString::fromUtf8("actionAddTriangle"));
128 const QIcon icon11 = QIcon(QString::fromUtf8(":/icons/triangle.png"));
129 actionAddTriangle->setIcon(icon11);
130 actionAbout = new QAction(MainWindow);
131 actionAbout->setObjectName(QString::fromUtf8("actionAbout"));
132 actionAboutQt = new QAction(MainWindow);
133 actionAboutQt->setObjectName(QString::fromUtf8("actionAboutQt"));
134 centralwidget = new QWidget(MainWindow);
135 centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
136 vboxLayout = new QVBoxLayout(centralwidget);
137 vboxLayout->setSpacing(0);
138 vboxLayout->setContentsMargins(0, 0, 0, 0);
139 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
140 documentTabs = new QTabWidget(centralwidget);
141 documentTabs->setObjectName(QString::fromUtf8("documentTabs"));
142 tab = new QWidget();
143 tab->setObjectName(QString::fromUtf8("tab"));
144 documentTabs->addTab(tab, QString());
145
146 vboxLayout->addWidget(documentTabs);
147
148 MainWindow->setCentralWidget(centralwidget);
149 menubar = new QMenuBar(MainWindow);
150 menubar->setObjectName(QString::fromUtf8("menubar"));
151 menubar->setGeometry(QRect(0, 0, 567, 27));
152 menuFile = new QMenu(menubar);
153 menuFile->setObjectName(QString::fromUtf8("menuFile"));
154 menuShape = new QMenu(menubar);
155 menuShape->setObjectName(QString::fromUtf8("menuShape"));
156 menuMacros = new QMenu(menuShape);
157 menuMacros->setObjectName(QString::fromUtf8("menuMacros"));
158 menuHelp = new QMenu(menubar);
159 menuHelp->setObjectName(QString::fromUtf8("menuHelp"));
160 MainWindow->setMenuBar(menubar);
161 statusbar = new QStatusBar(MainWindow);
162 statusbar->setObjectName(QString::fromUtf8("statusbar"));
163 MainWindow->setStatusBar(statusbar);
164 toolBar = new QToolBar(MainWindow);
165 toolBar->setObjectName(QString::fromUtf8("toolBar"));
166 toolBar->setOrientation(Qt::Horizontal);
167 MainWindow->addToolBar(Qt::TopToolBarArea, toolBar);
168 shapeToolBar = new QToolBar(MainWindow);
169 shapeToolBar->setObjectName(QString::fromUtf8("shapeToolBar"));
170 shapeToolBar->setOrientation(Qt::Vertical);
171 MainWindow->addToolBar(Qt::LeftToolBarArea, shapeToolBar);
172 dockWidget = new QDockWidget(MainWindow);
173 dockWidget->setObjectName(QString::fromUtf8("dockWidget"));
174 dockWidgetContents = new QWidget();
175 dockWidgetContents->setObjectName(QString::fromUtf8("dockWidgetContents"));
176 vboxLayout1 = new QVBoxLayout(dockWidgetContents);
177 vboxLayout1->setSpacing(4);
178 vboxLayout1->setContentsMargins(0, 0, 0, 0);
179 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
180 hboxLayout = new QHBoxLayout();
181#ifndef Q_OS_MAC
182 hboxLayout->setSpacing(6);
183#endif
184#ifndef Q_OS_MAC
185 hboxLayout->setContentsMargins(0, 0, 0, 0);
186#endif
187 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
188 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
189
190 hboxLayout->addItem(spacerItem);
191
192 label = new QLabel(dockWidgetContents);
193 label->setObjectName(QString::fromUtf8("label"));
194
195 hboxLayout->addWidget(label);
196
197 undoLimit = new QSpinBox(dockWidgetContents);
198 undoLimit->setObjectName(QString::fromUtf8("undoLimit"));
199
200 hboxLayout->addWidget(undoLimit);
201
202
203 vboxLayout1->addLayout(hboxLayout);
204
205 undoView = new QUndoView(dockWidgetContents);
206 undoView->setObjectName(QString::fromUtf8("undoView"));
207 undoView->setAlternatingRowColors(false);
208
209 vboxLayout1->addWidget(undoView);
210
211 dockWidget->setWidget(dockWidgetContents);
212 MainWindow->addDockWidget(Qt::RightDockWidgetArea, dockWidget);
213
214 menubar->addAction(menuFile->menuAction());
215 menubar->addAction(menuShape->menuAction());
216 menubar->addAction(menuHelp->menuAction());
217 menuFile->addAction(actionNew);
218 menuFile->addAction(actionOpen);
219 menuFile->addAction(actionSave);
220 menuFile->addAction(actionClose);
221 menuFile->addSeparator();
222 menuFile->addAction(actionExit);
223 menuShape->addSeparator();
224 menuShape->addAction(actionAddCircle);
225 menuShape->addAction(actionAddRectangle);
226 menuShape->addAction(actionAddTriangle);
227 menuShape->addAction(actionRemoveShape);
228 menuShape->addSeparator();
229 menuShape->addAction(actionRed);
230 menuShape->addAction(actionGreen);
231 menuShape->addAction(actionBlue);
232 menuShape->addSeparator();
233 menuShape->addAction(menuMacros->menuAction());
234 menuMacros->addAction(actionAddRobot);
235 menuMacros->addAction(actionAddSnowman);
236 menuHelp->addAction(actionAbout);
237 menuHelp->addAction(actionAboutQt);
238 toolBar->addAction(actionNew);
239 toolBar->addAction(actionOpen);
240 toolBar->addAction(actionSave);
241 toolBar->addAction(actionClose);
242 toolBar->addSeparator();
243 shapeToolBar->addAction(actionAddRectangle);
244 shapeToolBar->addAction(actionAddCircle);
245 shapeToolBar->addAction(actionAddTriangle);
246 shapeToolBar->addAction(actionRemoveShape);
247 shapeToolBar->addSeparator();
248 shapeToolBar->addAction(actionRed);
249 shapeToolBar->addAction(actionGreen);
250 shapeToolBar->addAction(actionBlue);
251
252 retranslateUi(MainWindow);
253
254 documentTabs->setCurrentIndex(0);
255
256
257 QMetaObject::connectSlotsByName(MainWindow);
258 } // setupUi
259
260 void retranslateUi(QMainWindow *MainWindow)
261 {
262 actionOpen->setText(QCoreApplication::translate("MainWindow", "&Open", nullptr));
263 actionClose->setText(QCoreApplication::translate("MainWindow", "&Close", nullptr));
264 actionNew->setText(QCoreApplication::translate("MainWindow", "&New", nullptr));
265 actionSave->setText(QCoreApplication::translate("MainWindow", "&Save", nullptr));
266 actionExit->setText(QCoreApplication::translate("MainWindow", "E&xit", nullptr));
267 actionRed->setText(QCoreApplication::translate("MainWindow", "Red", nullptr));
268 actionGreen->setText(QCoreApplication::translate("MainWindow", "Green", nullptr));
269 actionBlue->setText(QCoreApplication::translate("MainWindow", "Blue", nullptr));
270 actionAddRectangle->setText(QCoreApplication::translate("MainWindow", "Add Rectangle", nullptr));
271 actionAddCircle->setText(QCoreApplication::translate("MainWindow", "Add Circle", nullptr));
272 actionRemoveShape->setText(QCoreApplication::translate("MainWindow", "Remove Shape", nullptr));
273 actionAddRobot->setText(QCoreApplication::translate("MainWindow", "Add robot", nullptr));
274 actionAddSnowman->setText(QCoreApplication::translate("MainWindow", "Add snowan", nullptr));
275 actionAddTriangle->setText(QCoreApplication::translate("MainWindow", "addTriangle", nullptr));
276 actionAbout->setText(QCoreApplication::translate("MainWindow", "About", nullptr));
277 actionAboutQt->setText(QCoreApplication::translate("MainWindow", "About Qt", nullptr));
278 documentTabs->setTabText(documentTabs->indexOf(tab), QCoreApplication::translate("MainWindow", "Tab 1", nullptr));
279 menuFile->setTitle(QCoreApplication::translate("MainWindow", "File", nullptr));
280 menuShape->setTitle(QCoreApplication::translate("MainWindow", "Edit", nullptr));
281 menuMacros->setTitle(QCoreApplication::translate("MainWindow", "Macros", nullptr));
282 menuHelp->setTitle(QCoreApplication::translate("MainWindow", "Help", nullptr));
283 toolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "File actions", nullptr));
284 shapeToolBar->setWindowTitle(QCoreApplication::translate("MainWindow", "Shape actions", nullptr));
285 dockWidget->setWindowTitle(QCoreApplication::translate("MainWindow", "Undo Stack", nullptr));
286 label->setText(QCoreApplication::translate("MainWindow", "Undo limit", nullptr));
287 (void)MainWindow;
288 } // retranslateUi
289
290};
291
292namespace Ui {
293 class MainWindow: public Ui_MainWindow {};
294} // namespace Ui
295
296QT_END_NAMESPACE
297
298#endif // UI_MAINWINDOW_H
299