root/branch/twedit/configurationdlg.ui

Revision 1564, 7.7 kB (checked in by mswat, 17 months ago)
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ConfigurationDlg</class>
4 <widget class="QDialog" name="ConfigurationDlg">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>433</width>
10    <height>413</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Configuration</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout_3">
17   <item>
18    <widget class="QTabWidget" name="tabWidget">
19     <property name="currentIndex">
20      <number>0</number>
21     </property>
22     <widget class="QWidget" name="editingTab">
23      <attribute name="title">
24       <string>Editing</string>
25      </attribute>
26      <layout class="QGridLayout" name="gridLayout_3">
27       <item row="0" column="0">
28        <layout class="QVBoxLayout" name="verticalLayout_2">
29         <item>
30          <layout class="QGridLayout" name="gridLayout">
31           <item row="0" column="0" colspan="2">
32            <widget class="QCheckBox" name="tabSpacesCheckBox">
33             <property name="text">
34              <string>Use spaces instead of tabs</string>
35             </property>
36             <property name="checked">
37              <bool>true</bool>
38             </property>
39            </widget>
40           </item>
41           <item row="1" column="0">
42            <widget class="QLabel" name="label">
43             <property name="text">
44              <string>Tab width</string>
45             </property>
46            </widget>
47           </item>
48           <item row="1" column="1">
49            <widget class="QSpinBox" name="spacesSpinBox">
50             <property name="enabled">
51              <bool>true</bool>
52             </property>
53             <property name="minimum">
54              <number>1</number>
55             </property>
56             <property name="value">
57              <number>4</number>
58             </property>
59            </widget>
60           </item>
61          </layout>
62         </item>
63         <item>
64          <layout class="QVBoxLayout" name="verticalLayout">
65           <item>
66            <widget class="QCheckBox" name="lineNumberCheckBox">
67             <property name="text">
68              <string>Display Line Number</string>
69             </property>
70             <property name="checked">
71              <bool>true</bool>
72             </property>
73            </widget>
74           </item>
75           <item>
76            <widget class="QCheckBox" name="foldTextCheckBox">
77             <property name="text">
78              <string>Enable Text Folding</string>
79             </property>
80             <property name="checked">
81              <bool>true</bool>
82             </property>
83            </widget>
84           </item>
85           <item>
86            <widget class="QCheckBox" name="tabGuidelinesCheckBox">
87             <property name="text">
88              <string>Enable Tab Guidelines</string>
89             </property>
90             <property name="checked">
91              <bool>true</bool>
92             </property>
93            </widget>
94           </item>
95           <item>
96            <widget class="QCheckBox" name="whiteSpaceCheckBox">
97             <property name="text">
98              <string>Display whitespaces</string>
99             </property>
100            </widget>
101           </item>
102           <item>
103            <widget class="QCheckBox" name="eolCheckBox">
104             <property name="text">
105              <string>Display End of Line</string>
106             </property>
107            </widget>
108           </item>
109           <item>
110            <widget class="QCheckBox" name="restoreTabsCheckBox">
111             <property name="text">
112              <string>Restore tabs on startup</string>
113             </property>
114             <property name="checked">
115              <bool>true</bool>
116             </property>
117            </widget>
118           </item>
119           <item>
120            <widget class="QCheckBox" name="wrapLinesCheckBox">
121             <property name="text">
122              <string>Wrap Lines</string>
123             </property>
124            </widget>
125           </item>
126           <item>
127            <widget class="QCheckBox" name="showWrapSymbolCheckBox">
128             <property name="text">
129              <string>Show Wrap Symbol</string>
130             </property>
131            </widget>
132           </item>
133          </layout>
134         </item>
135        </layout>
136       </item>
137       <item row="0" column="1">
138        <spacer name="horizontalSpacer">
139         <property name="orientation">
140          <enum>Qt::Horizontal</enum>
141         </property>
142         <property name="sizeHint" stdset="0">
143          <size>
144           <width>227</width>
145           <height>20</height>
146          </size>
147         </property>
148        </spacer>
149       </item>
150       <item row="1" column="0">
151        <spacer name="verticalSpacer">
152         <property name="orientation">
153          <enum>Qt::Vertical</enum>
154         </property>
155         <property name="sizeHint" stdset="0">
156          <size>
157           <width>20</width>
158           <height>164</height>
159          </size>
160         </property>
161        </spacer>
162       </item>
163      </layout>
164     </widget>
165     <widget class="QWidget" name="tab_2">
166      <attribute name="title">
167       <string>Other</string>
168      </attribute>
169     </widget>
170    </widget>
171   </item>
172   <item>
173    <layout class="QHBoxLayout" name="horizontalLayout_2">
174     <item>
175      <spacer name="horizontalSpacer_2">
176       <property name="orientation">
177        <enum>Qt::Horizontal</enum>
178       </property>
179       <property name="sizeHint" stdset="0">
180        <size>
181         <width>40</width>
182         <height>20</height>
183        </size>
184       </property>
185      </spacer>
186     </item>
187     <item>
188      <layout class="QHBoxLayout" name="horizontalLayout">
189       <item>
190        <widget class="QPushButton" name="okButton">
191         <property name="text">
192          <string>OK</string>
193         </property>
194        </widget>
195       </item>
196       <item>
197        <widget class="QPushButton" name="cancelButton">
198         <property name="text">
199          <string>Cancel</string>
200         </property>
201        </widget>
202       </item>
203      </layout>
204     </item>
205    </layout>
206   </item>
207  </layout>
208 </widget>
209 <resources/>
210 <connections>
211  <connection>
212   <sender>tabSpacesCheckBox</sender>
213   <signal>clicked(bool)</signal>
214   <receiver>spacesSpinBox</receiver>
215   <slot>setEnabled(bool)</slot>
216   <hints>
217    <hint type="sourcelabel">
218     <x>58</x>
219     <y>58</y>
220    </hint>
221    <hint type="destinationlabel">
222     <x>174</x>
223     <y>84</y>
224    </hint>
225   </hints>
226  </connection>
227  <connection>
228   <sender>cancelButton</sender>
229   <signal>clicked()</signal>
230   <receiver>ConfigurationDlg</receiver>
231   <slot>reject()</slot>
232   <hints>
233    <hint type="sourcelabel">
234     <x>387</x>
235     <y>385</y>
236    </hint>
237    <hint type="destinationlabel">
238     <x>429</x>
239     <y>392</y>
240    </hint>
241   </hints>
242  </connection>
243  <connection>
244   <sender>okButton</sender>
245   <signal>clicked()</signal>
246   <receiver>ConfigurationDlg</receiver>
247   <slot>accept()</slot>
248   <hints>
249    <hint type="sourcelabel">
250     <x>283</x>
251     <y>390</y>
252    </hint>
253    <hint type="destinationlabel">
254     <x>226</x>
255     <y>386</y>
256    </hint>
257   </hints>
258  </connection>
259  <connection>
260   <sender>wrapLinesCheckBox</sender>
261   <signal>toggled(bool)</signal>
262   <receiver>showWrapSymbolCheckBox</receiver>
263   <slot>setEnabled(bool)</slot>
264   <hints>
265    <hint type="sourcelabel">
266     <x>90</x>
267     <y>247</y>
268    </hint>
269    <hint type="destinationlabel">
270     <x>88</x>
271     <y>263</y>
272    </hint>
273   </hints>
274  </connection>
275 </connections>
276</ui>
Note: See TracBrowser for help on using the browser.