Changeset 4ccf855df8 in tspsg for ui


Ignore:
Timestamp:
Dec 22, 2009, 8:56:21 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
f1fb54b9f7
Parents:
3bcb7e8910
Message:

+ Added Wait Cursor on city number change, because it can take some time (e.g. when changing from 5 to 50 cities).

  • Moved platform specific action definitions from .ui to source.
  • Changed random generation to include defined maximum (it was up to maximum previously).
  • Reverted from native to Qt open/save file dialog under WinCE, because it is more convenient than the native one.
  • English translation is now always loaded at application start before any other language is loaded. This is done to support plurals and some special characters that Qt translation system doesn't "like".
  • Updated translations to reflect recent changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ui/mainwindow.ui

    r3bcb7e8910 r4ccf855df8  
    88    <x>0</x>
    99    <y>0</y>
    10     <width>503</width>
    11     <height>387</height>
     10    <width>297</width>
     11    <height>353</height>
    1212   </rect>
    1313  </property>
     
    272272     <x>0</x>
    273273     <y>0</y>
    274      <width>503</width>
     274     <width>297</width>
    275275     <height>21</height>
    276276    </rect>
     
    364364   <addaction name="actionFileExit"/>
    365365  </widget>
    366   <action name="actionFilePrintPreview">
    367    <property name="enabled">
    368     <bool>false</bool>
    369    </property>
    370    <property name="icon">
    371     <iconset resource="../resources/tspsg.qrc">
    372      <normaloff>:/images/icons/document_preview.png</normaloff>:/images/icons/document_preview.png</iconset>
    373    </property>
    374    <property name="text">
    375     <string>P&amp;rint Preview...</string>
    376    </property>
    377    <property name="iconText">
    378     <string>Print Preview...</string>
    379    </property>
    380    <property name="toolTip">
    381     <string>Preview solution results</string>
    382    </property>
    383    <property name="statusTip">
    384     <string>Preview current solution results before printing</string>
    385    </property>
    386   </action>
    387   <action name="actionFilePrint">
    388    <property name="enabled">
    389     <bool>false</bool>
    390    </property>
    391    <property name="icon">
    392     <iconset resource="../resources/tspsg.qrc">
    393      <normaloff>:/images/icons/fileprint.png</normaloff>:/images/icons/fileprint.png</iconset>
    394    </property>
    395    <property name="text">
    396     <string>&amp;Print...</string>
    397    </property>
    398    <property name="iconText">
    399     <string>Print...</string>
    400    </property>
    401    <property name="toolTip">
    402     <string>Print solution</string>
    403    </property>
    404    <property name="statusTip">
    405     <string>Print current solution results</string>
    406    </property>
    407    <property name="shortcut">
    408     <string>Ctrl+P</string>
    409    </property>
    410   </action>
    411366  <action name="actionFileSaveAsSolution">
    412367   <property name="enabled">
     
    416371    <string>&amp;Solution...</string>
    417372   </property>
    418    <property name="iconText">
    419     <string>Solution...</string>
    420    </property>
    421373   <property name="toolTip">
    422374    <string>Save solution</string>
     
    434386    <string>&amp;New</string>
    435387   </property>
    436    <property name="iconText">
    437     <string>New</string>
    438    </property>
    439388   <property name="toolTip">
    440389    <string>New task</string>
     
    455404    <string>&amp;Open...</string>
    456405   </property>
    457    <property name="iconText">
    458     <string>Open...</string>
    459    </property>
    460406   <property name="toolTip">
    461407    <string>Open task</string>
     
    475421   <property name="text">
    476422    <string>&amp;Preferences...</string>
    477    </property>
    478    <property name="iconText">
    479     <string>Preferences...</string>
    480423   </property>
    481424   <property name="statusTip">
     
    527470    <string>&amp;About TSPSG...</string>
    528471   </property>
    529    <property name="iconText">
    530     <string>About TSPSG...</string>
    531    </property>
    532472   <property name="statusTip">
    533473    <string>About application</string>
     
    549489   <property name="text">
    550490    <string>&amp;Task...</string>
    551    </property>
    552    <property name="iconText">
    553     <string>Task...</string>
    554491   </property>
    555492   <property name="toolTip">
     
    599536    <string>&amp;Save</string>
    600537   </property>
    601    <property name="iconText">
    602     <string>Save</string>
    603    </property>
    604538   <property name="toolTip">
    605539    <string>Save task</string>
     
    619553   <property name="text">
    620554    <string>About &amp;Qt...</string>
    621    </property>
    622    <property name="iconText">
    623     <string>About Qt...</string>
    624555   </property>
    625556   <property name="statusTip">
Note: See TracChangeset for help on using the changeset viewer.