Changeset e3533af1cf in tspsg for ui


Ignore:
Timestamp:
Apr 30, 2010, 5:59:09 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:
2bbe924ad8
Parents:
e51c78af27
git-author:
Oleksii Serdiuk <contacts@…> (04/30/10 17:59:09)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:42)
Message:

+ Added support for switching between available Qt Styles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ui/mainwindow.ui

    re51c78af27 re3533af1cf  
    66  <property name="geometry">
    77   <rect>
    8         <x>0</x>
    9         <y>0</y>
    10         <width>550</width>
    11         <height>450</height>
     8    <x>0</x>
     9    <y>0</y>
     10    <width>550</width>
     11    <height>450</height>
    1212   </rect>
    1313  </property>
     
    1717  <property name="windowIcon">
    1818   <iconset resource="../resources/tspsg.qrc">
    19         <normaloff>:/images/tspsg.png</normaloff>:/images/tspsg.png</iconset>
     19    <normaloff>:/images/tspsg.png</normaloff>:/images/tspsg.png</iconset>
    2020  </property>
    2121  <widget class="QTabWidget" name="tabWidget">
    2222   <property name="tabPosition">
    23         <enum>QTabWidget::North</enum>
     23    <enum>QTabWidget::North</enum>
    2424   </property>
    2525   <widget class="QWidget" name="tabTask">
    26         <attribute name="title">
    27         <string>Task</string>
    28         </attribute>
    29         <layout class="QVBoxLayout" name="_2">
    30         <item>
    31           <layout class="QHBoxLayout" name="_4">
    32            <item>
    33                 <spacer name="spacer">
    34                 <property name="orientation">
    35                   <enum>Qt::Horizontal</enum>
    36                 </property>
    37                 <property name="sizeHint" stdset="0">
    38                   <size>
    39                    <width>40</width>
    40                    <height>20</height>
    41                   </size>
    42                 </property>
    43                 </spacer>
    44            </item>
    45            <item>
    46                 <widget class="QLabel" name="labelVariant">
    47                 <property name="text">
    48                   <string>&amp;Variant:</string>
    49                 </property>
    50                 <property name="buddy">
    51                   <cstring>spinVariant</cstring>
    52                 </property>
    53                 </widget>
    54            </item>
    55            <item>
    56                 <widget class="QSpinBox" name="spinVariant">
    57                 <property name="cursor">
    58                   <cursorShape>PointingHandCursor</cursorShape>
    59                 </property>
    60                 <property name="statusTip">
    61                   <string>Number of variant</string>
    62                 </property>
    63                 <property name="minimum">
    64                   <number>1</number>
    65                 </property>
    66                 </widget>
    67            </item>
    68            <item>
    69                 <widget class="QLabel" name="labelCities">
    70                 <property name="text">
    71                   <string>&amp;Cities:</string>
    72                 </property>
    73                 <property name="buddy">
    74                   <cstring>spinCities</cstring>
    75                 </property>
    76                 </widget>
    77            </item>
    78            <item>
    79                 <widget class="QSpinBox" name="spinCities">
    80                 <property name="cursor">
    81                   <cursorShape>PointingHandCursor</cursorShape>
    82                 </property>
    83                 <property name="statusTip">
    84                   <string>Number of cities</string>
    85                 </property>
    86                 <property name="minimum">
    87                   <number>3</number>
    88                 </property>
    89                 <property name="value">
    90                   <number>5</number>
    91                 </property>
    92                 </widget>
    93            </item>
    94            <item>
    95                 <spacer name="spacer_2">
    96                 <property name="orientation">
    97                   <enum>Qt::Horizontal</enum>
    98                 </property>
    99                 <property name="sizeHint" stdset="0">
    100                   <size>
    101                    <width>40</width>
    102                    <height>20</height>
    103                   </size>
    104                 </property>
    105                 </spacer>
    106            </item>
    107           </layout>
    108         </item>
    109         <item>
    110           <widget class="QTableView" name="taskView">
    111            <property name="statusTip">
    112                 <string>Cost of travel from city to city</string>
    113            </property>
    114            <property name="selectionMode">
    115                 <enum>QAbstractItemView::NoSelection</enum>
    116            </property>
    117           </widget>
    118         </item>
    119         <item>
    120           <layout class="QHBoxLayout" name="_5">
    121            <item>
    122                 <spacer name="spacer_3">
    123                 <property name="orientation">
    124                   <enum>Qt::Horizontal</enum>
    125                 </property>
    126                 <property name="sizeHint" stdset="0">
    127                   <size>
    128                    <width>40</width>
    129                    <height>20</height>
    130                   </size>
    131                 </property>
    132                 </spacer>
    133            </item>
    134            <item>
    135                 <widget class="QPushButton" name="buttonRandom">
    136                 <property name="cursor">
    137                   <cursorShape>PointingHandCursor</cursorShape>
    138                 </property>
    139                 <property name="statusTip">
    140                   <string>Fill table with random numbers</string>
    141                 </property>
    142                 <property name="text">
    143                   <string>Random</string>
    144                 </property>
    145                 <property name="icon">
    146                   <iconset resource="../resources/tspsg.qrc">
    147                    <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
    148                 </property>
    149                 </widget>
    150            </item>
    151            <item>
    152                 <widget class="QPushButton" name="buttonSolve">
    153                 <property name="cursor">
    154                   <cursorShape>PointingHandCursor</cursorShape>
    155                 </property>
    156                 <property name="statusTip">
    157                   <string>Solve current task</string>
    158                 </property>
    159                 <property name="text">
    160                   <string>Solve</string>
    161                 </property>
    162                 <property name="icon">
    163                   <iconset resource="../resources/tspsg.qrc">
    164                    <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
    165                 </property>
    166                 </widget>
    167            </item>
    168           </layout>
    169         </item>
    170         </layout>
     26    <attribute name="title">
     27    <string>Task</string>
     28    </attribute>
     29    <layout class="QVBoxLayout" name="_2">
     30    <item>
     31      <layout class="QHBoxLayout" name="_4">
     32       <item>
     33        <spacer name="spacer">
     34        <property name="orientation">
     35          <enum>Qt::Horizontal</enum>
     36        </property>
     37        <property name="sizeHint" stdset="0">
     38          <size>
     39           <width>40</width>
     40           <height>20</height>
     41          </size>
     42        </property>
     43        </spacer>
     44       </item>
     45       <item>
     46        <widget class="QLabel" name="labelVariant">
     47        <property name="text">
     48          <string>&amp;Variant:</string>
     49        </property>
     50        <property name="buddy">
     51          <cstring>spinVariant</cstring>
     52        </property>
     53        </widget>
     54       </item>
     55       <item>
     56        <widget class="QSpinBox" name="spinVariant">
     57        <property name="cursor">
     58          <cursorShape>PointingHandCursor</cursorShape>
     59        </property>
     60        <property name="statusTip">
     61          <string>Number of variant</string>
     62        </property>
     63        <property name="minimum">
     64          <number>1</number>
     65        </property>
     66        </widget>
     67       </item>
     68       <item>
     69        <widget class="QLabel" name="labelCities">
     70        <property name="text">
     71          <string>&amp;Cities:</string>
     72        </property>
     73        <property name="buddy">
     74          <cstring>spinCities</cstring>
     75        </property>
     76        </widget>
     77       </item>
     78       <item>
     79        <widget class="QSpinBox" name="spinCities">
     80        <property name="cursor">
     81          <cursorShape>PointingHandCursor</cursorShape>
     82        </property>
     83        <property name="statusTip">
     84          <string>Number of cities</string>
     85        </property>
     86        <property name="minimum">
     87          <number>3</number>
     88        </property>
     89        <property name="value">
     90          <number>5</number>
     91        </property>
     92        </widget>
     93       </item>
     94       <item>
     95        <spacer name="spacer_2">
     96        <property name="orientation">
     97          <enum>Qt::Horizontal</enum>
     98        </property>
     99        <property name="sizeHint" stdset="0">
     100          <size>
     101           <width>40</width>
     102           <height>20</height>
     103          </size>
     104        </property>
     105        </spacer>
     106       </item>
     107      </layout>
     108    </item>
     109    <item>
     110      <widget class="QTableView" name="taskView">
     111       <property name="statusTip">
     112        <string>Cost of travel from city to city</string>
     113       </property>
     114       <property name="selectionMode">
     115        <enum>QAbstractItemView::NoSelection</enum>
     116       </property>
     117      </widget>
     118    </item>
     119    <item>
     120      <layout class="QHBoxLayout" name="_5">
     121       <item>
     122        <spacer name="spacer_3">
     123        <property name="orientation">
     124          <enum>Qt::Horizontal</enum>
     125        </property>
     126        <property name="sizeHint" stdset="0">
     127          <size>
     128           <width>40</width>
     129           <height>20</height>
     130          </size>
     131        </property>
     132        </spacer>
     133       </item>
     134       <item>
     135        <widget class="QPushButton" name="buttonRandom">
     136        <property name="cursor">
     137          <cursorShape>PointingHandCursor</cursorShape>
     138        </property>
     139        <property name="statusTip">
     140          <string>Fill table with random numbers</string>
     141        </property>
     142        <property name="text">
     143          <string>Random</string>
     144        </property>
     145        <property name="icon">
     146          <iconset resource="../resources/tspsg.qrc">
     147           <normaloff>:/images/icons/roll.png</normaloff>:/images/icons/roll.png</iconset>
     148        </property>
     149        </widget>
     150       </item>
     151       <item>
     152        <widget class="QPushButton" name="buttonSolve">
     153        <property name="cursor">
     154          <cursorShape>PointingHandCursor</cursorShape>
     155        </property>
     156        <property name="statusTip">
     157          <string>Solve current task</string>
     158        </property>
     159        <property name="text">
     160          <string>Solve</string>
     161        </property>
     162        <property name="icon">
     163          <iconset resource="../resources/tspsg.qrc">
     164           <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
     165        </property>
     166        </widget>
     167       </item>
     168      </layout>
     169    </item>
     170    </layout>
    171171   </widget>
    172172   <widget class="QWidget" name="tabSolution">
    173         <attribute name="title">
    174         <string>Solution</string>
    175         </attribute>
    176         <layout class="QVBoxLayout" name="_3">
    177         <item>
    178           <widget class="QTextEdit" name="solutionText">
    179            <property name="enabled">
    180                 <bool>false</bool>
    181            </property>
    182            <property name="statusTip">
    183                 <string>Solution steps</string>
    184            </property>
    185            <property name="undoRedoEnabled">
    186                 <bool>false</bool>
    187            </property>
    188            <property name="readOnly">
    189                 <bool>true</bool>
    190            </property>
    191            <property name="textInteractionFlags">
    192                 <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
    193            </property>
    194           </widget>
    195         </item>
    196         <item>
    197           <layout class="QHBoxLayout" name="_6">
    198            <item>
    199                 <widget class="QPushButton" name="buttonSaveSolution">
    200                 <property name="enabled">
    201                   <bool>false</bool>
    202                 </property>
    203                 <property name="cursor">
    204                   <cursorShape>PointingHandCursor</cursorShape>
    205                 </property>
    206                 <property name="statusTip">
    207                   <string>Save solution to a file</string>
    208                 </property>
    209                 <property name="text">
    210                   <string>Save Solution</string>
    211                 </property>
    212                 <property name="icon">
    213                   <iconset resource="../resources/tspsg.qrc">
    214                    <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
    215                 </property>
    216                 </widget>
    217            </item>
    218            <item>
    219                 <spacer name="spacer_4">
    220                 <property name="orientation">
    221                   <enum>Qt::Horizontal</enum>
    222                 </property>
    223                 <property name="sizeHint" stdset="0">
    224                   <size>
    225                    <width>40</width>
    226                    <height>20</height>
    227                   </size>
    228                 </property>
    229                 </spacer>
    230            </item>
    231            <item>
    232                 <widget class="QPushButton" name="buttonBackToTask">
    233                 <property name="cursor">
    234                   <cursorShape>PointingHandCursor</cursorShape>
    235                 </property>
    236                 <property name="statusTip">
    237                   <string>Go back to Task tab</string>
    238                 </property>
    239                 <property name="text">
    240                   <string>Back to Task</string>
    241                 </property>
    242                 <property name="icon">
    243                   <iconset resource="../resources/tspsg.qrc">
    244                    <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
    245                 </property>
    246                 </widget>
    247            </item>
    248           </layout>
    249         </item>
    250         </layout>
     173    <attribute name="title">
     174    <string>Solution</string>
     175    </attribute>
     176    <layout class="QVBoxLayout" name="_3">
     177    <item>
     178      <widget class="QTextEdit" name="solutionText">
     179       <property name="enabled">
     180        <bool>false</bool>
     181       </property>
     182       <property name="statusTip">
     183        <string>Solution steps</string>
     184       </property>
     185       <property name="undoRedoEnabled">
     186        <bool>false</bool>
     187       </property>
     188       <property name="readOnly">
     189        <bool>true</bool>
     190       </property>
     191       <property name="textInteractionFlags">
     192        <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
     193       </property>
     194      </widget>
     195    </item>
     196    <item>
     197      <layout class="QHBoxLayout" name="_6">
     198       <item>
     199        <widget class="QPushButton" name="buttonSaveSolution">
     200        <property name="enabled">
     201          <bool>false</bool>
     202        </property>
     203        <property name="cursor">
     204          <cursorShape>PointingHandCursor</cursorShape>
     205        </property>
     206        <property name="statusTip">
     207          <string>Save solution to a file</string>
     208        </property>
     209        <property name="text">
     210          <string>Save Solution</string>
     211        </property>
     212        <property name="icon">
     213          <iconset resource="../resources/tspsg.qrc">
     214           <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     215        </property>
     216        </widget>
     217       </item>
     218       <item>
     219        <spacer name="spacer_4">
     220        <property name="orientation">
     221          <enum>Qt::Horizontal</enum>
     222        </property>
     223        <property name="sizeHint" stdset="0">
     224          <size>
     225           <width>40</width>
     226           <height>20</height>
     227          </size>
     228        </property>
     229        </spacer>
     230       </item>
     231       <item>
     232        <widget class="QPushButton" name="buttonBackToTask">
     233        <property name="cursor">
     234          <cursorShape>PointingHandCursor</cursorShape>
     235        </property>
     236        <property name="statusTip">
     237          <string>Go back to Task tab</string>
     238        </property>
     239        <property name="text">
     240          <string>Back to Task</string>
     241        </property>
     242        <property name="icon">
     243          <iconset resource="../resources/tspsg.qrc">
     244           <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
     245        </property>
     246        </widget>
     247       </item>
     248      </layout>
     249    </item>
     250    </layout>
    251251   </widget>
    252252  </widget>
    253253  <widget class="QMenuBar" name="menubar">
    254254   <property name="geometry">
    255         <rect>
    256         <x>0</x>
    257         <y>0</y>
    258          <width>550</width>
    259         <height>21</height>
    260         </rect>
     255    <rect>
     256    <x>0</x>
     257    <y>0</y>
     258     <width>540</width>
     259    <height>21</height>
     260    </rect>
    261261   </property>
    262262   <widget class="QMenu" name="menuFile">
    263         <property name="windowIcon">
    264         <iconset>
    265           <normaloff/>
    266         </iconset>
    267         </property>
    268         <property name="title">
    269         <string>&amp;File</string>
    270         </property>
    271         <widget class="QMenu" name="menuFileSaveAs">
    272         <property name="title">
    273           <string>Save &amp;As</string>
    274         </property>
    275         <property name="icon">
    276           <iconset resource="../resources/tspsg.qrc">
    277            <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
    278         </property>
    279         <addaction name="actionFileSaveAsTask"/>
    280         <addaction name="actionFileSaveAsSolution"/>
    281         </widget>
    282         <addaction name="actionFileNew"/>
    283         <addaction name="actionFileOpen"/>
    284         <addaction name="actionFileSave"/>
    285         <addaction name="menuFileSaveAs"/>
    286         <addaction name="separator"/>
    287         <addaction name="actionFileExit"/>
     263    <property name="windowIcon">
     264    <iconset>
     265      <normaloff/>
     266    </iconset>
     267    </property>
     268    <property name="title">
     269    <string>&amp;File</string>
     270    </property>
     271    <widget class="QMenu" name="menuFileSaveAs">
     272    <property name="title">
     273      <string>Save &amp;As</string>
     274    </property>
     275    <property name="icon">
     276      <iconset resource="../resources/tspsg.qrc">
     277       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     278    </property>
     279    <addaction name="actionFileSaveAsTask"/>
     280    <addaction name="actionFileSaveAsSolution"/>
     281    </widget>
     282    <addaction name="actionFileNew"/>
     283    <addaction name="actionFileOpen"/>
     284    <addaction name="actionFileSave"/>
     285    <addaction name="menuFileSaveAs"/>
     286    <addaction name="separator"/>
     287    <addaction name="actionFileExit"/>
    288288   </widget>
    289289   <widget class="QMenu" name="menuSettings">
    290         <property name="title">
    291          <string>&amp;Settings</string>
    292         </property>
    293         <widget class="QMenu" name="menuSettingsLanguage">
    294          <property name="toolTip">
    295           <string>Select language</string>
    296          </property>
    297          <property name="statusTip">
    298           <string>Select application language</string>
    299          </property>
    300          <property name="title">
    301           <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
    302          </property>
    303          <property name="icon">
    304           <iconset resource="../resources/tspsg.qrc">
    305            <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
    306          </property>
    307          <addaction name="actionSettingsLanguageAutodetect"/>
    308          <addaction name="separator"/>
    309          <addaction name="actionSettingsLanguageEnglish"/>
    310         </widget>
    311         <addaction name="menuSettingsLanguage"/>
    312         <addaction name="actionSettingsPreferences"/>
     290    <property name="title">
     291     <string>&amp;Settings</string>
     292    </property>
     293    <widget class="QMenu" name="menuSettingsLanguage">
     294     <property name="toolTip">
     295      <string>Select language</string>
     296     </property>
     297     <property name="statusTip">
     298      <string>Select application language</string>
     299     </property>
     300     <property name="title">
     301      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
     302     </property>
     303     <property name="icon">
     304      <iconset resource="../resources/tspsg.qrc">
     305       <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
     306     </property>
     307     <addaction name="actionSettingsLanguageAutodetect"/>
     308     <addaction name="separator"/>
     309     <addaction name="actionSettingsLanguageEnglish"/>
     310    </widget>
     311    <widget class="QMenu" name="menuSettingsStyle">
     312     <property name="title">
     313      <string>Style</string>
     314     </property>
     315    </widget>
     316    <addaction name="menuSettingsLanguage"/>
     317    <addaction name="menuSettingsStyle"/>
     318    <addaction name="actionSettingsPreferences"/>
    313319   </widget>
    314320   <widget class="QMenu" name="menuHelp">
    315         <property name="title">
    316         <string>&amp;Help</string>
    317         </property>
    318         <addaction name="actionHelpContents"/>
    319         <addaction name="actionHelpContextual"/>
    320         <addaction name="separator"/>
    321         <addaction name="actionHelpAboutQt"/>
    322         <addaction name="actionHelpAbout"/>
     321    <property name="title">
     322    <string>&amp;Help</string>
     323    </property>
     324    <addaction name="actionHelpContents"/>
     325    <addaction name="actionHelpContextual"/>
     326    <addaction name="separator"/>
     327    <addaction name="actionHelpAboutQt"/>
     328    <addaction name="actionHelpAbout"/>
    323329   </widget>
    324330   <addaction name="menuFile"/>
     
    328334  <widget class="QToolBar" name="toolBar">
    329335   <property name="cursor">
    330         <cursorShape>ArrowCursor</cursorShape>
     336    <cursorShape>ArrowCursor</cursorShape>
    331337   </property>
    332338   <property name="windowTitle">
    333         <string>Toolbar</string>
     339    <string>Toolbar</string>
    334340   </property>
    335341   <attribute name="toolBarArea">
    336         <enum>TopToolBarArea</enum>
     342    <enum>TopToolBarArea</enum>
    337343   </attribute>
    338344   <attribute name="toolBarBreak">
    339         <bool>false</bool>
     345    <bool>false</bool>
    340346   </attribute>
    341347   <addaction name="actionFileNew"/>
     
    349355  <action name="actionFileSaveAsSolution">
    350356   <property name="enabled">
    351         <bool>false</bool>
    352    </property>
    353    <property name="text">
    354         <string>&amp;Solution...</string>
     357    <bool>false</bool>
     358   </property>
     359   <property name="text">
     360    <string>&amp;Solution...</string>
    355361   </property>
    356362   <property name="toolTip">
    357         <string>Save solution</string>
    358    </property>
    359    <property name="statusTip">
    360         <string>Save solution to a file</string>
     363    <string>Save solution</string>
     364   </property>
     365   <property name="statusTip">
     366    <string>Save solution to a file</string>
    361367   </property>
    362368  </action>
    363369  <action name="actionFileNew">
    364370   <property name="icon">
    365         <iconset resource="../resources/tspsg.qrc">
    366         <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
    367    </property>
    368    <property name="text">
    369         <string>&amp;New</string>
     371    <iconset resource="../resources/tspsg.qrc">
     372    <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
     373   </property>
     374   <property name="text">
     375    <string>&amp;New</string>
    370376   </property>
    371377   <property name="toolTip">
    372         <string>New task</string>
    373    </property>
    374    <property name="statusTip">
    375         <string>Create new task</string>
     378    <string>New task</string>
     379   </property>
     380   <property name="statusTip">
     381    <string>Create new task</string>
    376382   </property>
    377383   <property name="shortcut">
    378         <string>Ctrl+N</string>
     384    <string>Ctrl+N</string>
    379385   </property>
    380386  </action>
    381387  <action name="actionFileOpen">
    382388   <property name="icon">
    383         <iconset resource="../resources/tspsg.qrc">
    384         <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
    385    </property>
    386    <property name="text">
    387         <string>&amp;Open...</string>
     389    <iconset resource="../resources/tspsg.qrc">
     390    <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
     391   </property>
     392   <property name="text">
     393    <string>&amp;Open...</string>
    388394   </property>
    389395   <property name="toolTip">
    390         <string>Open task</string>
    391    </property>
    392    <property name="statusTip">
    393         <string>Open saved task</string>
     396    <string>Open task</string>
     397   </property>
     398   <property name="statusTip">
     399    <string>Open saved task</string>
    394400   </property>
    395401   <property name="shortcut">
    396         <string>Ctrl+O</string>
     402    <string>Ctrl+O</string>
    397403   </property>
    398404  </action>
    399405  <action name="actionSettingsPreferences">
    400406   <property name="icon">
    401         <iconset resource="../resources/tspsg.qrc">
    402         <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
    403    </property>
    404    <property name="text">
    405         <string>&amp;Preferences...</string>
    406    </property>
    407    <property name="statusTip">
    408         <string>Application preferences</string>
     407    <iconset resource="../resources/tspsg.qrc">
     408    <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
     409   </property>
     410   <property name="text">
     411    <string>&amp;Preferences...</string>
     412   </property>
     413   <property name="statusTip">
     414    <string>Application preferences</string>
    409415   </property>
    410416  </action>
    411417  <action name="actionHelpContents">
    412418   <property name="enabled">
    413         <bool>false</bool>
    414    </property>
    415    <property name="icon">
    416         <iconset resource="../resources/tspsg.qrc">
    417         <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
    418    </property>
    419    <property name="text">
    420         <string>&amp;Contents</string>
    421    </property>
    422    <property name="statusTip">
    423         <string>Open help contents</string>
     419    <bool>false</bool>
     420   </property>
     421   <property name="icon">
     422    <iconset resource="../resources/tspsg.qrc">
     423    <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
     424   </property>
     425   <property name="text">
     426    <string>&amp;Contents</string>
     427   </property>
     428   <property name="statusTip">
     429    <string>Open help contents</string>
    424430   </property>
    425431   <property name="shortcut">
    426         <string>Ctrl+F1</string>
     432    <string>Ctrl+F1</string>
    427433   </property>
    428434  </action>
    429435  <action name="actionHelpContextual">
    430436   <property name="enabled">
    431         <bool>false</bool>
    432    </property>
    433    <property name="icon">
    434         <iconset resource="../resources/tspsg.qrc">
    435         <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
    436    </property>
    437    <property name="text">
    438         <string>Context &amp;Help</string>
    439    </property>
    440    <property name="statusTip">
    441         <string>Open context help</string>
     437    <bool>false</bool>
     438   </property>
     439   <property name="icon">
     440    <iconset resource="../resources/tspsg.qrc">
     441    <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
     442   </property>
     443   <property name="text">
     444    <string>Context &amp;Help</string>
     445   </property>
     446   <property name="statusTip">
     447    <string>Open context help</string>
    442448   </property>
    443449   <property name="shortcut">
    444         <string>F1</string>
     450    <string>F1</string>
    445451   </property>
    446452  </action>
    447453  <action name="actionHelpAbout">
    448454   <property name="icon">
    449         <iconset resource="../resources/tspsg.qrc">
    450         <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
    451    </property>
    452    <property name="text">
    453         <string>&amp;About TSPSG...</string>
    454    </property>
    455    <property name="statusTip">
    456         <string>About application</string>
     455    <iconset resource="../resources/tspsg.qrc">
     456    <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
     457   </property>
     458   <property name="text">
     459    <string>&amp;About TSPSG...</string>
     460   </property>
     461   <property name="statusTip">
     462    <string>About application</string>
    457463   </property>
    458464  </action>
    459465  <action name="actionFileExit">
    460466   <property name="icon">
    461         <iconset resource="../resources/tspsg.qrc">
    462         <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
    463    </property>
    464    <property name="text">
    465         <string>E&amp;xit</string>
    466    </property>
    467    <property name="statusTip">
    468         <string>Exit application</string>
     467    <iconset resource="../resources/tspsg.qrc">
     468    <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
     469   </property>
     470   <property name="text">
     471    <string>E&amp;xit</string>
     472   </property>
     473   <property name="statusTip">
     474    <string>Exit application</string>
    469475   </property>
    470476  </action>
    471477  <action name="actionFileSaveAsTask">
    472478   <property name="text">
    473         <string>&amp;Task...</string>
     479    <string>&amp;Task...</string>
    474480   </property>
    475481   <property name="toolTip">
    476         <string>Save task</string>
    477    </property>
    478    <property name="statusTip">
    479         <string>Save task to file</string>
     482    <string>Save task</string>
     483   </property>
     484   <property name="statusTip">
     485    <string>Save task to file</string>
    480486   </property>
    481487  </action>
    482488  <action name="actionSettingsLanguageAutodetect">
    483489   <property name="checkable">
    484         <bool>true</bool>
     490    <bool>true</bool>
    485491   </property>
    486492   <property name="checked">
    487         <bool>true</bool>
    488    </property>
    489    <property name="text">
    490         <string>&amp;Autodetect</string>
     493    <bool>true</bool>
     494   </property>
     495   <property name="text">
     496    <string>&amp;Autodetect</string>
    491497   </property>
    492498   <property name="toolTip">
    493         <string>Detect language automatically</string>
    494    </property>
    495    <property name="statusTip">
    496         <string>Detect language automatically based on regional settings</string>
     499    <string>Detect language automatically</string>
     500   </property>
     501   <property name="statusTip">
     502    <string>Detect language automatically based on regional settings</string>
    497503   </property>
    498504  </action>
    499505  <action name="actionSettingsLanguageEnglish">
    500506   <property name="checkable">
    501         <bool>true</bool>
     507    <bool>true</bool>
    502508   </property>
    503509   <property name="checked">
    504         <bool>true</bool>
    505    </property>
    506    <property name="text">
    507         <string notr="true">&amp;English</string>
     510    <bool>true</bool>
     511   </property>
     512   <property name="text">
     513    <string notr="true">&amp;English</string>
    508514   </property>
    509515   <property name="iconText">
    510         <string notr="true">English</string>
     516    <string notr="true">English</string>
    511517   </property>
    512518  </action>
    513519  <action name="actionFileSave">
    514520   <property name="icon">
    515         <iconset resource="../resources/tspsg.qrc">
    516         <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
    517    </property>
    518    <property name="text">
    519         <string>&amp;Save</string>
     521    <iconset resource="../resources/tspsg.qrc">
     522    <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
     523   </property>
     524   <property name="text">
     525    <string>&amp;Save</string>
    520526   </property>
    521527   <property name="toolTip">
    522         <string>Save task</string>
    523    </property>
    524    <property name="statusTip">
    525         <string>Save current task</string>
     528    <string>Save task</string>
     529   </property>
     530   <property name="statusTip">
     531    <string>Save current task</string>
    526532   </property>
    527533   <property name="shortcut">
    528         <string>Ctrl+S</string>
     534    <string>Ctrl+S</string>
    529535   </property>
    530536  </action>
    531537  <action name="actionHelpAboutQt">
    532538   <property name="icon">
    533         <iconset resource="../resources/tspsg.qrc">
    534          <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
    535    </property>
    536    <property name="text">
    537         <string>About &amp;Qt...</string>
    538    </property>
    539    <property name="statusTip">
    540         <string>About Qt library</string>
     539    <iconset resource="../resources/tspsg.qrc">
     540     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
     541   </property>
     542   <property name="text">
     543    <string>About &amp;Qt...</string>
     544   </property>
     545   <property name="statusTip">
     546    <string>About Qt library</string>
     547   </property>
     548  </action>
     549  <action name="actionSettingsStyleSystem">
     550   <property name="checkable">
     551    <bool>true</bool>
     552   </property>
     553   <property name="checked">
     554    <bool>true</bool>
     555   </property>
     556   <property name="text">
     557    <string>System Default</string>
     558   </property>
     559   <property name="statusTip">
     560    <string>Automatically choose the most appropriate style</string>
    541561   </property>
    542562  </action>
     
    552572   <slot>close()</slot>
    553573   <hints>
    554         <hint type="sourcelabel">
    555         <x>-1</x>
    556         <y>-1</y>
    557         </hint>
    558         <hint type="destinationlabel">
    559         <x>294</x>
    560         <y>229</y>
    561         </hint>
     574    <hint type="sourcelabel">
     575    <x>-1</x>
     576    <y>-1</y>
     577    </hint>
     578    <hint type="destinationlabel">
     579    <x>294</x>
     580    <y>229</y>
     581    </hint>
    562582   </hints>
    563583  </connection>
     
    568588   <slot>trigger()</slot>
    569589   <hints>
    570         <hint type="sourcelabel">
    571         <x>58</x>
    572         <y>327</y>
    573         </hint>
    574         <hint type="destinationlabel">
    575         <x>-1</x>
    576         <y>-1</y>
    577         </hint>
     590    <hint type="sourcelabel">
     591    <x>58</x>
     592    <y>327</y>
     593    </hint>
     594    <hint type="destinationlabel">
     595    <x>-1</x>
     596    <y>-1</y>
     597    </hint>
    578598   </hints>
    579599  </connection>
Note: See TracChangeset for help on using the changeset viewer.