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


Ignore:
Timestamp:
Jul 31, 2009, 8:23:07 PM (15 years ago)
Author:
laleppa
Message:

+ Finished solving algorithm (needs thorough testing).
+ Solution can be saved to HTML or OpenDocument? format.
+ Added VERSIONINFO resource for windows builds.

  • Updated translations to have unified terminology everywhere.

NB: This will be the first public alpha build.

File:
1 edited

Legend:

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

    r39 r42  
    1010    <x>0</x>
    1111    <y>0</y>
    12     <width>234</width>
    13     <height>292</height>
     12    <width>225</width>
     13    <height>322</height>
    1414   </rect>
    1515  </property>
     
    2222  </property>
    2323  <widget class="QWidget" name="centralwidget">
    24    <property name="enabled">
    25     <bool>true</bool>
    26    </property>
    2724   <widget class="QTabWidget" name="tabWidget">
    2825    <property name="enabled">
     
    3128    <property name="geometry">
    3229     <rect>
    33       <x>0</x>
    34       <y>0</y>
    35       <width>235</width>
    36       <height>240</height>
     30      <x>9</x>
     31      <y>9</y>
     32      <width>207</width>
     33      <height>248</height>
    3734     </rect>
    3835    </property>
     
    206203      <string>Solution</string>
    207204     </attribute>
    208      <layout class="QVBoxLayout" name="_4">
     205     <layout class="QVBoxLayout" name="verticalLayout_2">
    209206      <item>
    210        <layout class="QHBoxLayout" name="_5">
    211         <property name="spacing">
    212          <number>0</number>
     207       <widget class="QTextEdit" name="solutionText">
     208        <property name="enabled">
     209         <bool>false</bool>
    213210        </property>
    214         <item>
    215          <widget class="QTextEdit" name="textEdit">
    216           <property name="sizePolicy">
    217            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
    218             <horstretch>0</horstretch>
    219             <verstretch>0</verstretch>
    220            </sizepolicy>
    221           </property>
    222           <property name="statusTip">
    223            <string>Solution steps</string>
    224           </property>
    225           <property name="readOnly">
    226            <bool>true</bool>
    227           </property>
    228          </widget>
    229         </item>
    230         <item>
    231          <widget class="QGraphicsView" name="graphicsView">
    232           <property name="statusTip">
    233            <string>Solution graph</string>
    234           </property>
    235          </widget>
    236         </item>
    237        </layout>
     211        <property name="statusTip">
     212         <string>Solution steps</string>
     213        </property>
     214        <property name="readOnly">
     215         <bool>true</bool>
     216        </property>
     217        <property name="textInteractionFlags">
     218         <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
     219        </property>
     220       </widget>
    238221      </item>
    239222     </layout>
     
    246229     <x>0</x>
    247230     <y>0</y>
    248      <width>234</width>
    249      <height>24</height>
     231     <width>225</width>
     232     <height>22</height>
    250233    </rect>
    251234   </property>
     
    270253       <normaloff>:/images/icons/filesaveas.png</normaloff>:/images/icons/filesaveas.png</iconset>
    271254     </property>
    272      <addaction name="actionFileSaveTask"/>
    273      <addaction name="separator"/>
    274      <addaction name="actionFileSaveResultAll"/>
    275      <addaction name="actionFileSaveResultMatrices"/>
    276      <addaction name="actionFileSaveResultGraph"/>
     255     <addaction name="actionFileSaveAsTask"/>
     256     <addaction name="actionFileSaveAsSolution"/>
    277257    </widget>
    278258    <addaction name="actionFileNew"/>
     
    295275     </property>
    296276     <property name="title">
    297       <string extracomment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
     277      <string comment="Please, append &quot; / Language&quot; when translating this string.">&amp;Language</string>
    298278     </property>
    299279     <property name="icon">
     
    369349   </property>
    370350  </action>
    371   <action name="actionFileSaveResultAll">
     351  <action name="actionFileSaveAsSolution">
    372352   <property name="enabled">
    373353    <bool>false</bool>
    374354   </property>
    375355   <property name="text">
    376     <string>&amp;Solution</string>
     356    <string>&amp;Solution...</string>
     357   </property>
     358   <property name="iconText">
     359    <string>Solution...</string>
    377360   </property>
    378361   <property name="toolTip">
     
    497480   </property>
    498481  </action>
    499   <action name="actionFileSaveTask">
     482  <action name="actionFileSaveAsTask">
    500483   <property name="icon">
    501484    <iconset resource="../resources/tspsg.qrc">
     
    567550   <property name="icon">
    568551    <iconset resource="../resources/tspsg.qrc">
    569      <normaloff>:/images/qtlogo-64.png</normaloff>:/images/qtlogo-64.png</iconset>
     552     <normaloff>:/images/icons/qtlogo-64.png</normaloff>:/images/icons/qtlogo-64.png</iconset>
    570553   </property>
    571554   <property name="text">
Note: See TracChangeset for help on using the changeset viewer.