- Timestamp:
- Nov 14, 2016 4:58:29 PM (8 years ago)
- Location:
- palm/trunk/UTIL/mrungui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/UTIL/mrungui/about.ui
r798 r2069 7 7 <x>0</x> 8 8 <y>0</y> 9 <width> 280</width>10 <height>12 9</height>9 <width>300</width> 10 <height>127</height> 11 11 </rect> 12 12 </property> 13 13 <property name="windowTitle"> 14 <string>About MRUNgui</string>14 <string>About mrungui</string> 15 15 </property> 16 16 <widget class="QPushButton" name="button_ok"> 17 17 <property name="geometry"> 18 18 <rect> 19 <x>1 80</x>19 <x>195</x> 20 20 <y>95</y> 21 21 <width>91</width> … … 25 25 <property name="text"> 26 26 <string>Close</string> 27 </property>28 </widget>29 <widget class="QLabel" name="label_3">30 <property name="geometry">31 <rect>32 <x>10</x>33 <y>100</y>34 <width>141</width>35 <height>21</height>36 </rect>37 </property>38 <property name="text">39 <string>Based on Qt 4.7.4</string>40 </property>41 <property name="alignment">42 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>43 </property>44 <property name="wordWrap">45 <bool>true</bool>46 27 </property> 47 28 </widget> … … 63 44 </property> 64 45 <property name="text"> 65 <string> MRUN gui $Rev$</string>46 <string>mrungui</string> 66 47 </property> 67 48 </widget> 68 <widget class="QLabel" name="label_ 4">49 <widget class="QLabel" name="label_5"> 69 50 <property name="geometry"> 70 51 <rect> 71 52 <x>10</x> 72 <y> 75</y>73 <width>2 11</width>74 <height>3 1</height>53 <y>60</y> 54 <width>261</width> 55 <height>36</height> 75 56 </rect> 76 57 </property> 77 58 <property name="text"> 78 <string> $LastChangedBy$</string>59 <string>http://palm.muk.uni-hannover.de/</string> 79 60 </property> 80 61 <property name="alignment"> … … 85 66 </property> 86 67 </widget> 87 <widget class="QLabel" name="label_ 5">68 <widget class="QLabel" name="label_3"> 88 69 <property name="geometry"> 89 70 <rect> 90 71 <x>10</x> 91 <y> 40</y>92 <width>2 61</width>93 <height> 31</height>72 <y>25</y> 73 <width>274</width> 74 <height>41</height> 94 75 </rect> 95 76 </property> 77 <property name="font"> 78 <font> 79 <pointsize>12</pointsize> 80 <weight>75</weight> 81 <bold>true</bold> 82 </font> 83 </property> 96 84 <property name="text"> 97 <string>Written by the PALM group. Visit us at http://palm.muk.uni-hannover.de/</string> 98 </property> 99 <property name="alignment"> 100 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 101 </property> 102 <property name="wordWrap"> 103 <bool>true</bool> 85 <string>A graphical user interface for PALM</string> 104 86 </property> 105 87 </widget> -
palm/trunk/UTIL/mrungui/mainwindow.cpp
r2068 r2069 18 18 // Current revisions: 19 19 // ----------------- 20 // 20 // Bugfix: keep xterm alive for interactive runs 21 // Changed: some style improvements 21 22 // 22 23 // Former revisions: … … 221 222 QString mrunline = ui->commandline->text(); 222 223 QString userline = ui->line_user->text(); 223 224 QRect geomet; 225 QString posx; 226 QString posy; 227 224 228 // Check for empty line 225 229 mrunline_save = mrunline; … … 243 247 branch = branch.left(branch.length() - 14); 244 248 245 ui->commandline->setText("Executing MRUNin xterm...");249 ui->commandline->setText("Executing mrun in xterm..."); 246 250 247 251 // Wait until all commands have been executed (ugly) … … 254 258 mrun.setWorkingDirectory(branch); 255 259 256 mrunline = " -title \"Executing MRUN...\" -geometry \"100x55+970+0\" -e \""\ 260 geomet = frameGeometry(); 261 262 posx=QString::number(geomet.x()+geomet.width()); 263 posy=QString::number(geomet.y()); 264 265 mrunline = " -title \"Executing mrun...\" -fa \"Monospace\" -fs 11 -geometry \"80x38+"+posx+"+"+posy+"\" -e \""\ 257 266 +mrunline.replace("\"","\'")\ 258 +";echo -n '--> Press Enter to continue...';read yesno\"";267 +";echo -n '--> Press enter to continue...';read yesno\"</dev/stdin"; 259 268 260 269 mrun.start("xterm"+mrunline); … … 295 304 ui->button_start->setEnabled(true); 296 305 ui->action_save->setEnabled(true); 297 ui->button_start->setText(" MRUN Start");306 ui->button_start->setText("Start mrun"); 298 307 ui->commandline->setText(mrunline_save); 299 308 … … 577 586 if (usercode.exists() == true) 578 587 { 579 ui->label_usercode->setText(" User code found.");588 ui->label_usercode->setText("<font color='green'>User code found.</font>"); 580 589 } 581 590 else 582 591 { 583 ui->label_usercode->setText(" Warning: no user code found!");592 ui->label_usercode->setText("<font color='red'>Warning: no user code found!</font>"); 584 593 } 585 594 … … 595 604 else 596 605 { 597 ui->label_restart->setText(" Warning: No p3df file found!");606 ui->label_restart->setText("<font color='red'>Warning: No p3df file found!</font>"); 598 607 } 599 608 } … … 767 776 else 768 777 { 769 ui->label_restart->setText(" Warning: No p3df file found!");778 ui->label_restart->setText("<font color='red'>Warning: No p3df file found!</font>"); 770 779 } 771 780 } … … 1716 1725 else 1717 1726 { 1718 ui->label_restart->setText(" Warning: No p3df file \1719 found! ");1727 ui->label_restart->setText("<font color='red'>Warning: No p3df file \ 1728 found!</font>"); 1720 1729 } 1721 1730 } -
palm/trunk/UTIL/mrungui/mainwindow.ui
r2067 r2069 24 24 </property> 25 25 <property name="windowTitle"> 26 <string> MRUNgui</string>26 <string>mrungui</string> 27 27 </property> 28 28 <property name="iconSize"> … … 57 57 <property name="geometry"> 58 58 <rect> 59 <x>1 20</x>59 <x>140</x> 60 60 <y>10</y> 61 <width> 100</width>61 <width>90</width> 62 62 <height>24</height> 63 63 </rect> … … 75 75 <x>10</x> 76 76 <y>10</y> 77 <width>1 00</width>77 <width>120</width> 78 78 <height>24</height> 79 79 </rect> 80 80 </property> 81 81 <property name="text"> 82 <string> MRUN Start</string>82 <string>Start mrun</string> 83 83 </property> 84 84 </widget> … … 111 111 <property name="geometry"> 112 112 <rect> 113 <x>2 30</x>113 <x>240</x> 114 114 <y>10</y> 115 <width> 100</width>115 <width>90</width> 116 116 <height>24</height> 117 117 </rect> … … 1353 1353 <y>0</y> 1354 1354 <width>917</width> 1355 <height>2 0</height>1355 <height>21</height> 1356 1356 </rect> 1357 1357 </property> … … 1361 1361 <x>4137</x> 1362 1362 <y>194</y> 1363 <width>1 59</width>1364 <height>1 63</height>1363 <width>133</width> 1364 <height>182</height> 1365 1365 </rect> 1366 1366 </property> … … 1426 1426 <action name="action_about"> 1427 1427 <property name="text"> 1428 <string>About MRUNgui</string>1428 <string>About mrungui</string> 1429 1429 </property> 1430 1430 </action>
Note: See TracChangeset
for help on using the changeset viewer.