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/QMainWindow> |
16 | #include <QtWidgets/QMenu> |
17 | #include <QtWidgets/QMenuBar> |
18 | #include <QtWidgets/QStatusBar> |
19 | #include <QtWidgets/QToolBar> |
20 | #include <QtWidgets/QVBoxLayout> |
21 | #include <QtWidgets/QWidget> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class Ui_MainWindow |
26 | { |
27 | public: |
28 | QAction *actionAbout; |
29 | QAction *actionAboutQt; |
30 | QAction *actionConnect; |
31 | QAction *actionDisconnect; |
32 | QAction *actionConfigure; |
33 | QAction *actionClear; |
34 | QAction *actionQuit; |
35 | QWidget *centralWidget; |
36 | QVBoxLayout *verticalLayout; |
37 | QMenuBar *menuBar; |
38 | QMenu *menuCalls; |
39 | QMenu *menuTools; |
40 | QMenu *menuHelp; |
41 | QToolBar *mainToolBar; |
42 | QStatusBar *statusBar; |
43 | |
44 | void setupUi(QMainWindow *MainWindow) |
45 | { |
46 | if (MainWindow->objectName().isEmpty()) |
47 | MainWindow->setObjectName(QString::fromUtf8(str: "MainWindow" )); |
48 | MainWindow->resize(w: 400, h: 300); |
49 | actionAbout = new QAction(MainWindow); |
50 | actionAbout->setObjectName(QString::fromUtf8(str: "actionAbout" )); |
51 | actionAboutQt = new QAction(MainWindow); |
52 | actionAboutQt->setObjectName(QString::fromUtf8(str: "actionAboutQt" )); |
53 | actionConnect = new QAction(MainWindow); |
54 | actionConnect->setObjectName(QString::fromUtf8(str: "actionConnect" )); |
55 | QIcon icon; |
56 | icon.addFile(fileName: QString::fromUtf8(str: ":/images/connect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
57 | actionConnect->setIcon(icon); |
58 | actionDisconnect = new QAction(MainWindow); |
59 | actionDisconnect->setObjectName(QString::fromUtf8(str: "actionDisconnect" )); |
60 | QIcon icon1; |
61 | icon1.addFile(fileName: QString::fromUtf8(str: ":/images/disconnect.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
62 | actionDisconnect->setIcon(icon1); |
63 | actionConfigure = new QAction(MainWindow); |
64 | actionConfigure->setObjectName(QString::fromUtf8(str: "actionConfigure" )); |
65 | QIcon icon2; |
66 | icon2.addFile(fileName: QString::fromUtf8(str: ":/images/settings.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
67 | actionConfigure->setIcon(icon2); |
68 | actionClear = new QAction(MainWindow); |
69 | actionClear->setObjectName(QString::fromUtf8(str: "actionClear" )); |
70 | QIcon icon3; |
71 | icon3.addFile(fileName: QString::fromUtf8(str: ":/images/clear.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
72 | actionClear->setIcon(icon3); |
73 | actionQuit = new QAction(MainWindow); |
74 | actionQuit->setObjectName(QString::fromUtf8(str: "actionQuit" )); |
75 | QIcon icon4; |
76 | icon4.addFile(fileName: QString::fromUtf8(str: ":/images/application-exit.png" ), size: QSize(), mode: QIcon::Normal, state: QIcon::Off); |
77 | actionQuit->setIcon(icon4); |
78 | centralWidget = new QWidget(MainWindow); |
79 | centralWidget->setObjectName(QString::fromUtf8(str: "centralWidget" )); |
80 | verticalLayout = new QVBoxLayout(centralWidget); |
81 | verticalLayout->setSpacing(6); |
82 | verticalLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
83 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
84 | MainWindow->setCentralWidget(centralWidget); |
85 | menuBar = new QMenuBar(MainWindow); |
86 | menuBar->setObjectName(QString::fromUtf8(str: "menuBar" )); |
87 | menuBar->setGeometry(QRect(0, 0, 400, 19)); |
88 | menuCalls = new QMenu(menuBar); |
89 | menuCalls->setObjectName(QString::fromUtf8(str: "menuCalls" )); |
90 | menuTools = new QMenu(menuBar); |
91 | menuTools->setObjectName(QString::fromUtf8(str: "menuTools" )); |
92 | menuHelp = new QMenu(menuBar); |
93 | menuHelp->setObjectName(QString::fromUtf8(str: "menuHelp" )); |
94 | MainWindow->setMenuBar(menuBar); |
95 | mainToolBar = new QToolBar(MainWindow); |
96 | mainToolBar->setObjectName(QString::fromUtf8(str: "mainToolBar" )); |
97 | MainWindow->addToolBar(area: Qt::TopToolBarArea, toolbar: mainToolBar); |
98 | statusBar = new QStatusBar(MainWindow); |
99 | statusBar->setObjectName(QString::fromUtf8(str: "statusBar" )); |
100 | MainWindow->setStatusBar(statusBar); |
101 | |
102 | menuBar->addAction(action: menuCalls->menuAction()); |
103 | menuBar->addAction(action: menuTools->menuAction()); |
104 | menuBar->addAction(action: menuHelp->menuAction()); |
105 | menuCalls->addAction(action: actionConnect); |
106 | menuCalls->addAction(action: actionDisconnect); |
107 | menuCalls->addSeparator(); |
108 | menuCalls->addAction(action: actionQuit); |
109 | menuTools->addAction(action: actionConfigure); |
110 | menuTools->addAction(action: actionClear); |
111 | menuHelp->addAction(action: actionAbout); |
112 | menuHelp->addAction(action: actionAboutQt); |
113 | mainToolBar->addAction(action: actionConnect); |
114 | mainToolBar->addAction(action: actionDisconnect); |
115 | mainToolBar->addAction(action: actionConfigure); |
116 | mainToolBar->addAction(action: actionClear); |
117 | |
118 | retranslateUi(MainWindow); |
119 | |
120 | QMetaObject::connectSlotsByName(o: MainWindow); |
121 | } // setupUi |
122 | |
123 | void retranslateUi(QMainWindow *MainWindow) |
124 | { |
125 | MainWindow->setWindowTitle(QCoreApplication::translate(context: "MainWindow" , key: "Simple Terminal" , disambiguation: nullptr)); |
126 | actionAbout->setText(QCoreApplication::translate(context: "MainWindow" , key: "&About" , disambiguation: nullptr)); |
127 | #if QT_CONFIG(tooltip) |
128 | actionAbout->setToolTip(QCoreApplication::translate(context: "MainWindow" , key: "About program" , disambiguation: nullptr)); |
129 | #endif // QT_CONFIG(tooltip) |
130 | #if QT_CONFIG(shortcut) |
131 | actionAbout->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Alt+A" , disambiguation: nullptr)); |
132 | #endif // QT_CONFIG(shortcut) |
133 | actionAboutQt->setText(QCoreApplication::translate(context: "MainWindow" , key: "About Qt" , disambiguation: nullptr)); |
134 | actionConnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "C&onnect" , disambiguation: nullptr)); |
135 | #if QT_CONFIG(tooltip) |
136 | actionConnect->setToolTip(QCoreApplication::translate(context: "MainWindow" , key: "Connect to serial port" , disambiguation: nullptr)); |
137 | #endif // QT_CONFIG(tooltip) |
138 | #if QT_CONFIG(shortcut) |
139 | actionConnect->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+O" , disambiguation: nullptr)); |
140 | #endif // QT_CONFIG(shortcut) |
141 | actionDisconnect->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Disconnect" , disambiguation: nullptr)); |
142 | #if QT_CONFIG(tooltip) |
143 | actionDisconnect->setToolTip(QCoreApplication::translate(context: "MainWindow" , key: "Disconnect from serial port" , disambiguation: nullptr)); |
144 | #endif // QT_CONFIG(tooltip) |
145 | #if QT_CONFIG(shortcut) |
146 | actionDisconnect->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+D" , disambiguation: nullptr)); |
147 | #endif // QT_CONFIG(shortcut) |
148 | actionConfigure->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Configure" , disambiguation: nullptr)); |
149 | #if QT_CONFIG(tooltip) |
150 | actionConfigure->setToolTip(QCoreApplication::translate(context: "MainWindow" , key: "Configure serial port" , disambiguation: nullptr)); |
151 | #endif // QT_CONFIG(tooltip) |
152 | #if QT_CONFIG(shortcut) |
153 | actionConfigure->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Alt+C" , disambiguation: nullptr)); |
154 | #endif // QT_CONFIG(shortcut) |
155 | actionClear->setText(QCoreApplication::translate(context: "MainWindow" , key: "C&lear" , disambiguation: nullptr)); |
156 | #if QT_CONFIG(tooltip) |
157 | actionClear->setToolTip(QCoreApplication::translate(context: "MainWindow" , key: "Clear data" , disambiguation: nullptr)); |
158 | #endif // QT_CONFIG(tooltip) |
159 | #if QT_CONFIG(shortcut) |
160 | actionClear->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Alt+L" , disambiguation: nullptr)); |
161 | #endif // QT_CONFIG(shortcut) |
162 | actionQuit->setText(QCoreApplication::translate(context: "MainWindow" , key: "&Quit" , disambiguation: nullptr)); |
163 | #if QT_CONFIG(shortcut) |
164 | actionQuit->setShortcut(QCoreApplication::translate(context: "MainWindow" , key: "Ctrl+Q" , disambiguation: nullptr)); |
165 | #endif // QT_CONFIG(shortcut) |
166 | menuCalls->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Calls" , disambiguation: nullptr)); |
167 | menuTools->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Tools" , disambiguation: nullptr)); |
168 | menuHelp->setTitle(QCoreApplication::translate(context: "MainWindow" , key: "Help" , disambiguation: nullptr)); |
169 | } // retranslateUi |
170 | |
171 | }; |
172 | |
173 | namespace Ui { |
174 | class MainWindow: public Ui_MainWindow {}; |
175 | } // namespace Ui |
176 | |
177 | QT_END_NAMESPACE |
178 | |
179 | #endif // UI_MAINWINDOW_H |
180 | |