|
qCNC 0.82-alpha
|
00001 00042 #ifndef MAIN_UI_H 00043 #define MAIN_UI_H 00044 #include <QtCore/QVariant> 00045 #include <QtGui/QAction> 00046 #include <QtGui/QApplication> 00047 #include <QtGui/QButtonGroup> 00048 #include <QtGui/QComboBox> 00049 #include <QtGui/QGraphicsView> 00050 #include <QtGui/QGroupBox> 00051 #include <QtGui/QHeaderView> 00052 #include <QtGui/QLCDNumber> 00053 #include <QtGui/QLabel> 00054 #include <QtGui/QLineEdit> 00055 #include <QtGui/QListWidget> 00056 #include <QtGui/QMainWindow> 00057 #include <QtGui/QMenu> 00058 #include <QtGui/QMenuBar> 00059 #include <QtGui/QProgressBar> 00060 #include <QtGui/QPushButton> 00061 #include <QtGui/QScrollArea> 00062 #include <QtGui/QSlider> 00063 #include <QtGui/QStatusBar> 00064 #include <QtGui/QTabWidget> 00065 #include <QtGui/QWidget> 00066 00067 QT_BEGIN_NAMESPACE 00068 00069 class Ui_MainWindow 00070 { 00071 public: 00072 QAction *actionOpen_file; 00073 QAction *actionOpen_file_queu; 00074 QAction *actionExit; 00075 QAction *actionConnect_to_TCP_IP_host; 00076 QAction *actionConnect_to_serial_debug_interface; 00077 QAction *actionUSART_Debug; 00078 QAction *actionDrawing_board; 00079 QAction *actionPreview_current_job; 00080 QAction *actionView_current_job_status; 00081 QAction *actionStart; 00082 QAction *actionPause; 00083 QAction *actionStop; 00084 QAction *actionClear; 00085 QAction *actionReset; 00086 QAction *actionSnap_out_Menu; 00087 QAction *actionPreferences; 00088 QAction *actionTCP_IP; 00089 QAction *actionSerial_debug; 00090 QAction *actionAbout; 00091 QAction *actionAbout_QT; 00092 QAction *actionStandalone; 00093 QAction *actionGUI_controll; 00094 QAction *actionFile_Mode; 00095 QWidget *centralwidget; 00096 QTabWidget *tabWidget; 00097 QWidget *tab_2; 00098 QGroupBox *groupBox; 00099 QSlider *horizontalSlider_3; 00100 QSlider *horizontalSlider_2; 00101 QSlider *horizontalSlider; 00102 QPushButton *pushButton_2; 00103 QPushButton *pushButton_3; 00104 QPushButton *pushButton_4; 00105 QPushButton *pushButton_8; 00106 QPushButton *pushButton_9; 00107 QPushButton *pushButton_10; 00108 QLCDNumber *lcdNumber; 00109 QLCDNumber *lcdNumber_2; 00110 QLCDNumber *lcdNumber_3; 00111 QGroupBox *groupBox_5; 00112 QPushButton *pushButton_12; 00113 QPushButton *pushButton_13; 00114 QPushButton *pushButton_14; 00115 QPushButton *pushButton_11; 00116 QGroupBox *groupBox_4; 00117 QComboBox *comboBox; 00118 QPushButton *pushButton_5; 00119 QLabel *label_12; 00120 QLabel *label_13; 00121 QWidget *tab; 00122 QLineEdit *lineEdit; 00123 QListWidget *listWidget; 00124 QPushButton *pushButton; 00125 QWidget *tab_3; 00126 QGraphicsView *graphicsView; 00127 QWidget *tab_4; 00128 QScrollArea *scrollArea; 00129 QWidget *scrollAreaWidgetContents; 00130 QListWidget *listWidget_2; 00131 QGroupBox *groupBox_2; 00132 QProgressBar *progressBar; 00133 QProgressBar *progressBar_2; 00134 QProgressBar *progressBar_3; 00135 QLabel *label; 00136 QLabel *label_2; 00137 QLabel *label_3; 00138 QGroupBox *groupBox_3; 00139 QLabel *label_4; 00140 QLabel *label_5; 00141 QLabel *label_6; 00142 QLabel *label_7; 00143 QLabel *label_8; 00144 QLabel *label_9; 00145 QLabel *label_10; 00146 QLabel *label_11; 00147 QMenuBar *menubar; 00148 QMenu *menuFile; 00149 QMenu *menuConnect; 00150 QMenu *menu_CNC_Controll; 00151 QMenu *menuMode; 00152 QMenu *menuSettings; 00153 QMenu *menuDevices; 00154 QMenu *menu_Help; 00155 QStatusBar *statusbar; 00156 00157 void setupUi(QMainWindow *MainWindow) 00158 { 00159 if (MainWindow->objectName().isEmpty()) 00160 MainWindow->setObjectName(QString::fromUtf8("MainWindow")); 00161 MainWindow->resize(663, 612); 00162 actionOpen_file = new QAction(MainWindow); 00163 actionOpen_file->setObjectName(QString::fromUtf8("actionOpen_file")); 00164 actionOpen_file_queu = new QAction(MainWindow); 00165 actionOpen_file_queu->setObjectName(QString::fromUtf8("actionOpen_file_queu")); 00166 actionExit = new QAction(MainWindow); 00167 actionExit->setObjectName(QString::fromUtf8("actionExit")); 00168 actionConnect_to_TCP_IP_host = new QAction(MainWindow); 00169 actionConnect_to_TCP_IP_host->setObjectName(QString::fromUtf8("actionConnect_to_TCP_IP_host")); 00170 actionConnect_to_serial_debug_interface = new QAction(MainWindow); 00171 actionConnect_to_serial_debug_interface->setObjectName(QString::fromUtf8("actionConnect_to_serial_debug_interface")); 00172 actionUSART_Debug = new QAction(MainWindow); 00173 actionUSART_Debug->setObjectName(QString::fromUtf8("actionUSART_Debug")); 00174 actionDrawing_board = new QAction(MainWindow); 00175 actionDrawing_board->setObjectName(QString::fromUtf8("actionDrawing_board")); 00176 actionPreview_current_job = new QAction(MainWindow); 00177 actionPreview_current_job->setObjectName(QString::fromUtf8("actionPreview_current_job")); 00178 actionView_current_job_status = new QAction(MainWindow); 00179 actionView_current_job_status->setObjectName(QString::fromUtf8("actionView_current_job_status")); 00180 actionStart = new QAction(MainWindow); 00181 actionStart->setObjectName(QString::fromUtf8("actionStart")); 00182 actionPause = new QAction(MainWindow); 00183 actionPause->setObjectName(QString::fromUtf8("actionPause")); 00184 actionStop = new QAction(MainWindow); 00185 actionStop->setObjectName(QString::fromUtf8("actionStop")); 00186 actionClear = new QAction(MainWindow); 00187 actionClear->setObjectName(QString::fromUtf8("actionClear")); 00188 actionReset = new QAction(MainWindow); 00189 actionReset->setObjectName(QString::fromUtf8("actionReset")); 00190 actionSnap_out_Menu = new QAction(MainWindow); 00191 actionSnap_out_Menu->setObjectName(QString::fromUtf8("actionSnap_out_Menu")); 00192 actionPreferences = new QAction(MainWindow); 00193 actionPreferences->setObjectName(QString::fromUtf8("actionPreferences")); 00194 actionTCP_IP = new QAction(MainWindow); 00195 actionTCP_IP->setObjectName(QString::fromUtf8("actionTCP_IP")); 00196 actionSerial_debug = new QAction(MainWindow); 00197 actionSerial_debug->setObjectName(QString::fromUtf8("actionSerial_debug")); 00198 actionAbout = new QAction(MainWindow); 00199 actionAbout->setObjectName(QString::fromUtf8("actionAbout")); 00200 actionAbout_QT = new QAction(MainWindow); 00201 actionAbout_QT->setObjectName(QString::fromUtf8("actionAbout_QT")); 00202 actionStandalone = new QAction(MainWindow); 00203 actionStandalone->setObjectName(QString::fromUtf8("actionStandalone")); 00204 actionGUI_controll = new QAction(MainWindow); 00205 actionGUI_controll->setObjectName(QString::fromUtf8("actionGUI_controll")); 00206 actionFile_Mode = new QAction(MainWindow); 00207 actionFile_Mode->setObjectName(QString::fromUtf8("actionFile_Mode")); 00208 centralwidget = new QWidget(MainWindow); 00209 centralwidget->setObjectName(QString::fromUtf8("centralwidget")); 00210 tabWidget = new QTabWidget(centralwidget); 00211 tabWidget->setObjectName(QString::fromUtf8("tabWidget")); 00212 tabWidget->setGeometry(QRect(0, 0, 661, 561)); 00213 tab_2 = new QWidget(); 00214 tab_2->setObjectName(QString::fromUtf8("tab_2")); 00215 groupBox = new QGroupBox(tab_2); 00216 groupBox->setObjectName(QString::fromUtf8("groupBox")); 00217 groupBox->setGeometry(QRect(20, 20, 401, 261)); 00218 horizontalSlider_3 = new QSlider(groupBox); 00219 horizontalSlider_3->setObjectName(QString::fromUtf8("horizontalSlider_3")); 00220 horizontalSlider_3->setGeometry(QRect(50, 90, 301, 20)); 00221 horizontalSlider_3->setMinimum(-50); 00222 horizontalSlider_3->setMaximum(50); 00223 horizontalSlider_3->setValue(0); 00224 horizontalSlider_3->setSliderPosition(0); 00225 horizontalSlider_3->setOrientation(Qt::Horizontal); 00226 horizontalSlider_2 = new QSlider(groupBox); 00227 horizontalSlider_2->setObjectName(QString::fromUtf8("horizontalSlider_2")); 00228 horizontalSlider_2->setGeometry(QRect(50, 30, 301, 20)); 00229 horizontalSlider_2->setMinimum(-50); 00230 horizontalSlider_2->setMaximum(50); 00231 horizontalSlider_2->setSliderPosition(0); 00232 horizontalSlider_2->setOrientation(Qt::Horizontal); 00233 horizontalSlider = new QSlider(groupBox); 00234 horizontalSlider->setObjectName(QString::fromUtf8("horizontalSlider")); 00235 horizontalSlider->setGeometry(QRect(50, 140, 301, 20)); 00236 horizontalSlider->setMinimum(-50); 00237 horizontalSlider->setMaximum(50); 00238 horizontalSlider->setSliderPosition(0); 00239 horizontalSlider->setOrientation(Qt::Horizontal); 00240 pushButton_2 = new QPushButton(groupBox); 00241 pushButton_2->setObjectName(QString::fromUtf8("pushButton_2")); 00242 pushButton_2->setGeometry(QRect(20, 30, 21, 26)); 00243 pushButton_3 = new QPushButton(groupBox); 00244 pushButton_3->setObjectName(QString::fromUtf8("pushButton_3")); 00245 pushButton_3->setGeometry(QRect(20, 90, 21, 26)); 00246 pushButton_4 = new QPushButton(groupBox); 00247 pushButton_4->setObjectName(QString::fromUtf8("pushButton_4")); 00248 pushButton_4->setGeometry(QRect(20, 140, 21, 26)); 00249 pushButton_8 = new QPushButton(groupBox); 00250 pushButton_8->setObjectName(QString::fromUtf8("pushButton_8")); 00251 pushButton_8->setGeometry(QRect(360, 30, 21, 26)); 00252 pushButton_9 = new QPushButton(groupBox); 00253 pushButton_9->setObjectName(QString::fromUtf8("pushButton_9")); 00254 pushButton_9->setGeometry(QRect(360, 90, 21, 26)); 00255 pushButton_10 = new QPushButton(groupBox); 00256 pushButton_10->setObjectName(QString::fromUtf8("pushButton_10")); 00257 pushButton_10->setGeometry(QRect(360, 140, 21, 26)); 00258 lcdNumber = new QLCDNumber(groupBox); 00259 lcdNumber->setObjectName(QString::fromUtf8("lcdNumber")); 00260 lcdNumber->setGeometry(QRect(170, 50, 64, 23)); 00261 lcdNumber_2 = new QLCDNumber(groupBox); 00262 lcdNumber_2->setObjectName(QString::fromUtf8("lcdNumber_2")); 00263 lcdNumber_2->setGeometry(QRect(170, 110, 64, 23)); 00264 lcdNumber_3 = new QLCDNumber(groupBox); 00265 lcdNumber_3->setObjectName(QString::fromUtf8("lcdNumber_3")); 00266 lcdNumber_3->setGeometry(QRect(170, 160, 64, 23)); 00267 groupBox_5 = new QGroupBox(groupBox); 00268 groupBox_5->setObjectName(QString::fromUtf8("groupBox_5")); 00269 groupBox_5->setGeometry(QRect(19, 199, 361, 51)); 00270 pushButton_12 = new QPushButton(groupBox_5); 00271 pushButton_12->setObjectName(QString::fromUtf8("pushButton_12")); 00272 pushButton_12->setGeometry(QRect(10, 10, 71, 26)); 00273 pushButton_13 = new QPushButton(groupBox_5); 00274 pushButton_13->setObjectName(QString::fromUtf8("pushButton_13")); 00275 pushButton_13->setGeometry(QRect(100, 10, 71, 26)); 00276 pushButton_14 = new QPushButton(groupBox_5); 00277 pushButton_14->setObjectName(QString::fromUtf8("pushButton_14")); 00278 pushButton_14->setGeometry(QRect(190, 10, 71, 26)); 00279 pushButton_11 = new QPushButton(groupBox_5); 00280 pushButton_11->setObjectName(QString::fromUtf8("pushButton_11")); 00281 pushButton_11->setGeometry(QRect(280, 10, 71, 26)); 00282 groupBox_4 = new QGroupBox(tab_2); 00283 groupBox_4->setObjectName(QString::fromUtf8("groupBox_4")); 00284 groupBox_4->setGeometry(QRect(440, 20, 201, 151)); 00285 comboBox = new QComboBox(groupBox_4); 00286 comboBox->setObjectName(QString::fromUtf8("comboBox")); 00287 comboBox->setGeometry(QRect(40, 30, 141, 25)); 00288 pushButton_5 = new QPushButton(groupBox_4); 00289 pushButton_5->setObjectName(QString::fromUtf8("pushButton_5")); 00290 pushButton_5->setGeometry(QRect(70, 60, 83, 26)); 00291 label_12 = new QLabel(groupBox_4); 00292 label_12->setObjectName(QString::fromUtf8("label_12")); 00293 label_12->setGeometry(QRect(10, 120, 101, 16)); 00294 label_13 = new QLabel(groupBox_4); 00295 label_13->setObjectName(QString::fromUtf8("label_13")); 00296 label_13->setGeometry(QRect(100, 120, 57, 15)); 00297 tabWidget->addTab(tab_2, QString()); 00298 tab = new QWidget(); 00299 tab->setObjectName(QString::fromUtf8("tab")); 00300 lineEdit = new QLineEdit(tab); 00301 lineEdit->setObjectName(QString::fromUtf8("lineEdit")); 00302 lineEdit->setGeometry(QRect(10, 480, 561, 27)); 00303 listWidget = new QListWidget(tab); 00304 new QListWidgetItem(listWidget); 00305 listWidget->setObjectName(QString::fromUtf8("listWidget")); 00306 listWidget->setGeometry(QRect(10, 10, 641, 461)); 00307 QPalette palette; 00308 QBrush brush(QColor(226, 0, 0, 255)); 00309 brush.setStyle(Qt::SolidPattern); 00310 palette.setBrush(QPalette::Active, QPalette::WindowText, brush); 00311 QBrush brush1(QColor(218, 4, 4, 255)); 00312 brush1.setStyle(Qt::SolidPattern); 00313 palette.setBrush(QPalette::Active, QPalette::Text, brush1); 00314 QBrush brush2(QColor(4, 4, 4, 255)); 00315 brush2.setStyle(Qt::SolidPattern); 00316 palette.setBrush(QPalette::Active, QPalette::Base, brush2); 00317 QBrush brush3(QColor(18, 183, 24, 255)); 00318 brush3.setStyle(Qt::SolidPattern); 00319 palette.setBrush(QPalette::Active, QPalette::Shadow, brush3); 00320 palette.setBrush(QPalette::Inactive, QPalette::WindowText, brush); 00321 palette.setBrush(QPalette::Inactive, QPalette::Text, brush1); 00322 palette.setBrush(QPalette::Inactive, QPalette::Base, brush2); 00323 palette.setBrush(QPalette::Inactive, QPalette::Shadow, brush3); 00324 QBrush brush4(QColor(118, 118, 117, 255)); 00325 brush4.setStyle(Qt::SolidPattern); 00326 palette.setBrush(QPalette::Disabled, QPalette::WindowText, brush4); 00327 palette.setBrush(QPalette::Disabled, QPalette::Text, brush4); 00328 QBrush brush5(QColor(255, 255, 255, 255)); 00329 brush5.setStyle(Qt::SolidPattern); 00330 palette.setBrush(QPalette::Disabled, QPalette::Base, brush5); 00331 palette.setBrush(QPalette::Disabled, QPalette::Shadow, brush3); 00332 listWidget->setPalette(palette); 00333 pushButton = new QPushButton(tab); 00334 pushButton->setObjectName(QString::fromUtf8("pushButton")); 00335 pushButton->setGeometry(QRect(580, 480, 71, 27)); 00336 tabWidget->addTab(tab, QString()); 00337 tab_3 = new QWidget(); 00338 tab_3->setObjectName(QString::fromUtf8("tab_3")); 00339 graphicsView = new QGraphicsView(tab_3); 00340 graphicsView->setObjectName(QString::fromUtf8("graphicsView")); 00341 graphicsView->setGeometry(QRect(0, 10, 651, 521)); 00342 tabWidget->addTab(tab_3, QString()); 00343 tab_4 = new QWidget(); 00344 tab_4->setObjectName(QString::fromUtf8("tab_4")); 00345 scrollArea = new QScrollArea(tab_4); 00346 scrollArea->setObjectName(QString::fromUtf8("scrollArea")); 00347 scrollArea->setGeometry(QRect(390, 0, 261, 521)); 00348 scrollArea->setWidgetResizable(true); 00349 scrollAreaWidgetContents = new QWidget(); 00350 scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents")); 00351 scrollAreaWidgetContents->setGeometry(QRect(0, 0, 257, 517)); 00352 listWidget_2 = new QListWidget(scrollAreaWidgetContents); 00353 new QListWidgetItem(listWidget_2); 00354 listWidget_2->setObjectName(QString::fromUtf8("listWidget_2")); 00355 listWidget_2->setGeometry(QRect(0, 0, 256, 521)); 00356 QPalette palette1; 00357 QBrush brush6(QColor(223, 0, 0, 255)); 00358 brush6.setStyle(Qt::SolidPattern); 00359 palette1.setBrush(QPalette::Active, QPalette::Text, brush6); 00360 QBrush brush7(QColor(0, 0, 0, 255)); 00361 brush7.setStyle(Qt::SolidPattern); 00362 palette1.setBrush(QPalette::Active, QPalette::Base, brush7); 00363 palette1.setBrush(QPalette::Inactive, QPalette::Text, brush6); 00364 palette1.setBrush(QPalette::Inactive, QPalette::Base, brush7); 00365 palette1.setBrush(QPalette::Disabled, QPalette::Text, brush4); 00366 palette1.setBrush(QPalette::Disabled, QPalette::Base, brush5); 00367 listWidget_2->setPalette(palette1); 00368 scrollArea->setWidget(scrollAreaWidgetContents); 00369 groupBox_2 = new QGroupBox(tab_4); 00370 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); 00371 groupBox_2->setGeometry(QRect(10, 0, 361, 131)); 00372 progressBar = new QProgressBar(groupBox_2); 00373 progressBar->setObjectName(QString::fromUtf8("progressBar")); 00374 progressBar->setGeometry(QRect(40, 30, 321, 23)); 00375 progressBar->setMaximum(255); 00376 progressBar->setValue(244); 00377 progressBar_2 = new QProgressBar(groupBox_2); 00378 progressBar_2->setObjectName(QString::fromUtf8("progressBar_2")); 00379 progressBar_2->setGeometry(QRect(40, 60, 321, 23)); 00380 progressBar_2->setMaximum(255); 00381 progressBar_2->setValue(24); 00382 progressBar_3 = new QProgressBar(groupBox_2); 00383 progressBar_3->setObjectName(QString::fromUtf8("progressBar_3")); 00384 progressBar_3->setGeometry(QRect(40, 90, 321, 23)); 00385 progressBar_3->setMaximum(255); 00386 progressBar_3->setValue(24); 00387 label = new QLabel(groupBox_2); 00388 label->setObjectName(QString::fromUtf8("label")); 00389 label->setGeometry(QRect(20, 30, 21, 17)); 00390 label_2 = new QLabel(groupBox_2); 00391 label_2->setObjectName(QString::fromUtf8("label_2")); 00392 label_2->setGeometry(QRect(20, 60, 21, 17)); 00393 label_3 = new QLabel(groupBox_2); 00394 label_3->setObjectName(QString::fromUtf8("label_3")); 00395 label_3->setGeometry(QRect(20, 90, 21, 17)); 00396 groupBox_3 = new QGroupBox(tab_4); 00397 groupBox_3->setObjectName(QString::fromUtf8("groupBox_3")); 00398 groupBox_3->setGeometry(QRect(20, 150, 341, 191)); 00399 label_4 = new QLabel(groupBox_3); 00400 label_4->setObjectName(QString::fromUtf8("label_4")); 00401 label_4->setGeometry(QRect(20, 30, 101, 17)); 00402 label_5 = new QLabel(groupBox_3); 00403 label_5->setObjectName(QString::fromUtf8("label_5")); 00404 label_5->setGeometry(QRect(20, 50, 101, 17)); 00405 label_6 = new QLabel(groupBox_3); 00406 label_6->setObjectName(QString::fromUtf8("label_6")); 00407 label_6->setGeometry(QRect(20, 70, 101, 17)); 00408 label_7 = new QLabel(groupBox_3); 00409 label_7->setObjectName(QString::fromUtf8("label_7")); 00410 label_7->setGeometry(QRect(20, 90, 101, 17)); 00411 label_8 = new QLabel(groupBox_3); 00412 label_8->setObjectName(QString::fromUtf8("label_8")); 00413 label_8->setGeometry(QRect(130, 30, 66, 17)); 00414 label_9 = new QLabel(groupBox_3); 00415 label_9->setObjectName(QString::fromUtf8("label_9")); 00416 label_9->setGeometry(QRect(130, 50, 66, 17)); 00417 label_10 = new QLabel(groupBox_3); 00418 label_10->setObjectName(QString::fromUtf8("label_10")); 00419 label_10->setGeometry(QRect(130, 70, 66, 17)); 00420 label_11 = new QLabel(groupBox_3); 00421 label_11->setObjectName(QString::fromUtf8("label_11")); 00422 label_11->setGeometry(QRect(130, 90, 66, 17)); 00423 tabWidget->addTab(tab_4, QString()); 00424 MainWindow->setCentralWidget(centralwidget); 00425 menubar = new QMenuBar(MainWindow); 00426 menubar->setObjectName(QString::fromUtf8("menubar")); 00427 menubar->setGeometry(QRect(0, 0, 663, 23)); 00428 menuFile = new QMenu(menubar); 00429 menuFile->setObjectName(QString::fromUtf8("menuFile")); 00430 menuConnect = new QMenu(menuFile); 00431 menuConnect->setObjectName(QString::fromUtf8("menuConnect")); 00432 menu_CNC_Controll = new QMenu(menubar); 00433 menu_CNC_Controll->setObjectName(QString::fromUtf8("menu_CNC_Controll")); 00434 menuMode = new QMenu(menu_CNC_Controll); 00435 menuMode->setObjectName(QString::fromUtf8("menuMode")); 00436 menuSettings = new QMenu(menubar); 00437 menuSettings->setObjectName(QString::fromUtf8("menuSettings")); 00438 menuDevices = new QMenu(menuSettings); 00439 menuDevices->setObjectName(QString::fromUtf8("menuDevices")); 00440 menu_Help = new QMenu(menubar); 00441 menu_Help->setObjectName(QString::fromUtf8("menu_Help")); 00442 MainWindow->setMenuBar(menubar); 00443 statusbar = new QStatusBar(MainWindow); 00444 statusbar->setObjectName(QString::fromUtf8("statusbar")); 00445 MainWindow->setStatusBar(statusbar); 00446 00447 menubar->addAction(menuFile->menuAction()); 00448 menubar->addAction(menu_CNC_Controll->menuAction()); 00449 menubar->addAction(menuSettings->menuAction()); 00450 menubar->addAction(menu_Help->menuAction()); 00451 menuFile->addAction(actionOpen_file); 00452 menuFile->addAction(menuConnect->menuAction()); 00453 menuFile->addSeparator(); 00454 menuFile->addAction(actionExit); 00455 menuConnect->addAction(actionConnect_to_TCP_IP_host); 00456 menuConnect->addAction(actionConnect_to_serial_debug_interface); 00457 menu_CNC_Controll->addAction(actionStart); 00458 menu_CNC_Controll->addAction(actionPause); 00459 menu_CNC_Controll->addAction(actionStop); 00460 menu_CNC_Controll->addAction(actionClear); 00461 menu_CNC_Controll->addAction(actionReset); 00462 menu_CNC_Controll->addSeparator(); 00463 menu_CNC_Controll->addAction(menuMode->menuAction()); 00464 menuMode->addAction(actionStandalone); 00465 menuMode->addAction(actionGUI_controll); 00466 menuMode->addAction(actionFile_Mode); 00467 menuSettings->addAction(menuDevices->menuAction()); 00468 menuSettings->addSeparator(); 00469 menuSettings->addAction(actionPreferences); 00470 menuDevices->addAction(actionTCP_IP); 00471 menuDevices->addAction(actionSerial_debug); 00472 menu_Help->addAction(actionAbout); 00473 menu_Help->addAction(actionAbout_QT); 00474 00475 retranslateUi(MainWindow); 00476 QObject::connect(actionExit, SIGNAL(triggered()), MainWindow, SLOT(close())); 00477 QObject::connect(horizontalSlider_2, SIGNAL(sliderMoved(int)), lcdNumber, SLOT(display(int))); 00478 QObject::connect(horizontalSlider_3, SIGNAL(sliderMoved(int)), lcdNumber_2, SLOT(display(int))); 00479 QObject::connect(horizontalSlider, SIGNAL(sliderMoved(int)), lcdNumber_3, SLOT(display(int))); 00480 00481 tabWidget->setCurrentIndex(3); 00482 00483 00484 QMetaObject::connectSlotsByName(MainWindow); 00485 } // setupUi 00486 00487 void retranslateUi(QMainWindow *MainWindow) 00488 { 00489 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8)); 00490 actionOpen_file->setText(QApplication::translate("MainWindow", "Open file", 0, QApplication::UnicodeUTF8)); 00491 actionOpen_file_queu->setText(QApplication::translate("MainWindow", "Open file queu", 0, QApplication::UnicodeUTF8)); 00492 actionExit->setText(QApplication::translate("MainWindow", "Exit", 0, QApplication::UnicodeUTF8)); 00493 actionConnect_to_TCP_IP_host->setText(QApplication::translate("MainWindow", "Connect to TCP/IP host", 0, QApplication::UnicodeUTF8)); 00494 actionConnect_to_serial_debug_interface->setText(QApplication::translate("MainWindow", "Connect to serial debug interface", 0, QApplication::UnicodeUTF8)); 00495 actionUSART_Debug->setText(QApplication::translate("MainWindow", "USART Debug", 0, QApplication::UnicodeUTF8)); 00496 actionDrawing_board->setText(QApplication::translate("MainWindow", "Drawing board", 0, QApplication::UnicodeUTF8)); 00497 actionPreview_current_job->setText(QApplication::translate("MainWindow", "Preview current job", 0, QApplication::UnicodeUTF8)); 00498 actionView_current_job_status->setText(QApplication::translate("MainWindow", "View current job status", 0, QApplication::UnicodeUTF8)); 00499 actionStart->setText(QApplication::translate("MainWindow", "Start", 0, QApplication::UnicodeUTF8)); 00500 actionPause->setText(QApplication::translate("MainWindow", "Pause", 0, QApplication::UnicodeUTF8)); 00501 actionStop->setText(QApplication::translate("MainWindow", "Stop", 0, QApplication::UnicodeUTF8)); 00502 actionClear->setText(QApplication::translate("MainWindow", "Clear", 0, QApplication::UnicodeUTF8)); 00503 actionReset->setText(QApplication::translate("MainWindow", "Reset", 0, QApplication::UnicodeUTF8)); 00504 actionSnap_out_Menu->setText(QApplication::translate("MainWindow", "Snap out Menu", 0, QApplication::UnicodeUTF8)); 00505 actionPreferences->setText(QApplication::translate("MainWindow", "Preferences", 0, QApplication::UnicodeUTF8)); 00506 actionTCP_IP->setText(QApplication::translate("MainWindow", "TCP/IP", 0, QApplication::UnicodeUTF8)); 00507 actionSerial_debug->setText(QApplication::translate("MainWindow", "Serial debug", 0, QApplication::UnicodeUTF8)); 00508 actionAbout->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8)); 00509 actionAbout_QT->setText(QApplication::translate("MainWindow", "About QT", 0, QApplication::UnicodeUTF8)); 00510 actionStandalone->setText(QApplication::translate("MainWindow", "Standalone Mode", 0, QApplication::UnicodeUTF8)); 00511 actionGUI_controll->setText(QApplication::translate("MainWindow", "GUI controll Mode", 0, QApplication::UnicodeUTF8)); 00512 actionFile_Mode->setText(QApplication::translate("MainWindow", "File Mode", 0, QApplication::UnicodeUTF8)); 00513 groupBox->setTitle(QApplication::translate("MainWindow", "Axis controll", 0, QApplication::UnicodeUTF8)); 00514 pushButton_2->setText(QApplication::translate("MainWindow", "<", 0, QApplication::UnicodeUTF8)); 00515 pushButton_3->setText(QApplication::translate("MainWindow", "<", 0, QApplication::UnicodeUTF8)); 00516 pushButton_4->setText(QApplication::translate("MainWindow", "<", 0, QApplication::UnicodeUTF8)); 00517 pushButton_8->setText(QApplication::translate("MainWindow", ">", 0, QApplication::UnicodeUTF8)); 00518 pushButton_9->setText(QApplication::translate("MainWindow", ">", 0, QApplication::UnicodeUTF8)); 00519 pushButton_10->setText(QApplication::translate("MainWindow", ">", 0, QApplication::UnicodeUTF8)); 00520 groupBox_5->setTitle(QString()); 00521 pushButton_12->setText(QApplication::translate("MainWindow", "Start", 0, QApplication::UnicodeUTF8)); 00522 pushButton_13->setText(QApplication::translate("MainWindow", "Stop", 0, QApplication::UnicodeUTF8)); 00523 pushButton_14->setText(QApplication::translate("MainWindow", "Pause", 0, QApplication::UnicodeUTF8)); 00524 pushButton_11->setText(QApplication::translate("MainWindow", "Clear", 0, QApplication::UnicodeUTF8)); 00525 groupBox_4->setTitle(QApplication::translate("MainWindow", "CNC mode", 0, QApplication::UnicodeUTF8)); 00526 comboBox->clear(); 00527 comboBox->insertItems(0, QStringList() 00528 << QApplication::translate("MainWindow", "File Mode", 0, QApplication::UnicodeUTF8) 00529 << QApplication::translate("MainWindow", "GUI controll Mode", 0, QApplication::UnicodeUTF8) 00530 << QApplication::translate("MainWindow", "Standalone Mode", 0, QApplication::UnicodeUTF8) 00531 ); 00532 pushButton_5->setText(QApplication::translate("MainWindow", "Se&t Mode", 0, QApplication::UnicodeUTF8)); 00533 label_12->setText(QApplication::translate("MainWindow", "Active Mode: ", 0, QApplication::UnicodeUTF8)); 00534 label_13->setText(QString()); 00535 tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("MainWindow", "Default view", 0, QApplication::UnicodeUTF8)); 00536 00537 const bool __sortingEnabled = listWidget->isSortingEnabled(); 00538 listWidget->setSortingEnabled(false); 00539 QListWidgetItem *___qlistwidgetitem = listWidget->item(0); 00540 ___qlistwidgetitem->setText(QApplication::translate("MainWindow", "lkjlkjklj", 0, QApplication::UnicodeUTF8)); 00541 listWidget->setSortingEnabled(__sortingEnabled); 00542 00543 pushButton->setText(QApplication::translate("MainWindow", "Send", 0, QApplication::UnicodeUTF8)); 00544 tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("MainWindow", "Serial Debug", 0, QApplication::UnicodeUTF8)); 00545 tabWidget->setTabText(tabWidget->indexOf(tab_3), QApplication::translate("MainWindow", "Preview job", 0, QApplication::UnicodeUTF8)); 00546 00547 const bool __sortingEnabled1 = listWidget_2->isSortingEnabled(); 00548 listWidget_2->setSortingEnabled(false); 00549 QListWidgetItem *___qlistwidgetitem1 = listWidget_2->item(0); 00550 ___qlistwidgetitem1->setText(QApplication::translate("MainWindow", ";ljkl;j", 0, QApplication::UnicodeUTF8)); 00551 listWidget_2->setSortingEnabled(__sortingEnabled1); 00552 00553 groupBox_2->setTitle(QApplication::translate("MainWindow", "Axis Value", 0, QApplication::UnicodeUTF8)); 00554 progressBar->setFormat(QApplication::translate("MainWindow", "%v/%m", 0, QApplication::UnicodeUTF8)); 00555 progressBar_2->setFormat(QApplication::translate("MainWindow", "%v/%m", 0, QApplication::UnicodeUTF8)); 00556 progressBar_3->setFormat(QApplication::translate("MainWindow", "%v/%m", 0, QApplication::UnicodeUTF8)); 00557 label->setText(QApplication::translate("MainWindow", "X", 0, QApplication::UnicodeUTF8)); 00558 label_2->setText(QApplication::translate("MainWindow", "Y", 0, QApplication::UnicodeUTF8)); 00559 label_3->setText(QApplication::translate("MainWindow", "Z", 0, QApplication::UnicodeUTF8)); 00560 groupBox_3->setTitle(QApplication::translate("MainWindow", "Task stati", 0, QApplication::UnicodeUTF8)); 00561 label_4->setText(QApplication::translate("MainWindow", "Controll: ", 0, QApplication::UnicodeUTF8)); 00562 label_5->setText(QApplication::translate("MainWindow", "TCP/IP Host: ", 0, QApplication::UnicodeUTF8)); 00563 label_6->setText(QApplication::translate("MainWindow", "oLED: ", 0, QApplication::UnicodeUTF8)); 00564 label_7->setText(QApplication::translate("MainWindow", "CNC machine: ", 0, QApplication::UnicodeUTF8)); 00565 label_8->setText(QApplication::translate("MainWindow", "Unknown", 0, QApplication::UnicodeUTF8)); 00566 label_9->setText(QApplication::translate("MainWindow", "Unknown", 0, QApplication::UnicodeUTF8)); 00567 label_10->setText(QApplication::translate("MainWindow", "Unknown", 0, QApplication::UnicodeUTF8)); 00568 label_11->setText(QApplication::translate("MainWindow", "Unknown", 0, QApplication::UnicodeUTF8)); 00569 tabWidget->setTabText(tabWidget->indexOf(tab_4), QApplication::translate("MainWindow", "Job Status", 0, QApplication::UnicodeUTF8)); 00570 menuFile->setTitle(QApplication::translate("MainWindow", "File", 0, QApplication::UnicodeUTF8)); 00571 menuConnect->setTitle(QApplication::translate("MainWindow", "Connect", 0, QApplication::UnicodeUTF8)); 00572 menu_CNC_Controll->setTitle(QApplication::translate("MainWindow", "&CNC Controll", 0, QApplication::UnicodeUTF8)); 00573 menuMode->setTitle(QApplication::translate("MainWindow", "Mode", 0, QApplication::UnicodeUTF8)); 00574 menuSettings->setTitle(QApplication::translate("MainWindow", "&Settings", 0, QApplication::UnicodeUTF8)); 00575 menuDevices->setTitle(QApplication::translate("MainWindow", "Devices", 0, QApplication::UnicodeUTF8)); 00576 menu_Help->setTitle(QApplication::translate("MainWindow", "&Help", 0, QApplication::UnicodeUTF8)); 00577 } // retranslateUi 00578 00579 }; 00580 00581 namespace Ui { 00582 class MainWindow: public Ui_MainWindow {}; 00583 } // namespace Ui 00584 00585 QT_END_NAMESPACE 00586 00587 #endif // MAIN_UI_H