Changeset 162 in tspsg-svn for trunk/ui


Ignore:
Timestamp:
Apr 14, 2011, 9:30:23 PM (14 years ago)
Author:
laleppa
Message:
  • NEW: Solution graph size can now be controlled using Output/GraphWidth? setting in tspsg.ini (see ticket:8). Value is in centimeters.
  • NEW: Support for embedded base64 encoded images when saving solution as HTML (closed ticket:4).
  • Renamed Output/ShowGraph? setting to Output/GenerateGraph?.
  • Made some other small tweaks and fixes.
  • FIX: Solution graph is still exported to HTML when graph generation is disabled (fixed bug:9).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ui/settingsdialog.ui

    r128 r162  
    297297       <layout class="QVBoxLayout" name="_6">
    298298        <item>
    299          <widget class="QCheckBox" name="cbShowGraph">
     299         <widget class="QCheckBox" name="cbGenerateGraph">
    300300          <property name="cursor">
    301301           <cursorShape>PointingHandCursor</cursorShape>
    302302          </property>
    303303          <property name="statusTip">
    304            <string>Show graphical representation of the solution</string>
     304           <string>Generate graphical representation of the solution</string>
    305305          </property>
    306306          <property name="text">
    307            <string>Show solution graph</string>
     307           <string>Generate solution graph</string>
    308308          </property>
    309309         </widget>
     
    362362            </property>
    363363           </spacer>
     364          </item>
     365         </layout>
     366        </item>
     367        <item>
     368         <layout class="QHBoxLayout" name="_14">
     369          <item>
     370           <spacer name="spacer_8">
     371            <property name="orientation">
     372             <enum>Qt::Horizontal</enum>
     373            </property>
     374            <property name="sizeType">
     375             <enum>QSizePolicy::Fixed</enum>
     376            </property>
     377            <property name="sizeHint" stdset="0">
     378             <size>
     379              <width>10</width>
     380              <height>0</height>
     381             </size>
     382            </property>
     383           </spacer>
     384          </item>
     385          <item>
     386           <widget class="QCheckBox" name="cbEmbedGraphIntoHTML">
     387            <property name="cursor">
     388             <cursorShape>PointingHandCursor</cursorShape>
     389            </property>
     390            <property name="statusTip">
     391             <string>Use data URI scheme to save solution graph in HTML (not supported by IE 7 and lower)</string>
     392            </property>
     393            <property name="text">
     394             <string>Embed solution graph into HTML</string>
     395            </property>
     396           </widget>
    364397          </item>
    365398         </layout>
     
    611644  </connection>
    612645  <connection>
    613    <sender>cbShowGraph</sender>
     646   <sender>cbGenerateGraph</sender>
    614647   <signal>toggled(bool)</signal>
    615648   <receiver>labelGraphImageFormat</receiver>
     
    627660  </connection>
    628661  <connection>
    629    <sender>cbShowGraph</sender>
     662   <sender>cbGenerateGraph</sender>
    630663   <signal>toggled(bool)</signal>
    631664   <receiver>comboGraphImageFormat</receiver>
     
    642675   </hints>
    643676  </connection>
     677  <connection>
     678   <sender>cbGenerateGraph</sender>
     679   <signal>toggled(bool)</signal>
     680   <receiver>cbEmbedGraphIntoHTML</receiver>
     681   <slot>setEnabled(bool)</slot>
     682   <hints>
     683    <hint type="sourcelabel">
     684     <x>128</x>
     685     <y>45</y>
     686    </hint>
     687    <hint type="destinationlabel">
     688     <x>136</x>
     689     <y>103</y>
     690    </hint>
     691   </hints>
     692  </connection>
    644693 </connections>
    645694</ui>
Note: See TracChangeset for help on using the changeset viewer.