Changeset 94cd045fad in tspsg for ui


Ignore:
Timestamp:
May 2, 2010, 12:51:20 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:
7bb19df196
Parents:
2bbe924ad8
git-author:
Oleksii Serdiuk <contacts@…> (05/02/10 12:51:20)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:41:43)
Message:

+ Started adding a toolbar customization with the ude of QtToolbarDialog? (http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qttoolbardialog/).

Location:
ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ui/mainwindow.ui

    r2bbe924ad8 r94cd045fad  
    162162         <property name="icon">
    163163          <iconset resource="../resources/tspsg.qrc">
    164            <normaloff>:/images/icons/button_ok.png</normaloff>:/images/icons/button_ok.png</iconset>
     164           <normaloff>:/images/icons/dialog-ok.png</normaloff>:/images/icons/dialog-ok.png</iconset>
    165165         </property>
    166166        </widget>
     
    212212         <property name="icon">
    213213          <iconset resource="../resources/tspsg.qrc">
    214            <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     214           <normaloff>:/images/icons/document-save-as.png</normaloff>:/images/icons/document-save-as.png</iconset>
    215215         </property>
    216216        </widget>
     
    242242         <property name="icon">
    243243          <iconset resource="../resources/tspsg.qrc">
    244            <normaloff>:/images/icons/back.png</normaloff>:/images/icons/back.png</iconset>
     244           <normaloff>:/images/icons/go-previous.png</normaloff>:/images/icons/go-previous.png</iconset>
    245245         </property>
    246246        </widget>
     
    275275     <property name="icon">
    276276      <iconset resource="../resources/tspsg.qrc">
    277        <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
     277       <normaloff>:/images/icons/document-save-as.png</normaloff>:/images/icons/document-save-as.png</iconset>
    278278     </property>
    279279     <addaction name="actionFileSaveAsTask"/>
     
    303303     <property name="icon">
    304304      <iconset resource="../resources/tspsg.qrc">
    305        <normaloff>:/images/icons/locale.png</normaloff>:/images/icons/locale.png</iconset>
     305       <normaloff>:/images/icons/preferences-desktop-locale.png</normaloff>:/images/icons/preferences-desktop-locale.png</iconset>
    306306     </property>
    307307     <addaction name="actionSettingsLanguageAutodetect"/>
     
    313313      <string>Style</string>
    314314     </property>
     315     <property name="icon">
     316      <iconset resource="../resources/tspsg.qrc">
     317       <normaloff>:/images/icons/preferences-desktop-theme.png</normaloff>:/images/icons/preferences-desktop-theme.png</iconset>
     318     </property>
    315319    </widget>
    316320    <addaction name="menuSettingsLanguage"/>
    317321    <addaction name="menuSettingsStyle"/>
     322    <addaction name="actionSettingsToolbars"/>
     323    <addaction name="separator"/>
    318324    <addaction name="actionSettingsPreferences"/>
    319325   </widget>
     
    370376   <property name="icon">
    371377    <iconset resource="../resources/tspsg.qrc">
    372      <normaloff>:/images/icons/filenew.png</normaloff>:/images/icons/filenew.png</iconset>
     378     <normaloff>:/images/icons/document-new.png</normaloff>:/images/icons/document-new.png</iconset>
    373379   </property>
    374380   <property name="text">
     
    388394   <property name="icon">
    389395    <iconset resource="../resources/tspsg.qrc">
    390      <normaloff>:/images/icons/fileopen.png</normaloff>:/images/icons/fileopen.png</iconset>
     396     <normaloff>:/images/icons/document-open.png</normaloff>:/images/icons/document-open.png</iconset>
    391397   </property>
    392398   <property name="text">
     
    406412   <property name="icon">
    407413    <iconset resource="../resources/tspsg.qrc">
    408      <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
     414     <normaloff>:/images/icons/preferences-system.png</normaloff>:/images/icons/preferences-system.png</iconset>
    409415   </property>
    410416   <property name="text">
     
    421427   <property name="icon">
    422428    <iconset resource="../resources/tspsg.qrc">
    423      <normaloff>:/images/icons/contents.png</normaloff>:/images/icons/contents.png</iconset>
     429     <normaloff>:/images/icons/help-contents.png</normaloff>:/images/icons/help-contents.png</iconset>
    424430   </property>
    425431   <property name="text">
     
    439445   <property name="icon">
    440446    <iconset resource="../resources/tspsg.qrc">
    441      <normaloff>:/images/icons/help_browser.png</normaloff>:/images/icons/help_browser.png</iconset>
     447     <normaloff>:/images/icons/help-contextual.png</normaloff>:/images/icons/help-contextual.png</iconset>
    442448   </property>
    443449   <property name="text">
     
    454460   <property name="icon">
    455461    <iconset resource="../resources/tspsg.qrc">
    456      <normaloff>:/images/icons/help_about.png</normaloff>:/images/icons/help_about.png</iconset>
     462     <normaloff>:/images/icons/help-about.png</normaloff>:/images/icons/help-about.png</iconset>
    457463   </property>
    458464   <property name="text">
     
    466472   <property name="icon">
    467473    <iconset resource="../resources/tspsg.qrc">
    468      <normaloff>:/images/icons/exit.png</normaloff>:/images/icons/exit.png</iconset>
     474     <normaloff>:/images/icons/application-exit.png</normaloff>:/images/icons/application-exit.png</iconset>
    469475   </property>
    470476   <property name="text">
     
    520526   <property name="icon">
    521527    <iconset resource="../resources/tspsg.qrc">
    522      <normaloff>:/images/icons/filesave.png</normaloff>:/images/icons/filesave.png</iconset>
     528     <normaloff>:/images/icons/document-save.png</normaloff>:/images/icons/document-save.png</iconset>
    523529   </property>
    524530   <property name="text">
     
    559565   <property name="statusTip">
    560566    <string>Automatically choose the most appropriate style</string>
     567   </property>
     568  </action>
     569  <action name="actionSettingsToolbars">
     570   <property name="icon">
     571    <iconset resource="../resources/tspsg.qrc">
     572     <normaloff>:/images/icons/configure-toolbars.png</normaloff>:/images/icons/configure-toolbars.png</iconset>
     573   </property>
     574   <property name="text">
     575    <string>Toolbars...</string>
     576   </property>
     577   <property name="statusTip">
     578    <string>Customize toolbars</string>
    561579   </property>
    562580  </action>
  • ui/settingsdialog.ui

    r2bbe924ad8 r94cd045fad  
    99  <property name="windowIcon">
    1010   <iconset resource="../resources/tspsg.qrc">
    11         <normaloff>:/images/icons/preferences_system.png</normaloff>:/images/icons/preferences_system.png</iconset>
     11    <normaloff>:/images/icons/preferences-system.png</normaloff>:/images/icons/preferences-system.png</iconset>
    1212  </property>
    1313  <widget class="QWidget" name="bgGrey" native="true">
    14    <property name="geometry">
    15         <rect>
    16          <x>0</x>
    17          <y>0</y>
    18          <width>197</width>
    19          <height>37</height>
    20         </rect>
    21    </property>
    2214   <property name="sizePolicy">
    23         <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
    24         <horstretch>0</horstretch>
    25         <verstretch>0</verstretch>
    26         </sizepolicy>
     15    <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
     16    <horstretch>0</horstretch>
     17    <verstretch>0</verstretch>
     18    </sizepolicy>
    2719   </property>
    2820   <property name="autoFillBackground">
    29         <bool>true</bool>
     21    <bool>true</bool>
    3022   </property>
    3123   <layout class="QVBoxLayout" name="_2">
    32         <property name="spacing">
    33         <number>0</number>
    34         </property>
    35         <property name="margin">
    36         <number>0</number>
    37         </property>
    38         <item>
    39         <widget class="Line" name="lineHorizontal">
    40           <property name="maximumSize">
    41            <size>
    42                 <width>16777215</width>
    43                 <height>2</height>
    44            </size>
    45           </property>
    46           <property name="frameShadow">
    47            <enum>QFrame::Plain</enum>
    48           </property>
    49           <property name="lineWidth">
    50            <number>2</number>
    51           </property>
    52           <property name="orientation">
    53            <enum>Qt::Horizontal</enum>
    54           </property>
    55         </widget>
    56         </item>
    57         <item>
    58         <layout class="QHBoxLayout" name="buttons">
    59           <property name="spacing">
    60            <number>6</number>
    61           </property>
    62           <property name="margin">
    63            <number>6</number>
    64           </property>
    65           <item>
    66            <widget class="QToolButton" name="buttonHelp">
    67                 <property name="enabled">
    68                 <bool>false</bool>
    69                 </property>
    70                 <property name="cursor">
    71                 <cursorShape>PointingHandCursor</cursorShape>
    72                 </property>
    73                 <property name="toolTip">
    74                 <string>Help</string>
    75                 </property>
    76                 <property name="statusTip">
    77                 <string>Get preferences help</string>
    78                 </property>
    79                 <property name="text">
    80                 <string>Help</string>
    81                 </property>
    82                 <property name="icon">
    83                 <iconset resource="../resources/tspsg.qrc">
    84                   <normaloff>:/images/icons/help_hint.png</normaloff>:/images/icons/help_hint.png</iconset>
    85                 </property>
    86                 <property name="autoRaise">
    87                 <bool>true</bool>
    88                 </property>
    89            </widget>
    90           </item>
    91           <item>
    92            <widget class="QDialogButtonBox" name="buttonBox">
    93                 <property name="standardButtons">
    94                 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
    95                 </property>
    96            </widget>
    97           </item>
    98         </layout>
    99         </item>
     24    <property name="spacing">
     25    <number>0</number>
     26    </property>
     27    <property name="margin">
     28    <number>0</number>
     29    </property>
     30    <item>
     31    <widget class="Line" name="lineHorizontal">
     32      <property name="maximumSize">
     33       <size>
     34        <width>16777215</width>
     35        <height>2</height>
     36       </size>
     37      </property>
     38      <property name="frameShadow">
     39       <enum>QFrame::Plain</enum>
     40      </property>
     41      <property name="lineWidth">
     42       <number>2</number>
     43      </property>
     44      <property name="orientation">
     45       <enum>Qt::Horizontal</enum>
     46      </property>
     47    </widget>
     48    </item>
     49    <item>
     50    <layout class="QHBoxLayout" name="buttons">
     51      <property name="spacing">
     52       <number>6</number>
     53      </property>
     54      <property name="margin">
     55       <number>6</number>
     56      </property>
     57      <item>
     58       <widget class="QToolButton" name="buttonHelp">
     59        <property name="enabled">
     60        <bool>false</bool>
     61        </property>
     62        <property name="cursor">
     63        <cursorShape>PointingHandCursor</cursorShape>
     64        </property>
     65        <property name="toolTip">
     66        <string>Help</string>
     67        </property>
     68        <property name="statusTip">
     69        <string>Get preferences help</string>
     70        </property>
     71        <property name="text">
     72        <string>Help</string>
     73        </property>
     74        <property name="icon">
     75        <iconset resource="../resources/tspsg.qrc">
     76          <normaloff>:/images/icons/help-hint.png</normaloff>:/images/icons/help-hint.png</iconset>
     77        </property>
     78        <property name="autoRaise">
     79        <bool>true</bool>
     80        </property>
     81       </widget>
     82      </item>
     83      <item>
     84       <widget class="QDialogButtonBox" name="buttonBox">
     85        <property name="standardButtons">
     86        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
     87        </property>
     88       </widget>
     89      </item>
     90    </layout>
     91    </item>
    10092   </layout>
    10193  </widget>
    10294  <widget class="QWidget" name="bgWhite" native="true">
    103    <property name="geometry">
    104         <rect>
    105          <x>0</x>
    106          <y>0</y>
    107          <width>226</width>
    108          <height>253</height>
    109         </rect>
    110    </property>
    11195   <property name="autoFillBackground">
    112         <bool>true</bool>
     96    <bool>true</bool>
    11397   </property>
    11498   <layout class="QHBoxLayout" name="_3">
    115         <item>
    116         <widget class="QTabWidget" name="tabWidget">
    117           <widget class="QWidget" name="tabGeneral">
    118            <attribute name="title">
    119                 <string>General</string>
    120            </attribute>
    121            <attribute name="toolTip">
    122                 <string>General TSPSG settings</string>
    123            </attribute>
    124            <layout class="QVBoxLayout" name="_4">
    125                 <item>
    126                 <widget class="QCheckBox" name="cbAutosize">
    127                   <property name="cursor">
    128                    <cursorShape>PointingHandCursor</cursorShape>
    129                   </property>
    130                   <property name="statusTip">
    131                    <string>Automatically resize rows and columns to their contents</string>
    132                   </property>
    133                   <property name="text">
    134                    <string>Autosize of rows and columns</string>
    135                   </property>
    136                 </widget>
    137                 </item>
    138                 <item>
    139                 <widget class="QCheckBox" name="cbUseNativeDialogs">
    140                   <property name="cursor">
    141                    <cursorShape>PointingHandCursor</cursorShape>
    142                   </property>
    143                   <property name="statusTip">
    144                    <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string>
    145                   </property>
    146                   <property name="text">
    147                    <string>Use native file dialogs</string>
    148                   </property>
    149                 </widget>
    150                 </item>
    151                 <item>
    152                 <spacer name="spacer">
    153                   <property name="orientation">
    154                    <enum>Qt::Vertical</enum>
    155                   </property>
    156                   <property name="sizeHint" stdset="0">
    157                    <size>
    158                         <width>0</width>
    159                         <height>0</height>
    160                    </size>
    161                   </property>
    162                 </spacer>
    163                 </item>
    164            </layout>
    165           </widget>
    166           <widget class="QWidget" name="tabTask">
    167            <attribute name="title">
    168                 <string>Task</string>
    169            </attribute>
    170            <attribute name="toolTip">
    171                 <string>Task generation and solving settings</string>
    172            </attribute>
    173            <layout class="QVBoxLayout" name="_9">
    174                 <item>
    175                 <layout class="QFormLayout" name="_5">
    176                   <property name="fieldGrowthPolicy">
    177                    <enum>QFormLayout::ExpandingFieldsGrow</enum>
    178                   </property>
    179                   <item row="0" column="0">
    180                    <widget class="QLabel" name="labelFractionalAccuracy">
    181                         <property name="text">
    182                         <string>Fractional accuracy:</string>
    183                         </property>
    184                         <property name="buddy">
    185                         <cstring>spinFractionalAccuracy</cstring>
    186                         </property>
    187                    </widget>
    188                   </item>
    189                   <item row="0" column="1">
    190                    <widget class="QSpinBox" name="spinFractionalAccuracy">
    191                         <property name="cursor">
    192                         <cursorShape>PointingHandCursor</cursorShape>
    193                         </property>
    194                         <property name="statusTip">
    195                         <string>Accuracy of the fractional values (in decimal places)</string>
    196                         </property>
    197                         <property name="maximum">
    198                         <number>6</number>
    199                         </property>
    200                    </widget>
    201                   </item>
    202                 </layout>
    203                 </item>
    204                 <item>
    205                 <widget class="QCheckBox" name="cbSymmetricMode">
    206                   <property name="cursor">
    207                    <cursorShape>PointingHandCursor</cursorShape>
    208                   </property>
    209                   <property name="statusTip">
    210                    <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string>
    211                   </property>
    212                   <property name="text">
    213                    <string>Symmetric mode</string>
    214                   </property>
    215                 </widget>
    216                 </item>
    217                 <item>
    218                 <widget class="QGroupBox" name="gbTaskGeneration">
    219                   <property name="title">
    220                    <string>Task generation</string>
    221                   </property>
    222                   <layout class="QVBoxLayout" name="_7">
    223                    <item>
    224                         <layout class="QFormLayout" name="_8">
    225                         <property name="fieldGrowthPolicy">
    226                           <enum>QFormLayout::ExpandingFieldsGrow</enum>
    227                         </property>
    228                         <item row="0" column="0">
    229                           <widget class="QLabel" name="labelRandMin">
    230                            <property name="text">
    231                                 <string>Minimal random:</string>
    232                            </property>
    233                            <property name="buddy">
    234                                 <cstring>spinRandMin</cstring>
    235                            </property>
    236                           </widget>
    237                         </item>
    238                         <item row="0" column="1">
    239                           <widget class="QSpinBox" name="spinRandMin">
    240                            <property name="cursor">
    241                                 <cursorShape>PointingHandCursor</cursorShape>
    242                            </property>
    243                            <property name="statusTip">
    244                                 <string>Minimum for random number generation</string>
    245                            </property>
    246                           </widget>
    247                         </item>
    248                         <item row="1" column="0">
    249                           <widget class="QLabel" name="labelRandMax">
    250                            <property name="text">
    251                                 <string>Maximal random:</string>
    252                            </property>
    253                            <property name="buddy">
    254                                 <cstring>spinRandMax</cstring>
    255                            </property>
    256                           </widget>
    257                         </item>
    258                         <item row="1" column="1">
    259                           <widget class="QSpinBox" name="spinRandMax">
    260                            <property name="cursor">
    261                                 <cursorShape>PointingHandCursor</cursorShape>
    262                            </property>
    263                            <property name="statusTip">
    264                                 <string>Maximum for random number generation</string>
    265                            </property>
    266                           </widget>
    267                         </item>
    268                         </layout>
    269                    </item>
    270                    <item>
    271                         <widget class="QCheckBox" name="cbFractionalRandom">
    272                         <property name="cursor">
    273                           <cursorShape>PointingHandCursor</cursorShape>
    274                         </property>
    275                         <property name="statusTip">
    276                           <string>Generate fractional random values with the Fractional accuracy</string>
    277                         </property>
    278                         <property name="text">
    279                           <string>Fractional random values</string>
    280                         </property>
    281                         </widget>
    282                    </item>
    283                   </layout>
    284                 </widget>
    285                 </item>
    286                 <item>
    287                 <spacer name="spacer_2">
    288                   <property name="orientation">
    289                    <enum>Qt::Vertical</enum>
    290                   </property>
    291                   <property name="sizeHint" stdset="0">
    292                    <size>
    293                         <width>10</width>
    294                         <height>0</height>
    295                    </size>
    296                   </property>
    297                 </spacer>
    298                 </item>
    299            </layout>
    300           </widget>
    301           <widget class="QWidget" name="tabOutput">
    302            <attribute name="title">
    303                 <string>Output</string>
    304            </attribute>
    305            <attribute name="toolTip">
    306                 <string>Solution output settings</string>
    307            </attribute>
    308            <layout class="QVBoxLayout" name="_6">
    309                 <item>
    310                 <widget class="QCheckBox" name="cbShowGraph">
    311                   <property name="cursor">
    312                    <cursorShape>PointingHandCursor</cursorShape>
    313                   </property>
    314                   <property name="statusTip">
    315                    <string>Show graphical representation of the solution</string>
    316                   </property>
    317                   <property name="text">
    318                    <string>Show solution graph</string>
    319                   </property>
    320                 </widget>
    321                 </item>
    322                 <item>
    323                 <layout class="QHBoxLayout" name="_10">
    324                   <property name="spacing">
    325                    <number>5</number>
    326                   </property>
    327                   <item>
    328                    <spacer name="spacer_7">
    329                         <property name="orientation">
    330                         <enum>Qt::Horizontal</enum>
    331                         </property>
    332                         <property name="sizeType">
    333                         <enum>QSizePolicy::Fixed</enum>
    334                         </property>
    335                         <property name="sizeHint" stdset="0">
    336                         <size>
    337                           <width>10</width>
    338                           <height>0</height>
    339                         </size>
    340                         </property>
    341                    </spacer>
    342                   </item>
    343                   <item>
    344                    <widget class="QLabel" name="labelGraphImageFormat">
    345                         <property name="text">
    346                         <string>Save solution graph as</string>
    347                         </property>
    348                         <property name="buddy">
    349                         <cstring>comboGraphImageFormat</cstring>
    350                         </property>
    351                    </widget>
    352                   </item>
    353                   <item>
    354                    <widget class="QComboBox" name="comboGraphImageFormat">
    355                         <property name="cursor">
    356                         <cursorShape>PointingHandCursor</cursorShape>
    357                         </property>
    358                         <property name="statusTip">
    359                         <string>What image format to use for graph when saving solution as HTML</string>
    360                         </property>
    361                    </widget>
    362                   </item>
    363                   <item>
    364                    <spacer name="horizontalSpacer">
    365                         <property name="orientation">
    366                         <enum>Qt::Horizontal</enum>
    367                         </property>
    368                         <property name="sizeHint" stdset="0">
    369                         <size>
    370                           <width>0</width>
    371                           <height>0</height>
    372                         </size>
    373                         </property>
    374                    </spacer>
    375                   </item>
    376                 </layout>
    377                 </item>
    378                 <item>
    379                 <widget class="QCheckBox" name="cbShowMatrix">
    380                   <property name="cursor">
    381                    <cursorShape>PointingHandCursor</cursorShape>
    382                   </property>
    383                   <property name="statusTip">
    384                    <string>Show solution steps' matrices for every solution step</string>
    385                   </property>
    386                   <property name="text">
    387                    <string>Show solution steps' matrices</string>
    388                   </property>
    389                 </widget>
    390                 </item>
    391                 <item>
    392                 <layout class="QHBoxLayout" name="_12">
    393                   <property name="spacing">
    394                    <number>0</number>
    395                   </property>
    396                   <item>
    397                    <spacer name="spacer_3">
    398                         <property name="orientation">
    399                         <enum>Qt::Horizontal</enum>
    400                         </property>
    401                         <property name="sizeType">
    402                         <enum>QSizePolicy::Fixed</enum>
    403                         </property>
    404                         <property name="sizeHint" stdset="0">
    405                         <size>
    406                           <width>10</width>
    407                           <height>0</height>
    408                         </size>
    409                         </property>
    410                    </spacer>
    411                   </item>
    412                   <item>
    413                    <widget class="QCheckBox" name="cbCitiesLimit">
    414                         <property name="cursor">
    415                         <cursorShape>PointingHandCursor</cursorShape>
    416                         </property>
    417                         <property name="statusTip">
    418                         <string>Show or hide solution steps' matrices based on number of cities in the task</string>
    419                         </property>
    420                         <property name="text">
    421                         <string>Only when &lt;=</string>
    422                         </property>
    423                    </widget>
    424                   </item>
    425                   <item>
    426                    <widget class="QSpinBox" name="spinCitiesLimit">
    427                         <property name="cursor">
    428                         <cursorShape>PointingHandCursor</cursorShape>
    429                         </property>
    430                         <property name="statusTip">
    431                         <string>Maximum number of cities to show solution steps' matrices</string>
    432                         </property>
    433                         <property name="suffix">
    434                         <string comment="Don't forget a space at the beginning!"> cities</string>
    435                         </property>
    436                         <property name="minimum">
    437                         <number>1</number>
    438                         </property>
    439                    </widget>
    440                   </item>
    441                   <item>
    442                    <spacer name="spacer_4">
    443                         <property name="orientation">
    444                         <enum>Qt::Horizontal</enum>
    445                         </property>
    446                         <property name="sizeHint" stdset="0">
    447                         <size>
    448                           <width>0</width>
    449                           <height>0</height>
    450                         </size>
    451                         </property>
    452                    </spacer>
    453                   </item>
    454                 </layout>
    455                 </item>
    456                 <item>
    457                 <widget class="QCheckBox" name="cbScrollToEnd">
    458                   <property name="cursor">
    459                    <cursorShape>PointingHandCursor</cursorShape>
    460                   </property>
    461                   <property name="statusTip">
    462                    <string>Scroll to the end of solution output after solving</string>
    463                   </property>
    464                   <property name="text">
    465                    <string>Scroll to solution end</string>
    466                   </property>
    467                 </widget>
    468                 </item>
    469                 <item>
    470                 <layout class="QHBoxLayout" name="_11">
    471                   <item>
    472                    <widget class="QGroupBox" name="groupOutput">
    473                         <property name="title">
    474                         <string>Output font settings</string>
    475                         </property>
    476                         <layout class="QHBoxLayout" name="_13">
    477                         <item>
    478                           <widget class="QPushButton" name="buttonFont">
    479                            <property name="cursor">
    480                                 <cursorShape>PointingHandCursor</cursorShape>
    481                            </property>
    482                            <property name="statusTip">
    483                                 <string>Font face for solution output</string>
    484                            </property>
    485                            <property name="text">
    486                                 <string>&amp;Font...</string>
    487                            </property>
    488                            <property name="icon">
    489                                 <iconset resource="../resources/tspsg.qrc">
    490                                  <normaloff>:/images/icons/fonts.png</normaloff>:/images/icons/fonts.png</iconset>
    491                            </property>
    492                           </widget>
    493                         </item>
    494                         <item>
    495                           <widget class="QPushButton" name="buttonColor">
    496                            <property name="cursor">
    497                                 <cursorShape>PointingHandCursor</cursorShape>
    498                            </property>
    499                            <property name="statusTip">
    500                                 <string>Font color for solution output</string>
    501                            </property>
    502                            <property name="text">
    503                                 <string>&amp;Color...</string>
    504                            </property>
    505                            <property name="icon">
    506                                 <iconset resource="../resources/tspsg.qrc">
    507                                  <normaloff>:/images/icons/color_line.png</normaloff>:/images/icons/color_line.png</iconset>
    508                            </property>
    509                           </widget>
    510                         </item>
    511                         <item>
    512                           <spacer name="spacer_5">
    513                            <property name="orientation">
    514                                 <enum>Qt::Horizontal</enum>
    515                            </property>
    516                            <property name="sizeHint" stdset="0">
    517                                 <size>
    518                                 <width>0</width>
    519                                 <height>0</height>
    520                                 </size>
    521                            </property>
    522                           </spacer>
    523                         </item>
    524                         </layout>
    525                    </widget>
    526                   </item>
    527                 </layout>
    528                 </item>
    529                 <item>
    530                 <spacer name="spacer_6">
    531                   <property name="orientation">
    532                    <enum>Qt::Vertical</enum>
    533                   </property>
    534                   <property name="sizeHint" stdset="0">
    535                    <size>
    536                         <width>0</width>
    537                         <height>0</height>
    538                    </size>
    539                   </property>
    540                 </spacer>
    541                 </item>
    542            </layout>
    543           </widget>
    544         </widget>
    545         </item>
     99    <item>
     100    <widget class="QTabWidget" name="tabWidget">
     101      <widget class="QWidget" name="tabGeneral">
     102       <attribute name="title">
     103        <string>General</string>
     104       </attribute>
     105       <attribute name="toolTip">
     106        <string>General TSPSG settings</string>
     107       </attribute>
     108       <layout class="QVBoxLayout" name="_4">
     109        <item>
     110        <widget class="QCheckBox" name="cbAutosize">
     111          <property name="cursor">
     112           <cursorShape>PointingHandCursor</cursorShape>
     113          </property>
     114          <property name="statusTip">
     115           <string>Automatically resize rows and columns to their contents</string>
     116          </property>
     117          <property name="text">
     118           <string>Autosize of rows and columns</string>
     119          </property>
     120        </widget>
     121        </item>
     122        <item>
     123        <widget class="QCheckBox" name="cbUseNativeDialogs">
     124          <property name="cursor">
     125           <cursorShape>PointingHandCursor</cursorShape>
     126          </property>
     127          <property name="statusTip">
     128           <string>Use native File Open and File Save dialogs (uncheck to use Qt's Dialogs)</string>
     129          </property>
     130          <property name="text">
     131           <string>Use native file dialogs</string>
     132          </property>
     133        </widget>
     134        </item>
     135        <item>
     136        <spacer name="spacer">
     137          <property name="orientation">
     138           <enum>Qt::Vertical</enum>
     139          </property>
     140          <property name="sizeHint" stdset="0">
     141           <size>
     142            <width>0</width>
     143            <height>0</height>
     144           </size>
     145          </property>
     146        </spacer>
     147        </item>
     148       </layout>
     149      </widget>
     150      <widget class="QWidget" name="tabTask">
     151       <attribute name="title">
     152        <string>Task</string>
     153       </attribute>
     154       <attribute name="toolTip">
     155        <string>Task generation and solving settings</string>
     156       </attribute>
     157       <layout class="QVBoxLayout" name="_9">
     158        <item>
     159        <layout class="QFormLayout" name="_5">
     160          <property name="fieldGrowthPolicy">
     161           <enum>QFormLayout::ExpandingFieldsGrow</enum>
     162          </property>
     163          <item row="0" column="0">
     164           <widget class="QLabel" name="labelFractionalAccuracy">
     165            <property name="text">
     166            <string>Fractional accuracy:</string>
     167            </property>
     168            <property name="buddy">
     169            <cstring>spinFractionalAccuracy</cstring>
     170            </property>
     171           </widget>
     172          </item>
     173          <item row="0" column="1">
     174           <widget class="QSpinBox" name="spinFractionalAccuracy">
     175            <property name="cursor">
     176            <cursorShape>PointingHandCursor</cursorShape>
     177            </property>
     178            <property name="statusTip">
     179            <string>Accuracy of the fractional values (in decimal places)</string>
     180            </property>
     181            <property name="maximum">
     182            <number>6</number>
     183            </property>
     184           </widget>
     185          </item>
     186        </layout>
     187        </item>
     188        <item>
     189        <widget class="QCheckBox" name="cbSymmetricMode">
     190          <property name="cursor">
     191           <cursorShape>PointingHandCursor</cursorShape>
     192          </property>
     193          <property name="statusTip">
     194           <string>In this mode the cost of travel from city 1 to city 2 and vice versa is the same</string>
     195          </property>
     196          <property name="text">
     197           <string>Symmetric mode</string>
     198          </property>
     199        </widget>
     200        </item>
     201        <item>
     202        <widget class="QGroupBox" name="gbTaskGeneration">
     203          <property name="title">
     204           <string>Task generation</string>
     205          </property>
     206          <layout class="QVBoxLayout" name="_7">
     207           <item>
     208            <layout class="QFormLayout" name="_8">
     209            <property name="fieldGrowthPolicy">
     210              <enum>QFormLayout::ExpandingFieldsGrow</enum>
     211            </property>
     212            <item row="0" column="0">
     213              <widget class="QLabel" name="labelRandMin">
     214               <property name="text">
     215                <string>Minimal random:</string>
     216               </property>
     217               <property name="buddy">
     218                <cstring>spinRandMin</cstring>
     219               </property>
     220              </widget>
     221            </item>
     222            <item row="0" column="1">
     223              <widget class="QSpinBox" name="spinRandMin">
     224               <property name="cursor">
     225                <cursorShape>PointingHandCursor</cursorShape>
     226               </property>
     227               <property name="statusTip">
     228                <string>Minimum for random number generation</string>
     229               </property>
     230              </widget>
     231            </item>
     232            <item row="1" column="0">
     233              <widget class="QLabel" name="labelRandMax">
     234               <property name="text">
     235                <string>Maximal random:</string>
     236               </property>
     237               <property name="buddy">
     238                <cstring>spinRandMax</cstring>
     239               </property>
     240              </widget>
     241            </item>
     242            <item row="1" column="1">
     243              <widget class="QSpinBox" name="spinRandMax">
     244               <property name="cursor">
     245                <cursorShape>PointingHandCursor</cursorShape>
     246               </property>
     247               <property name="statusTip">
     248                <string>Maximum for random number generation</string>
     249               </property>
     250              </widget>
     251            </item>
     252            </layout>
     253           </item>
     254           <item>
     255            <widget class="QCheckBox" name="cbFractionalRandom">
     256            <property name="cursor">
     257              <cursorShape>PointingHandCursor</cursorShape>
     258            </property>
     259            <property name="statusTip">
     260              <string>Generate fractional random values with the Fractional accuracy</string>
     261            </property>
     262            <property name="text">
     263              <string>Fractional random values</string>
     264            </property>
     265            </widget>
     266           </item>
     267          </layout>
     268        </widget>
     269        </item>
     270        <item>
     271        <spacer name="spacer_2">
     272          <property name="orientation">
     273           <enum>Qt::Vertical</enum>
     274          </property>
     275          <property name="sizeHint" stdset="0">
     276           <size>
     277            <width>10</width>
     278            <height>0</height>
     279           </size>
     280          </property>
     281        </spacer>
     282        </item>
     283       </layout>
     284      </widget>
     285      <widget class="QWidget" name="tabOutput">
     286       <attribute name="title">
     287        <string>Output</string>
     288       </attribute>
     289       <attribute name="toolTip">
     290        <string>Solution output settings</string>
     291       </attribute>
     292       <layout class="QVBoxLayout" name="_6">
     293        <item>
     294        <widget class="QCheckBox" name="cbShowGraph">
     295          <property name="cursor">
     296           <cursorShape>PointingHandCursor</cursorShape>
     297          </property>
     298          <property name="statusTip">
     299           <string>Show graphical representation of the solution</string>
     300          </property>
     301          <property name="text">
     302           <string>Show solution graph</string>
     303          </property>
     304        </widget>
     305        </item>
     306        <item>
     307        <layout class="QHBoxLayout" name="_10">
     308          <property name="spacing">
     309           <number>5</number>
     310          </property>
     311          <item>
     312           <spacer name="spacer_7">
     313            <property name="orientation">
     314            <enum>Qt::Horizontal</enum>
     315            </property>
     316            <property name="sizeType">
     317            <enum>QSizePolicy::Fixed</enum>
     318            </property>
     319            <property name="sizeHint" stdset="0">
     320            <size>
     321              <width>10</width>
     322              <height>0</height>
     323            </size>
     324            </property>
     325           </spacer>
     326          </item>
     327          <item>
     328           <widget class="QLabel" name="labelGraphImageFormat">
     329            <property name="text">
     330            <string>Save solution graph as</string>
     331            </property>
     332            <property name="buddy">
     333            <cstring>comboGraphImageFormat</cstring>
     334            </property>
     335           </widget>
     336          </item>
     337          <item>
     338           <widget class="QComboBox" name="comboGraphImageFormat">
     339            <property name="cursor">
     340            <cursorShape>PointingHandCursor</cursorShape>
     341            </property>
     342            <property name="statusTip">
     343            <string>What image format to use for graph when saving solution as HTML</string>
     344            </property>
     345           </widget>
     346          </item>
     347          <item>
     348           <spacer name="horizontalSpacer">
     349            <property name="orientation">
     350            <enum>Qt::Horizontal</enum>
     351            </property>
     352            <property name="sizeHint" stdset="0">
     353            <size>
     354              <width>0</width>
     355              <height>0</height>
     356            </size>
     357            </property>
     358           </spacer>
     359          </item>
     360        </layout>
     361        </item>
     362        <item>
     363        <widget class="QCheckBox" name="cbShowMatrix">
     364          <property name="cursor">
     365           <cursorShape>PointingHandCursor</cursorShape>
     366          </property>
     367          <property name="statusTip">
     368           <string>Show solution steps' matrices for every solution step</string>
     369          </property>
     370          <property name="text">
     371           <string>Show solution steps' matrices</string>
     372          </property>
     373        </widget>
     374        </item>
     375        <item>
     376        <layout class="QHBoxLayout" name="_12">
     377          <property name="spacing">
     378           <number>0</number>
     379          </property>
     380          <item>
     381           <spacer name="spacer_3">
     382            <property name="orientation">
     383            <enum>Qt::Horizontal</enum>
     384            </property>
     385            <property name="sizeType">
     386            <enum>QSizePolicy::Fixed</enum>
     387            </property>
     388            <property name="sizeHint" stdset="0">
     389            <size>
     390              <width>10</width>
     391              <height>0</height>
     392            </size>
     393            </property>
     394           </spacer>
     395          </item>
     396          <item>
     397           <widget class="QCheckBox" name="cbCitiesLimit">
     398            <property name="cursor">
     399            <cursorShape>PointingHandCursor</cursorShape>
     400            </property>
     401            <property name="statusTip">
     402            <string>Show or hide solution steps' matrices based on number of cities in the task</string>
     403            </property>
     404            <property name="text">
     405            <string>Only when &lt;=</string>
     406            </property>
     407           </widget>
     408          </item>
     409          <item>
     410           <widget class="QSpinBox" name="spinCitiesLimit">
     411            <property name="cursor">
     412            <cursorShape>PointingHandCursor</cursorShape>
     413            </property>
     414            <property name="statusTip">
     415            <string>Maximum number of cities to show solution steps' matrices</string>
     416            </property>
     417            <property name="suffix">
     418            <string comment="Don't forget a space at the beginning!"> cities</string>
     419            </property>
     420            <property name="minimum">
     421            <number>1</number>
     422            </property>
     423           </widget>
     424          </item>
     425          <item>
     426           <spacer name="spacer_4">
     427            <property name="orientation">
     428            <enum>Qt::Horizontal</enum>
     429            </property>
     430            <property name="sizeHint" stdset="0">
     431            <size>
     432              <width>0</width>
     433              <height>0</height>
     434            </size>
     435            </property>
     436           </spacer>
     437          </item>
     438        </layout>
     439        </item>
     440        <item>
     441        <widget class="QCheckBox" name="cbScrollToEnd">
     442          <property name="cursor">
     443           <cursorShape>PointingHandCursor</cursorShape>
     444          </property>
     445          <property name="statusTip">
     446           <string>Scroll to the end of solution output after solving</string>
     447          </property>
     448          <property name="text">
     449           <string>Scroll to solution end</string>
     450          </property>
     451        </widget>
     452        </item>
     453        <item>
     454        <layout class="QHBoxLayout" name="_11">
     455          <item>
     456           <widget class="QGroupBox" name="groupOutput">
     457            <property name="title">
     458            <string>Output font settings</string>
     459            </property>
     460            <layout class="QHBoxLayout" name="_13">
     461            <item>
     462              <widget class="QPushButton" name="buttonFont">
     463               <property name="cursor">
     464                <cursorShape>PointingHandCursor</cursorShape>
     465               </property>
     466               <property name="statusTip">
     467                <string>Font face for solution output</string>
     468               </property>
     469               <property name="text">
     470                <string>&amp;Font...</string>
     471               </property>
     472               <property name="icon">
     473                <iconset resource="../resources/tspsg.qrc">
     474                 <normaloff>:/images/icons/preferences-desktop-font.png</normaloff>:/images/icons/preferences-desktop-font.png</iconset>
     475               </property>
     476              </widget>
     477            </item>
     478            <item>
     479              <widget class="QPushButton" name="buttonColor">
     480               <property name="cursor">
     481                <cursorShape>PointingHandCursor</cursorShape>
     482               </property>
     483               <property name="statusTip">
     484                <string>Font color for solution output</string>
     485               </property>
     486               <property name="text">
     487                <string>&amp;Color...</string>
     488               </property>
     489               <property name="icon">
     490                <iconset resource="../resources/tspsg.qrc">
     491                 <normaloff>:/images/icons/format-text-color.png</normaloff>:/images/icons/format-text-color.png</iconset>
     492               </property>
     493              </widget>
     494            </item>
     495            <item>
     496              <spacer name="spacer_5">
     497               <property name="orientation">
     498                <enum>Qt::Horizontal</enum>
     499               </property>
     500               <property name="sizeHint" stdset="0">
     501                <size>
     502                <width>0</width>
     503                <height>0</height>
     504                </size>
     505               </property>
     506              </spacer>
     507            </item>
     508            </layout>
     509           </widget>
     510          </item>
     511        </layout>
     512        </item>
     513        <item>
     514        <spacer name="spacer_6">
     515          <property name="orientation">
     516           <enum>Qt::Vertical</enum>
     517          </property>
     518          <property name="sizeHint" stdset="0">
     519           <size>
     520            <width>0</width>
     521            <height>0</height>
     522           </size>
     523          </property>
     524        </spacer>
     525        </item>
     526       </layout>
     527      </widget>
     528    </widget>
     529    </item>
    546530   </layout>
    547531  </widget>
     
    557541   <slot>accept()</slot>
    558542   <hints>
    559         <hint type="sourcelabel">
    560         <x>190</x>
    561         <y>30</y>
    562         </hint>
    563         <hint type="destinationlabel">
    564         <x>306</x>
    565         <y>231</y>
    566         </hint>
     543    <hint type="sourcelabel">
     544    <x>190</x>
     545    <y>30</y>
     546    </hint>
     547    <hint type="destinationlabel">
     548    <x>306</x>
     549    <y>231</y>
     550    </hint>
    567551   </hints>
    568552  </connection>
     
    573557   <slot>reject()</slot>
    574558   <hints>
    575         <hint type="sourcelabel">
    576         <x>190</x>
    577         <y>30</y>
    578         </hint>
    579         <hint type="destinationlabel">
    580         <x>262</x>
    581         <y>245</y>
    582         </hint>
     559    <hint type="sourcelabel">
     560    <x>190</x>
     561    <y>30</y>
     562    </hint>
     563    <hint type="destinationlabel">
     564    <x>262</x>
     565    <y>245</y>
     566    </hint>
    583567   </hints>
    584568  </connection>
     
    589573   <slot>setEnabled(bool)</slot>
    590574   <hints>
    591         <hint type="sourcelabel">
    592         <x>91</x>
    593         <y>107</y>
    594         </hint>
    595         <hint type="destinationlabel">
    596         <x>113</x>
    597         <y>132</y>
    598         </hint>
     575    <hint type="sourcelabel">
     576    <x>91</x>
     577    <y>107</y>
     578    </hint>
     579    <hint type="destinationlabel">
     580    <x>113</x>
     581    <y>132</y>
     582    </hint>
    599583   </hints>
    600584  </connection>
     
    605589   <slot>setChecked(bool)</slot>
    606590   <hints>
    607         <hint type="sourcelabel">
    608         <x>91</x>
    609         <y>107</y>
    610         </hint>
    611         <hint type="destinationlabel">
    612         <x>113</x>
    613         <y>132</y>
    614         </hint>
     591    <hint type="sourcelabel">
     592    <x>91</x>
     593    <y>107</y>
     594    </hint>
     595    <hint type="destinationlabel">
     596    <x>113</x>
     597    <y>132</y>
     598    </hint>
    615599   </hints>
    616600  </connection>
     
    621605   <slot>setEnabled(bool)</slot>
    622606   <hints>
    623         <hint type="sourcelabel">
    624         <x>113</x>
    625         <y>132</y>
    626         </hint>
    627         <hint type="destinationlabel">
    628         <x>183</x>
    629         <y>134</y>
    630         </hint>
     607    <hint type="sourcelabel">
     608    <x>113</x>
     609    <y>132</y>
     610    </hint>
     611    <hint type="destinationlabel">
     612    <x>183</x>
     613    <y>134</y>
     614    </hint>
    631615   </hints>
    632616  </connection>
     
    637621   <slot>setEnabled(bool)</slot>
    638622   <hints>
    639         <hint type="sourcelabel">
    640         <x>113</x>
    641         <y>48</y>
    642         </hint>
    643         <hint type="destinationlabel">
    644         <x>72</x>
    645         <y>73</y>
    646         </hint>
     623    <hint type="sourcelabel">
     624    <x>113</x>
     625    <y>48</y>
     626    </hint>
     627    <hint type="destinationlabel">
     628    <x>72</x>
     629    <y>73</y>
     630    </hint>
    647631   </hints>
    648632  </connection>
     
    653637   <slot>setEnabled(bool)</slot>
    654638   <hints>
    655         <hint type="sourcelabel">
    656         <x>113</x>
    657         <y>48</y>
    658         </hint>
    659         <hint type="destinationlabel">
    660         <x>149</x>
    661         <y>73</y>
    662         </hint>
     639    <hint type="sourcelabel">
     640    <x>113</x>
     641    <y>48</y>
     642    </hint>
     643    <hint type="destinationlabel">
     644    <x>149</x>
     645    <y>73</y>
     646    </hint>
    663647   </hints>
    664648  </connection>
Note: See TracChangeset for help on using the changeset viewer.