Changeset 4427 for palm/trunk/SCRIPTS
- Timestamp:
- Feb 27, 2020 11:29:51 AM (5 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrungui
r4420 r4427 25 25 # ----------------- 26 26 # $Id$ 27 # Small fixes and adjustments 28 # 29 # 4420 2020-02-24 14:13:56Z maronga 27 30 # Bugfix: minor fixes related to start buttons 28 31 # … … 1154 1157 self.load_jobs() 1155 1158 self.setEnabled(True) 1159 self.update_input() 1156 1160 1157 1161 # Load jobs into list 1158 1162 def load_jobs(self): 1159 1163 1164 selected_job = self.list_jobs.currentItem() 1165 1166 if ( selected_job is not None ): 1167 jobname = selected_job.text() 1168 else: 1169 jobname = "" 1170 1160 1171 self.list_jobs.clear() 1161 1172 self.push_copy.setEnabled(False) … … 1173 1184 self.list_jobs.addItem(str(list_of_files[i])) 1174 1185 1186 1187 1188 item2int = self.list_jobs.findItems(jobname,QtCore.Qt.MatchCaseSensitive) 1189 1190 if ( item2int != [] ): 1191 self.list_jobs.setCurrentItem(item2int[0]) 1175 1192 1176 1193 -
palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui
r4420 r4427 85 85 <rect> 86 86 <x>150</x> 87 <y> 20</y>87 <y>15</y> 88 88 <width>90</width> 89 <height>2 1</height>89 <height>26</height> 90 90 </rect> 91 91 </property> … … 101 101 <rect> 102 102 <x>10</x> 103 <y> 20</y>103 <y>15</y> 104 104 <width>131</width> 105 <height>2 1</height>105 <height>26</height> 106 106 </rect> 107 107 </property> … … 123 123 <rect> 124 124 <x>250</x> 125 <y> 20</y>125 <y>15</y> 126 126 <width>90</width> 127 <height>2 1</height>127 <height>26</height> 128 128 </rect> 129 129 </property> … … 166 166 <property name="geometry"> 167 167 <rect> 168 <x>4 30</x>168 <x>470</x> 169 169 <y>20</y> 170 <width>3 51</width>171 <height>2 0</height>170 <width>311</width> 171 <height>21</height> 172 172 </rect> 173 173 </property> … … 179 179 <property name="geometry"> 180 180 <rect> 181 <x>3 40</x>181 <x>370</x> 182 182 <y>20</y> 183 183 <width>81</width> … … 232 232 <property name="geometry"> 233 233 <rect> 234 <x> 10</x>235 <y>3 95</y>236 <width>4 31</width>237 <height>2 66</height>234 <x>0</x> 235 <y>375</y> 236 <width>441</width> 237 <height>286</height> 238 238 </rect> 239 239 </property> … … 250 250 <property name="geometry"> 251 251 <rect> 252 <x>3 10</x>253 <y>5 0</y>254 <width>1 11</width>252 <x>330</x> 253 <y>55</y> 254 <width>101</width> 255 255 <height>21</height> 256 256 </rect> … … 266 266 <property name="geometry"> 267 267 <rect> 268 <x>2 30</x>269 <y>5 0</y>268 <x>250</x> 269 <y>55</y> 270 270 <width>71</width> 271 271 <height>21</height> … … 282 282 <property name="geometry"> 283 283 <rect> 284 <x>100</x> 285 <y>105</y> 284 <x>130</x> 285 <y>120</y> 286 <width>91</width> 287 <height>20</height> 288 </rect> 289 </property> 290 <property name="text"> 291 <string/> 292 </property> 293 </widget> 294 <widget class="QLabel" name="label_3"> 295 <property name="geometry"> 296 <rect> 297 <x>10</x> 298 <y>120</y> 299 <width>111</width> 300 <height>16</height> 301 </rect> 302 </property> 303 <property name="text"> 304 <string>Cores:</string> 305 </property> 306 <property name="alignment"> 307 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 308 </property> 309 </widget> 310 <widget class="QLineEdit" name="line_tpn"> 311 <property name="geometry"> 312 <rect> 313 <x>330</x> 314 <y>120</y> 315 <width>101</width> 316 <height>21</height> 317 </rect> 318 </property> 319 <property name="text"> 320 <string/> 321 </property> 322 </widget> 323 <widget class="QLabel" name="label_4"> 324 <property name="geometry"> 325 <rect> 326 <x>220</x> 327 <y>115</y> 328 <width>101</width> 329 <height>21</height> 330 </rect> 331 </property> 332 <property name="text"> 333 <string>Tasks per node:</string> 334 </property> 335 <property name="alignment"> 336 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 337 </property> 338 </widget> 339 <widget class="QLineEdit" name="line_account"> 340 <property name="geometry"> 341 <rect> 342 <x>330</x> 343 <y>145</y> 286 344 <width>101</width> 287 345 <height>20</height> … … 289 347 </property> 290 348 <property name="text"> 291 <string>10240</string> 292 </property> 293 </widget> 294 <widget class="QLabel" name="label_3"> 295 <property name="geometry"> 296 <rect> 297 <x>-20</x> 298 <y>105</y> 349 <string/> 350 </property> 351 </widget> 352 <widget class="QLabel" name="label_5"> 353 <property name="geometry"> 354 <rect> 355 <x>260</x> 356 <y>145</y> 357 <width>61</width> 358 <height>16</height> 359 </rect> 360 </property> 361 <property name="text"> 362 <string>Account:</string> 363 </property> 364 <property name="alignment"> 365 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 366 </property> 367 </widget> 368 <widget class="QLabel" name="label_6"> 369 <property name="geometry"> 370 <rect> 371 <x>10</x> 372 <y>145</y> 299 373 <width>111</width> 300 374 <height>16</height> … … 302 376 </property> 303 377 <property name="text"> 304 <string> Cores:</string>378 <string>Wallclock time (s):</string> 305 379 </property> 306 380 <property name="alignment"> … … 308 382 </property> 309 383 </widget> 310 <widget class="QLineEdit" name="line_tpn"> 311 <property name="geometry"> 312 <rect> 313 <x>310</x> 314 <y>105</y> 315 <width>111</width> 316 <height>21</height> 317 </rect> 318 </property> 319 <property name="text"> 320 <string>100</string> 321 </property> 322 </widget> 323 <widget class="QLabel" name="label_4"> 324 <property name="geometry"> 325 <rect> 326 <x>200</x> 327 <y>100</y> 328 <width>101</width> 329 <height>21</height> 330 </rect> 331 </property> 332 <property name="text"> 333 <string>Tasks per node:</string> 384 <widget class="QLineEdit" name="line_time"> 385 <property name="geometry"> 386 <rect> 387 <x>130</x> 388 <y>145</y> 389 <width>91</width> 390 <height>20</height> 391 </rect> 392 </property> 393 <property name="text"> 394 <string/> 395 </property> 396 </widget> 397 <widget class="QLabel" name="label_7"> 398 <property name="geometry"> 399 <rect> 400 <x>30</x> 401 <y>90</y> 402 <width>91</width> 403 <height>16</height> 404 </rect> 405 </property> 406 <property name="text"> 407 <string>Configuration:</string> 408 </property> 409 <property name="scaledContents"> 410 <bool>false</bool> 334 411 </property> 335 412 <property name="alignment"> … … 337 414 </property> 338 415 </widget> 339 <widget class="QLineEdit" name="line_account">340 <property name="geometry">341 <rect>342 <x>310</x>343 <y>130</y>344 <width>111</width>345 <height>20</height>346 </rect>347 </property>348 <property name="text">349 <string/>350 </property>351 </widget>352 <widget class="QLabel" name="label_5">353 <property name="geometry">354 <rect>355 <x>200</x>356 <y>130</y>357 <width>101</width>358 <height>16</height>359 </rect>360 </property>361 <property name="text">362 <string>Project account:</string>363 </property>364 <property name="alignment">365 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>366 </property>367 </widget>368 <widget class="QLabel" name="label_6">369 <property name="geometry">370 <rect>371 <x>-10</x>372 <y>130</y>373 <width>101</width>374 <height>16</height>375 </rect>376 </property>377 <property name="text">378 <string>Wallclock time:</string>379 </property>380 <property name="alignment">381 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>382 </property>383 </widget>384 <widget class="QLineEdit" name="line_time">385 <property name="geometry">386 <rect>387 <x>100</x>388 <y>130</y>389 <width>101</width>390 <height>20</height>391 </rect>392 </property>393 <property name="text">394 <string>432000</string>395 </property>396 </widget>397 <widget class="QLabel" name="label_7">398 <property name="geometry">399 <rect>400 <x>0</x>401 <y>80</y>402 <width>91</width>403 <height>16</height>404 </rect>405 </property>406 <property name="text">407 <string>Configuration:</string>408 </property>409 <property name="scaledContents">410 <bool>false</bool>411 </property>412 <property name="alignment">413 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set>414 </property>415 </widget>416 416 <widget class="Line" name="line"> 417 417 <property name="geometry"> 418 418 <rect> 419 419 <x>10</x> 420 <y>1 50</y>420 <y>165</y> 421 421 <width>411</width> 422 422 <height>20</height> … … 431 431 <rect> 432 432 <x>10</x> 433 <y>1 65</y>433 <y>180</y> 434 434 <width>121</width> 435 435 <height>23</height> … … 444 444 <rect> 445 445 <x>10</x> 446 <y> 185</y>446 <y>200</y> 447 447 <width>281</width> 448 448 <height>23</height> … … 457 457 <rect> 458 458 <x>10</x> 459 <y>2 05</y>459 <y>220</y> 460 460 <width>261</width> 461 461 <height>23</height> … … 492 492 <rect> 493 493 <x>10</x> 494 <y>2 25</y>494 <y>240</y> 495 495 <width>261</width> 496 496 <height>21</height> … … 505 505 <rect> 506 506 <x>10</x> 507 <y>2 45</y>507 <y>260</y> 508 508 <width>261</width> 509 509 <height>21</height> … … 523 523 <y>55</y> 524 524 <width>191</width> 525 <height>2 1</height>525 <height>26</height> 526 526 </rect> 527 527 </property> … … 560 560 <property name="geometry"> 561 561 <rect> 562 <x>1 00</x>562 <x>110</x> 563 563 <y>20</y> 564 564 <width>321</width> … … 586 586 <rect> 587 587 <x>10</x> 588 <y> 55</y>588 <y>60</y> 589 589 <width>41</width> 590 590 <height>16</height> … … 604 604 <property name="geometry"> 605 605 <rect> 606 <x> 0</x>606 <x>10</x> 607 607 <y>25</y> 608 608 <width>91</width> … … 626 626 </property> 627 627 </widget> 628 <widget class="Q Label" name="palm_logo">628 <widget class="QPushButton" name="button_palmbuild"> 629 629 <property name="geometry"> 630 630 <rect> 631 631 <x>330</x> 632 <y>180</y> 633 <width>77</width> 634 <height>72</height> 635 </rect> 636 </property> 637 <property name="text"> 638 <string>TextLabel</string> 639 </property> 640 <property name="scaledContents"> 641 <bool>true</bool> 642 </property> 643 </widget> 644 <widget class="QPushButton" name="button_palmbuild"> 645 <property name="geometry"> 646 <rect> 647 <x>310</x> 648 <y>80</y> 649 <width>111</width> 650 <height>21</height> 632 <y>85</y> 633 <width>101</width> 634 <height>26</height> 651 635 </rect> 652 636 </property> … … 658 642 <property name="geometry"> 659 643 <rect> 660 <x>1 00</x>661 <y>8 0</y>662 <width> 201</width>663 <height>2 1</height>644 <x>130</x> 645 <y>85</y> 646 <width>191</width> 647 <height>26</height> 664 648 </rect> 665 649 </property> … … 679 663 </property> 680 664 </widget> 681 <widget class="QPushButton" name="push_create_set">682 <property name="geometry">683 <rect>684 <x>560</x>685 <y>630</y>686 <width>131</width>687 <height>24</height>688 </rect>689 </property>690 <property name="text">691 <string>Create set from job</string>692 </property>693 </widget>694 <widget class="QPushButton" name="push_copy">695 <property name="geometry">696 <rect>697 <x>460</x>698 <y>630</y>699 <width>91</width>700 <height>24</height>701 </rect>702 </property>703 <property name="text">704 <string>Copy job</string>705 </property>706 </widget>707 665 <widget class="QLineEdit" name="line_path"> 708 666 <property name="enabled"> … … 921 879 </property> 922 880 </widget> 881 <widget class="QPushButton" name="push_copy"> 882 <property name="geometry"> 883 <rect> 884 <x>10</x> 885 <y>625</y> 886 <width>91</width> 887 <height>24</height> 888 </rect> 889 </property> 890 <property name="text"> 891 <string>Copy job</string> 892 </property> 893 </widget> 894 <widget class="QPushButton" name="push_create_set"> 895 <property name="geometry"> 896 <rect> 897 <x>110</x> 898 <y>625</y> 899 <width>131</width> 900 <height>24</height> 901 </rect> 902 </property> 903 <property name="text"> 904 <string>Create set from job</string> 905 </property> 906 </widget> 907 <widget class="QLabel" name="palm_logo"> 908 <property name="geometry"> 909 <rect> 910 <x>630</x> 911 <y>5</y> 912 <width>77</width> 913 <height>72</height> 914 </rect> 915 </property> 916 <property name="text"> 917 <string>TextLabel</string> 918 </property> 919 <property name="scaledContents"> 920 <bool>true</bool> 921 </property> 922 </widget> 923 <zorder>list_jobs</zorder> 924 <zorder>list_input</zorder> 925 <zorder>list_user</zorder> 926 <zorder>label_11</zorder> 927 <zorder>label_10</zorder> 928 <zorder>label_12</zorder> 929 <zorder>push_update</zorder> 930 <zorder>list_output</zorder> 931 <zorder>label_14</zorder> 932 <zorder>list_monitoring</zorder> 933 <zorder>label_15</zorder> 934 <zorder>push_copy</zorder> 935 <zorder>push_create_set</zorder> 936 <zorder>palm_logo</zorder> 937 <zorder>palm_logo</zorder> 923 938 </widget> 924 939 <widget class="QGroupBox" name="group_history"> 925 940 <property name="geometry"> 926 941 <rect> 927 <x> 10</x>942 <x>0</x> 928 943 <y>5</y> 929 <width>4 31</width>930 <height>3 81</height>944 <width>441</width> 945 <height>371</height> 931 946 </rect> 932 947 </property> … … 943 958 <y>50</y> 944 959 <width>411</width> 945 <height>3 21</height>960 <height>311</height> 946 961 </rect> 947 962 </property> … … 967 982 <zorder>group_execution</zorder> 968 983 <zorder>label_9</zorder> 969 <zorder>push_create_set</zorder>970 <zorder>push_copy</zorder>971 984 <zorder>line_path</zorder> 972 985 <zorder>group_history</zorder>
Note: See TracChangeset
for help on using the changeset viewer.