Changeset 1804 for palm/trunk/UTIL
- Timestamp:
- Apr 5, 2016 4:30:18 PM (9 years ago)
- Location:
- palm/trunk/UTIL/mrungui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/mrungui/main.cpp
r1047 r1804 18 18 // Current revisions: 19 19 // ----------------- 20 // Update for use with qt5 20 21 // 21 22 // Former revisions: … … 37 38 //----------------------------------------------------------------------------// 38 39 39 #include <Q tGui/QApplication>40 #include <QApplication> 40 41 #include "mainwindow.h" 41 42 #include <QProcess> -
palm/trunk/UTIL/mrungui/mainwindow.cpp
r1724 r1804 18 18 // Current revisions: 19 19 // ----------------- 20 // 20 // Removed parameter file check 21 // Update for use with qt5 21 22 // 22 23 // Former revisions: … … 53 54 //----------------------------------------------------------------------------// 54 55 55 #include <Q tGui/QApplication>56 #include <QApplication> 56 57 #include "mainwindow.h" 57 58 #include "ui_mainwindow.h" … … 230 231 ui->check_advanced->setEnabled(false); 231 232 ui->check_verbose->setEnabled(false); 232 ui->check_namelist_check->setEnabled(false);233 233 ui->button_start->setEnabled(false); 234 234 ui->button_start->setText("wait..."); … … 287 287 ui->check_advanced->setEnabled(true); 288 288 ui->check_verbose->setEnabled(true); 289 ui->check_namelist_check->setEnabled(true);290 289 ui->button_start->setEnabled(true); 291 290 ui->action_save->setEnabled(true); … … 1034 1033 } 1035 1034 1036 status = ui->check_namelist_check->checkState();1037 1038 if (status == 2)1039 {1040 activate_flag("z");1041 }1042 else1043 {1044 deactivate_flag("z");1045 }1046 1047 1035 status = ui->check_A->checkState(); 1048 1036 … … 1289 1277 int MainWindow::start_watchdog() 1290 1278 { 1291 system("nohup palm_wd >> /dev/null 2>&1 &"); 1292 1293 return 0; 1279 return system("nohup palm_wd >> /dev/null 2>&1 &"); 1280 1294 1281 } 1295 1282 … … 1489 1476 { 1490 1477 ui->check_verbose->setChecked(true); 1491 }1492 else if ( parameter == "z")1493 {1494 ui->check_namelist_check->setChecked(true);1495 1478 } 1496 1479 else if ( parameter == "A") -
palm/trunk/UTIL/mrungui/mainwindow.ui
r1723 r1804 808 808 </property> 809 809 </widget> 810 <widget class="QCheckBox" name="check_ namelist_check">810 <widget class="QCheckBox" name="check_cycfill"> 811 811 <property name="geometry"> 812 812 <rect> … … 814 814 <y>245</y> 815 815 <width>261</width> 816 <height>23</height>817 </rect>818 </property>819 <property name="text">820 <string>Skip namelist file check</string>821 </property>822 </widget>823 <widget class="QCheckBox" name="check_cycfill">824 <property name="geometry">825 <rect>826 <x>270</x>827 <y>197</y>828 <width>191</width>829 816 <height>21</height> 830 817 </rect> … … 1366 1353 <y>0</y> 1367 1354 <width>917</width> 1368 <height> 18</height>1355 <height>20</height> 1369 1356 </rect> 1370 1357 </property> … … 1374 1361 <x>2175</x> 1375 1362 <y>98</y> 1376 <width>1 20</width>1377 <height> 206</height>1363 <width>159</width> 1364 <height>186</height> 1378 1365 </rect> 1379 1366 </property> … … 2442 2429 </connection> 2443 2430 <connection> 2444 <sender>check_namelist_check</sender>2445 <signal>stateChanged(int)</signal>2446 <receiver>MainWindow</receiver>2447 <slot>check_flags()</slot>2448 <hints>2449 <hint type="sourcelabel">2450 <x>61</x>2451 <y>609</y>2452 </hint>2453 <hint type="destinationlabel">2454 <x>5</x>2455 <y>594</y>2456 </hint>2457 </hints>2458 </connection>2459 <connection>2460 2431 <sender>check_Z</sender> 2461 2432 <signal>stateChanged(int)</signal> -
palm/trunk/UTIL/mrungui/mrungui.pro
r794 r1804 3 3 # Current revisions: 4 4 # ----------------- 5 # 5 # Update for use with qt5 6 # 6 7 # Former revisions: 7 8 # ----------------- … … 18 19 QT += core gui 19 20 21 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 22 20 23 TARGET = mrungui.x 21 24 DESTDIR = ../../SCRIPTS/
Note: See TracChangeset
for help on using the changeset viewer.