Warning, /sdk/ktechlab/src/gui/generaloptionswidget.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>GeneralOptionsWidget</class>
0004  <widget class="QWidget" name="GeneralOptionsWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>492</width>
0010     <height>473</height>
0011    </rect>
0012   </property>
0013   <layout class="QGridLayout">
0014    <property name="leftMargin">
0015     <number>0</number>
0016    </property>
0017    <property name="topMargin">
0018     <number>0</number>
0019    </property>
0020    <property name="rightMargin">
0021     <number>0</number>
0022    </property>
0023    <property name="bottomMargin">
0024     <number>0</number>
0025    </property>
0026    <item row="0" column="0" colspan="2">
0027     <widget class="QCheckBox" name="kcfg_ReuseSameViewForOutput">
0028      <property name="text">
0029       <string>Reuse the same output view for code generation</string>
0030      </property>
0031      <property name="shortcut">
0032       <string/>
0033      </property>
0034     </widget>
0035    </item>
0036    <item row="5" column="1">
0037     <widget class="QSpinBox" name="kcfg_MaxUndo">
0038      <property name="sizePolicy">
0039       <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
0040        <horstretch>0</horstretch>
0041        <verstretch>0</verstretch>
0042       </sizepolicy>
0043      </property>
0044      <property name="maximum">
0045       <number>100000</number>
0046      </property>
0047     </widget>
0048    </item>
0049    <item row="4" column="1">
0050     <widget class="KColorButton" name="kcfg_GridColor">
0051      <property name="toolTip">
0052       <string>The grid color in the work area.</string>
0053      </property>
0054      <property name="text">
0055       <string>Grid Colour</string>
0056      </property>
0057     </widget>
0058    </item>
0059    <item row="4" column="0">
0060     <widget class="QCheckBox" name="kcfg_ShowGrid">
0061      <property name="text">
0062       <string>Show &amp;grid:</string>
0063      </property>
0064     </widget>
0065    </item>
0066    <item row="8" column="1">
0067     <spacer name="spacer3">
0068      <property name="orientation">
0069       <enum>Qt::Vertical</enum>
0070      </property>
0071      <property name="sizeType">
0072       <enum>QSizePolicy::Expanding</enum>
0073      </property>
0074      <property name="sizeHint" stdset="0">
0075       <size>
0076        <width>20</width>
0077        <height>40</height>
0078       </size>
0079      </property>
0080     </spacer>
0081    </item>
0082    <item row="5" column="0">
0083     <widget class="QLabel" name="textLabel1">
0084      <property name="toolTip">
0085       <string>Maximum undo steps for work area. This does not apply to text documents - that is configurable separately under Configure Editor.</string>
0086      </property>
0087      <property name="text">
0088       <string>Maximum undo steps for work area:</string>
0089      </property>
0090      <property name="wordWrap">
0091       <bool>false</bool>
0092      </property>
0093     </widget>
0094    </item>
0095    <item row="1" column="0" colspan="2">
0096     <widget class="QCheckBox" name="kcfg_ShowVoltageBars">
0097      <property name="text">
0098       <string>Show voltage bars &amp;on electronic components</string>
0099      </property>
0100     </widget>
0101    </item>
0102    <item row="2" column="0" colspan="2">
0103     <widget class="QCheckBox" name="kcfg_ShowVoltageColor">
0104      <property name="text">
0105       <string>Color the wires to match the voltage</string>
0106      </property>
0107      <property name="shortcut">
0108       <string/>
0109      </property>
0110     </widget>
0111    </item>
0112    <item row="3" column="0" colspan="2">
0113     <widget class="QCheckBox" name="kcfg_AnimateWires">
0114      <property name="text">
0115       <string>Animate wires to show the current or power flow</string>
0116      </property>
0117      <property name="shortcut">
0118       <string/>
0119      </property>
0120     </widget>
0121    </item>
0122    <item row="7" column="0" colspan="2">
0123     <widget class="QGroupBox" name="groupBox21">
0124      <property name="title">
0125       <string>Display Refresh Rate</string>
0126      </property>
0127      <layout class="QVBoxLayout">
0128       <item>
0129        <layout class="QGridLayout">
0130         <item row="0" column="1">
0131          <widget class="QSlider" name="refreshRateSlider">
0132           <property name="maximum">
0133            <number>4</number>
0134           </property>
0135           <property name="pageStep">
0136            <number>1</number>
0137           </property>
0138           <property name="value">
0139            <number>2</number>
0140           </property>
0141           <property name="orientation">
0142            <enum>Qt::Horizontal</enum>
0143           </property>
0144           <property name="tickPosition">
0145            <enum>QSlider::TicksBelow</enum>
0146           </property>
0147          </widget>
0148         </item>
0149         <item row="0" column="0">
0150          <widget class="QLabel" name="textLabel3_2">
0151           <property name="text">
0152            <string>Refresh rate:</string>
0153           </property>
0154           <property name="wordWrap">
0155            <bool>false</bool>
0156           </property>
0157          </widget>
0158         </item>
0159         <item row="1" column="1">
0160          <widget class="QLabel" name="refreshRateLabel">
0161           <property name="text">
0162            <string>Medium (50 FPS)</string>
0163           </property>
0164           <property name="wordWrap">
0165            <bool>false</bool>
0166           </property>
0167          </widget>
0168         </item>
0169        </layout>
0170       </item>
0171       <item>
0172        <widget class="QLabel" name="textLabel9_2">
0173         <property name="sizePolicy">
0174          <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
0175           <horstretch>0</horstretch>
0176           <verstretch>0</verstretch>
0177          </sizepolicy>
0178         </property>
0179         <property name="text">
0180          <string>This is the number of times per second that the work area view is updated; a compromise between CPU usage and smoothness of display.</string>
0181         </property>
0182         <property name="textFormat">
0183          <enum>Qt::PlainText</enum>
0184         </property>
0185         <property name="scaledContents">
0186          <bool>false</bool>
0187         </property>
0188         <property name="alignment">
0189          <set>Qt::AlignVCenter</set>
0190         </property>
0191         <property name="wordWrap">
0192          <bool>true</bool>
0193         </property>
0194        </widget>
0195       </item>
0196      </layout>
0197     </widget>
0198    </item>
0199    <item row="6" column="0" colspan="2">
0200     <widget class="QGroupBox" name="groupBox4">
0201      <property name="title">
0202       <string>Convenience</string>
0203      </property>
0204      <layout class="QVBoxLayout">
0205       <item>
0206        <widget class="QCheckBox" name="kcfg_RestoreDocumentsOnStartup">
0207         <property name="text">
0208          <string>Restore opened doc&amp;uments on startup</string>
0209         </property>
0210        </widget>
0211       </item>
0212       <item>
0213        <widget class="QCheckBox" name="kcfg_RaiseItemSelectors">
0214         <property name="text">
0215          <string>Raise the &amp;appropriate item selector on creating a new document</string>
0216         </property>
0217        </widget>
0218       </item>
0219       <item>
0220        <widget class="QCheckBox" name="kcfg_RaiseMessagesLog">
0221         <property name="text">
0222          <string>Raise the &amp;Messages log when compiling</string>
0223         </property>
0224        </widget>
0225       </item>
0226      </layout>
0227     </widget>
0228    </item>
0229   </layout>
0230  </widget>
0231  <customwidgets>
0232   <customwidget>
0233    <class>KColorButton</class>
0234    <extends>QPushButton</extends>
0235    <header>kcolorbutton.h</header>
0236   </customwidget>
0237  </customwidgets>
0238  <tabstops>
0239   <tabstop>kcfg_ReuseSameViewForOutput</tabstop>
0240   <tabstop>kcfg_ShowVoltageBars</tabstop>
0241   <tabstop>kcfg_ShowGrid</tabstop>
0242   <tabstop>kcfg_GridColor</tabstop>
0243   <tabstop>kcfg_MaxUndo</tabstop>
0244   <tabstop>kcfg_RestoreDocumentsOnStartup</tabstop>
0245   <tabstop>kcfg_RaiseItemSelectors</tabstop>
0246   <tabstop>kcfg_RaiseMessagesLog</tabstop>
0247   <tabstop>refreshRateSlider</tabstop>
0248  </tabstops>
0249  <resources/>
0250  <connections>
0251   <connection>
0252    <sender>kcfg_ShowGrid</sender>
0253    <signal>toggled(bool)</signal>
0254    <receiver>kcfg_GridColor</receiver>
0255    <slot>setEnabled(bool)</slot>
0256    <hints>
0257     <hint type="sourcelabel">
0258      <x>20</x>
0259      <y>20</y>
0260     </hint>
0261     <hint type="destinationlabel">
0262      <x>20</x>
0263      <y>20</y>
0264     </hint>
0265    </hints>
0266   </connection>
0267  </connections>
0268 </ui>