Changeset 818 for palm/trunk/UTIL


Ignore:
Timestamp:
Feb 8, 2012 4:11:23 PM (12 years ago)
Author:
maronga
Message:

bugfix: namelist file check now possible for topography and re-enabled. mrungui update (-z option)

Location:
palm/trunk/UTIL/mrungui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/UTIL/mrungui/mainwindow.cpp

    r812 r818  
    22// Current revisions:
    33// -----------------
    4 //
     4// New: flag parameter -z implemented (used for skipping parameter file check)
    55//
    66// Former revisions:
     
    199199    ui->check_advanced->setEnabled(false);
    200200    ui->check_verbose->setEnabled(false);
     201    ui->check_namelist_check->setEnabled(false);
    201202    ui->button_start->setEnabled(false);
    202203    ui->button_start->setText("wait...");
     
    255256    ui->check_advanced->setEnabled(true);
    256257    ui->check_verbose->setEnabled(true);
     258    ui->check_namelist_check->setEnabled(true);
    257259    ui->button_start->setEnabled(true);
    258260    ui->action_save->setEnabled(true);
     
    990992    }
    991993
     994    status = ui->check_namelist_check->checkState();
     995
     996    if (status == 2)
     997    {
     998        activate_flag("z");
     999    }
     1000    else
     1001    {
     1002        deactivate_flag("z");
     1003    }
     1004
    9921005    status = ui->check_A->checkState();
    9931006
     
    14141427            {
    14151428               ui->check_verbose->setChecked(true);
     1429            }
     1430            else if ( parameter == "z")
     1431            {
     1432               ui->check_namelist_check->setChecked(true);
    14161433            }
    14171434            else if ( parameter == "A")
  • palm/trunk/UTIL/mrungui/mainwindow.ui

    r809 r818  
    4646     <rect>
    4747      <x>10</x>
    48       <y>590</y>
     48      <y>595</y>
    4949      <width>901</width>
    50       <height>71</height>
     50      <height>61</height>
    5151     </rect>
    5252    </property>
     
    9090      <rect>
    9191       <x>10</x>
    92        <y>40</y>
     92       <y>35</y>
    9393       <width>881</width>
    9494       <height>25</height>
     
    400400     <rect>
    401401      <x>10</x>
    402       <y>325</y>
     402      <y>320</y>
    403403      <width>491</width>
    404       <height>261</height>
     404      <height>271</height>
    405405     </rect>
    406406    </property>
     
    690690      <rect>
    691691       <x>7</x>
    692        <y>160</y>
     692       <y>155</y>
    693693       <width>481</width>
    694694       <height>16</height>
     
    703703      <rect>
    704704       <x>10</x>
    705        <y>180</y>
     705       <y>170</y>
    706706       <width>121</width>
    707707       <height>23</height>
     
    716716      <rect>
    717717       <x>10</x>
    718        <y>205</y>
     718       <y>195</y>
    719719       <width>271</width>
    720720       <height>23</height>
     
    777777      <rect>
    778778       <x>10</x>
    779        <y>230</y>
     779       <y>220</y>
    780780       <width>261</width>
    781781       <height>23</height>
     
    783783     </property>
    784784     <property name="text">
    785       <string>No prompt on confirmation</string>
     785      <string>No prompt on confirmation (silent)</string>
    786786     </property>
    787787    </widget>
     
    793793      <rect>
    794794       <x>130</x>
    795        <y>180</y>
     795       <y>170</y>
    796796       <width>241</width>
    797797       <height>21</height>
     
    806806     <property name="text">
    807807      <string/>
     808     </property>
     809    </widget>
     810    <widget class="QCheckBox" name="check_namelist_check">
     811     <property name="geometry">
     812      <rect>
     813       <x>10</x>
     814       <y>245</y>
     815       <width>261</width>
     816       <height>23</height>
     817      </rect>
     818     </property>
     819     <property name="text">
     820      <string>Skip namelist file check</string>
    808821     </property>
    809822    </widget>
     
    13601373    <addaction name="action_about"/>
    13611374   </widget>
    1362    <widget class="QMenu" name="menuTools">
    1363     <property name="title">
    1364      <string>Tools</string>
    1365     </property>
    1366     <addaction name="actionCheck_parameter_file"/>
    1367    </widget>
    13681375   <addaction name="menuStart"/>
    1369    <addaction name="menuTools"/>
    13701376   <addaction name="menuHelp"/>
    13711377  </widget>
     
    14841490    <hint type="sourcelabel">
    14851491     <x>160</x>
    1486      <y>687</y>
     1492     <y>657</y>
    14871493    </hint>
    14881494    <hint type="destinationlabel">
     
    15001506    <hint type="sourcelabel">
    15011507     <x>73</x>
    1502      <y>687</y>
     1508     <y>657</y>
    15031509    </hint>
    15041510    <hint type="destinationlabel">
     
    17561762    <hint type="sourcelabel">
    17571763     <x>72</x>
    1758      <y>571</y>
     1764     <y>541</y>
    17591765    </hint>
    17601766    <hint type="destinationlabel">
     
    17721778    <hint type="sourcelabel">
    17731779     <x>76</x>
    1774      <y>596</y>
     1780     <y>566</y>
    17751781    </hint>
    17761782    <hint type="destinationlabel">
     
    17881794    <hint type="sourcelabel">
    17891795     <x>53</x>
    1790      <y>626</y>
     1796     <y>591</y>
    17911797    </hint>
    17921798    <hint type="destinationlabel">
     
    19321938    <hint type="sourcelabel">
    19331939     <x>119</x>
    1934      <y>407</y>
     1940     <y>403</y>
    19351941    </hint>
    19361942    <hint type="destinationlabel">
     
    19481954    <hint type="sourcelabel">
    19491955     <x>149</x>
    1950      <y>431</y>
     1956     <y>428</y>
    19511957    </hint>
    19521958    <hint type="destinationlabel">
     
    19801986    <hint type="sourcelabel">
    19811987     <x>179</x>
    1982      <y>482</y>
     1988     <y>478</y>
    19831989    </hint>
    19841990    <hint type="destinationlabel">
     
    20122018    <hint type="sourcelabel">
    20132019     <x>361</x>
    2014      <y>429</y>
     2020     <y>428</y>
    20152021    </hint>
    20162022    <hint type="destinationlabel">
     
    20442050    <hint type="sourcelabel">
    20452051     <x>262</x>
    2046      <y>508</y>
     2052     <y>503</y>
    20472053    </hint>
    20482054    <hint type="destinationlabel">
     
    20602066    <hint type="sourcelabel">
    20612067     <x>324</x>
    2062      <y>504</y>
     2068     <y>503</y>
    20632069    </hint>
    20642070    <hint type="destinationlabel">
     
    21712177   <hints>
    21722178    <hint type="sourcelabel">
    2173      <x>906</x>
     2179     <x>900</x>
    21742180     <y>513</y>
    21752181    </hint>
     
    21872193   <hints>
    21882194    <hint type="sourcelabel">
    2189      <x>919</x>
     2195     <x>900</x>
    21902196     <y>538</y>
    21912197    </hint>
     
    22032209   <hints>
    22042210    <hint type="sourcelabel">
    2205      <x>917</x>
     2211     <x>900</x>
    22062212     <y>563</y>
    22072213    </hint>
     
    22522258    <hint type="sourcelabel">
    22532259     <x>307</x>
    2254      <y>675</y>
     2260     <y>657</y>
    22552261    </hint>
    22562262    <hint type="destinationlabel">
     
    22672273   <hints>
    22682274    <hint type="sourcelabel">
    2269      <x>904</x>
    2270      <y>333</y>
     2275     <x>900</x>
     2276     <y>343</y>
    22712277    </hint>
    22722278    <hint type="destinationlabel">
     
    24012407     <x>4</x>
    24022408     <y>122</y>
     2409    </hint>
     2410   </hints>
     2411  </connection>
     2412  <connection>
     2413   <sender>check_namelist_check</sender>
     2414   <signal>stateChanged(int)</signal>
     2415   <receiver>MainWindow</receiver>
     2416   <slot>check_flags()</slot>
     2417   <hints>
     2418    <hint type="sourcelabel">
     2419     <x>61</x>
     2420     <y>609</y>
     2421    </hint>
     2422    <hint type="destinationlabel">
     2423     <x>5</x>
     2424     <y>594</y>
    24032425    </hint>
    24042426   </hints>
Note: See TracChangeset for help on using the changeset viewer.