Changeset c10297cf73 in tspsg for ui/mainwindow.ui


Ignore:
Timestamp:
Aug 9, 2009, 1:45:19 AM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
6dfdef0c3e
Parents:
6332a24386
Message:
  • mainwindow.ui and mainwindow.ce.ui had differences only in printing actions and statusbar, so I merged them into one. Differences are now applied in source code. This will simplify Main Window maintenance.
  • Changed #ifndef Q_OS_WINCE to #ifndef QT_NO_PRINTER where relevant.
  • Now using method at() instead of operator [] in solving algorithm. This change dramatically decreased solution time (from 13 seconds to 10-40 milliseconds for 20 cities on my PC).
  • Increased maximum number of cities to 30. Setting more makes no sense at this moment, because generated solution output is big and inserting it to QTextEdit takes veeeeery long time.
  • Translations were updated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ui/mainwindow.ui

    r6332a24386 rc10297cf73  
    77    <x>0</x>
    88    <y>0</y>
    9     <width>502</width>
    10     <height>407</height>
     9    <width>344</width>
     10    <height>381</height>
    1111   </rect>
    1212  </property>
     
    1515  </property>
    1616  <property name="windowIcon">
    17    <iconset>
     17   <iconset resource="../resources/tspsg.qrc">
    1818    <normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
    1919  </property>
     
    3333      <verstretch>0</verstretch>
    3434     </sizepolicy>
     35    </property>
     36    <property name="tabPosition">
     37     <enum>QTabWidget::North</enum>
    3538    </property>
    3639    <property name="currentIndex">
     
    268271     <x>0</x>
    269272     <y>0</y>
    270      <width>502</width>
     273     <width>344</width>
    271274     <height>22</height>
    272275    </rect>
     
    296299    <addaction name="actionFileSave"/>
    297300    <addaction name="menuFileSaveAs"/>
    298     <addaction name="separator"/>
    299     <addaction name="actionFilePrintPreview"/>
    300     <addaction name="actionFilePrint"/>
    301301    <addaction name="separator"/>
    302302    <addaction name="actionFileExit"/>
     
    342342   <addaction name="menuHelp"/>
    343343  </widget>
    344   <widget class="QStatusBar" name="statusbar"/>
    345344  <widget class="QToolBar" name="toolBar">
    346345   <property name="cursor">
    347346    <cursorShape>ArrowCursor</cursorShape>
     347   </property>
     348   <property name="windowTitle">
     349    <string>Toolbar</string>
    348350   </property>
    349351   <attribute name="toolBarArea">
     
    357359   <addaction name="actionFileSave"/>
    358360   <addaction name="separator"/>
    359    <addaction name="actionFilePrint"/>
    360361   <addaction name="actionSettingsPreferences"/>
    361362   <addaction name="separator"/>
     
    405406   <property name="shortcut">
    406407    <string>Ctrl+P</string>
    407    </property>
    408   </action>
    409   <action name="actionFileSaveSolutionMatrices">
    410    <property name="enabled">
    411     <bool>false</bool>
    412    </property>
    413    <property name="text">
    414     <string>Solution S&amp;teps</string>
    415    </property>
    416    <property name="toolTip">
    417     <string>Save solution steps</string>
    418    </property>
    419    <property name="statusTip">
    420     <string>Save solution steps only</string>
    421    </property>
    422   </action>
    423   <action name="actionFileSaveSolutionGraph">
    424    <property name="enabled">
    425     <bool>false</bool>
    426    </property>
    427    <property name="text">
    428     <string>Solution &amp;Graph</string>
    429    </property>
    430    <property name="toolTip">
    431     <string>Save solution graph</string>
    432    </property>
    433    <property name="statusTip">
    434     <string>Save solution graph only</string>
    435408   </property>
    436409  </action>
Note: See TracChangeset for help on using the changeset viewer.