Changeset 4427 for palm


Ignore:
Timestamp:
Feb 27, 2020 11:29:51 AM (4 years ago)
Author:
maronga
Message:

small adjustments in palmrungui

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrungui

    r4420 r4427  
    2525# -----------------
    2626# $Id$
     27# Small fixes and adjustments
     28#
     29# 4420 2020-02-24 14:13:56Z maronga
    2730# Bugfix: minor fixes related to start buttons
    2831#
     
    11541157       self.load_jobs()
    11551158       self.setEnabled(True)
     1159       self.update_input()
    11561160
    11571161    # Load jobs into list
    11581162    def load_jobs(self):
    11591163       
     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
    11601171       self.list_jobs.clear()
    11611172       self.push_copy.setEnabled(False)
     
    11731184             self.list_jobs.addItem(str(list_of_files[i]))
    11741185       
     1186
     1187
     1188       item2int = self.list_jobs.findItems(jobname,QtCore.Qt.MatchCaseSensitive)
     1189       
     1190       if ( item2int != [] ):
     1191          self.list_jobs.setCurrentItem(item2int[0])
    11751192
    11761193
  • palm/trunk/SCRIPTS/palmrungui_files/mainwindow.ui

    r4420 r4427  
    8585      <rect>
    8686       <x>150</x>
    87        <y>20</y>
     87       <y>15</y>
    8888       <width>90</width>
    89        <height>21</height>
     89       <height>26</height>
    9090      </rect>
    9191     </property>
     
    101101      <rect>
    102102       <x>10</x>
    103        <y>20</y>
     103       <y>15</y>
    104104       <width>131</width>
    105        <height>21</height>
     105       <height>26</height>
    106106      </rect>
    107107     </property>
     
    123123      <rect>
    124124       <x>250</x>
    125        <y>20</y>
     125       <y>15</y>
    126126       <width>90</width>
    127        <height>21</height>
     127       <height>26</height>
    128128      </rect>
    129129     </property>
     
    166166     <property name="geometry">
    167167      <rect>
    168        <x>430</x>
     168       <x>470</x>
    169169       <y>20</y>
    170        <width>351</width>
    171        <height>20</height>
     170       <width>311</width>
     171       <height>21</height>
    172172      </rect>
    173173     </property>
     
    179179     <property name="geometry">
    180180      <rect>
    181        <x>340</x>
     181       <x>370</x>
    182182       <y>20</y>
    183183       <width>81</width>
     
    232232      <property name="geometry">
    233233       <rect>
    234         <x>10</x>
    235         <y>395</y>
    236         <width>431</width>
    237         <height>266</height>
     234        <x>0</x>
     235        <y>375</y>
     236        <width>441</width>
     237        <height>286</height>
    238238       </rect>
    239239      </property>
     
    250250       <property name="geometry">
    251251        <rect>
    252          <x>310</x>
    253          <y>50</y>
    254          <width>111</width>
     252         <x>330</x>
     253         <y>55</y>
     254         <width>101</width>
    255255         <height>21</height>
    256256        </rect>
     
    266266       <property name="geometry">
    267267        <rect>
    268          <x>230</x>
    269          <y>50</y>
     268         <x>250</x>
     269         <y>55</y>
    270270         <width>71</width>
    271271         <height>21</height>
     
    282282       <property name="geometry">
    283283        <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>
    286344         <width>101</width>
    287345         <height>20</height>
     
    289347       </property>
    290348       <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>
    299373         <width>111</width>
    300374         <height>16</height>
     
    302376       </property>
    303377       <property name="text">
    304         <string>Cores:</string>
     378        <string>Wallclock time (s):</string>
    305379       </property>
    306380       <property name="alignment">
     
    308382       </property>
    309383      </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>
    334411       </property>
    335412       <property name="alignment">
     
    337414       </property>
    338415      </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>
    416416      <widget class="Line" name="line">
    417417       <property name="geometry">
    418418        <rect>
    419419         <x>10</x>
    420          <y>150</y>
     420         <y>165</y>
    421421         <width>411</width>
    422422         <height>20</height>
     
    431431        <rect>
    432432         <x>10</x>
    433          <y>165</y>
     433         <y>180</y>
    434434         <width>121</width>
    435435         <height>23</height>
     
    444444        <rect>
    445445         <x>10</x>
    446          <y>185</y>
     446         <y>200</y>
    447447         <width>281</width>
    448448         <height>23</height>
     
    457457        <rect>
    458458         <x>10</x>
    459          <y>205</y>
     459         <y>220</y>
    460460         <width>261</width>
    461461         <height>23</height>
     
    492492        <rect>
    493493         <x>10</x>
    494          <y>225</y>
     494         <y>240</y>
    495495         <width>261</width>
    496496         <height>21</height>
     
    505505        <rect>
    506506         <x>10</x>
    507          <y>245</y>
     507         <y>260</y>
    508508         <width>261</width>
    509509         <height>21</height>
     
    523523         <y>55</y>
    524524         <width>191</width>
    525          <height>21</height>
     525         <height>26</height>
    526526        </rect>
    527527       </property>
     
    560560       <property name="geometry">
    561561        <rect>
    562          <x>100</x>
     562         <x>110</x>
    563563         <y>20</y>
    564564         <width>321</width>
     
    586586        <rect>
    587587         <x>10</x>
    588          <y>55</y>
     588         <y>60</y>
    589589         <width>41</width>
    590590         <height>16</height>
     
    604604       <property name="geometry">
    605605        <rect>
    606          <x>0</x>
     606         <x>10</x>
    607607         <y>25</y>
    608608         <width>91</width>
     
    626626       </property>
    627627      </widget>
    628       <widget class="QLabel" name="palm_logo">
     628      <widget class="QPushButton" name="button_palmbuild">
    629629       <property name="geometry">
    630630        <rect>
    631631         <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>
    651635        </rect>
    652636       </property>
     
    658642       <property name="geometry">
    659643        <rect>
    660          <x>100</x>
    661          <y>80</y>
    662          <width>201</width>
    663          <height>21</height>
     644         <x>130</x>
     645         <y>85</y>
     646         <width>191</width>
     647         <height>26</height>
    664648        </rect>
    665649       </property>
     
    679663      </property>
    680664     </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>
    707665     <widget class="QLineEdit" name="line_path">
    708666      <property name="enabled">
     
    921879       </property>
    922880      </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>
    923938     </widget>
    924939     <widget class="QGroupBox" name="group_history">
    925940      <property name="geometry">
    926941       <rect>
    927         <x>10</x>
     942        <x>0</x>
    928943        <y>5</y>
    929         <width>431</width>
    930         <height>381</height>
     944        <width>441</width>
     945        <height>371</height>
    931946       </rect>
    932947      </property>
     
    943958         <y>50</y>
    944959         <width>411</width>
    945          <height>321</height>
     960         <height>311</height>
    946961        </rect>
    947962       </property>
     
    967982     <zorder>group_execution</zorder>
    968983     <zorder>label_9</zorder>
    969      <zorder>push_create_set</zorder>
    970      <zorder>push_copy</zorder>
    971984     <zorder>line_path</zorder>
    972985     <zorder>group_history</zorder>
Note: See TracChangeset for help on using the changeset viewer.