Changeset 29 in tspsg-svn for trunk/ui/mainwindow.ce.ui


Ignore:
Timestamp:
Jun 24, 2009, 6:54:10 PM (15 years ago)
Author:
laleppa
Message:

+ Selected application language is now saved and restored.
+ Added language selection entries to main menu.
+ On-the-fly language switching.
+ Loading corresponding Qt library language, if exists.

  • File/New? sets all table cells to zeros.
  • Translation updates to reflect recent changes.
  • Renamed language files from language names to language codes.
  • Renamed some slot to have unified signal/slot naming.
  • Printer settings are now persistant until application close.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ui/mainwindow.ce.ui

    r27 r29  
    282282     <string>&amp;Settings</string>
    283283    </property>
    284     <addaction name="actionSettingsSettings"/>
     284    <widget class="QMenu" name="menuSettingsLanguage">
     285     <property name="toolTip">
     286      <string>Select language</string>
     287     </property>
     288     <property name="statusTip">
     289      <string>Select application language</string>
     290     </property>
     291     <property name="title">
     292      <string extracomment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
     293     </property>
     294     <addaction name="actionSettingsLanguageAutodetect"/>
     295    </widget>
     296    <addaction name="menuSettingsLanguage"/>
     297    <addaction name="separator"/>
     298    <addaction name="actionSettingsPreferences"/>
    285299   </widget>
    286300   <widget class="QMenu" name="menuHelp">
     
    317331   <addaction name="actionFileSaveTask"/>
    318332   <addaction name="separator"/>
    319    <addaction name="actionSettingsSettings"/>
     333   <addaction name="actionSettingsPreferences"/>
    320334   <addaction name="separator"/>
    321335   <addaction name="actionFileExit"/>
     
    408422   </property>
    409423  </action>
    410   <action name="actionSettingsSettings">
     424  <action name="actionSettingsPreferences">
    411425   <property name="icon">
    412426    <iconset resource="../resources/tspsg.qrc">
     
    502516   <property name="shortcut">
    503517    <string>Ctrl+S</string>
     518   </property>
     519  </action>
     520  <action name="actionSettingsLanguageAutodetect">
     521   <property name="checkable">
     522    <bool>true</bool>
     523   </property>
     524   <property name="checked">
     525    <bool>true</bool>
     526   </property>
     527   <property name="text">
     528    <string>&amp;Autodetect</string>
     529   </property>
     530   <property name="toolTip">
     531    <string>Detect language automatically</string>
     532   </property>
     533   <property name="statusTip">
     534    <string>Detect language automatically based on regional settings</string>
    504535   </property>
    505536  </action>
Note: See TracChangeset for help on using the changeset viewer.