]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/BoxUi.ui
Fix the tab ordering of GuiDocument components.
[lyx.git] / src / frontends / qt4 / ui / BoxUi.ui
1 <ui version="4.0">
2  <class>BoxUi</class>
3  <widget class="QWidget" name="BoxUi">
4   <property name="geometry">
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>261</width>
9     <height>245</height>
10    </rect>
11   </property>
12   <property name="windowTitle">
13    <string/>
14   </property>
15   <property name="sizeGripEnabled" stdset="0">
16    <bool>true</bool>
17   </property>
18   <layout class="QGridLayout">
19    <property name="margin">
20     <number>9</number>
21    </property>
22    <property name="spacing">
23     <number>6</number>
24    </property>
25    <item row="4" column="0" colspan="2">
26     <widget class="QCheckBox" name="pagebreakCB">
27      <property name="toolTip">
28       <string>Check this if the box should break across pages</string>
29      </property>
30      <property name="text">
31       <string>Allow &amp;page breaks</string>
32      </property>
33     </widget>
34    </item>
35    <item row="5" column="0" colspan="3">
36     <widget class="QGroupBox" name="groupBox_2">
37      <property name="title">
38       <string>Alignment</string>
39      </property>
40      <property name="flat">
41       <bool>true</bool>
42      </property>
43      <layout class="QGridLayout">
44       <property name="margin">
45        <number>9</number>
46       </property>
47       <property name="spacing">
48        <number>6</number>
49       </property>
50       <item row="1" column="2">
51        <widget class="QComboBox" name="halignCO">
52         <property name="sizePolicy">
53          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
54           <horstretch>0</horstretch>
55           <verstretch>0</verstretch>
56          </sizepolicy>
57         </property>
58         <property name="toolTip">
59          <string>Horizontal alignment of the content inside the box</string>
60         </property>
61         <item>
62          <property name="text">
63           <string>Left</string>
64          </property>
65         </item>
66         <item>
67          <property name="text">
68           <string>Center</string>
69          </property>
70         </item>
71         <item>
72          <property name="text">
73           <string>Right</string>
74          </property>
75         </item>
76         <item>
77          <property name="text">
78           <string>Stretch</string>
79          </property>
80         </item>
81        </widget>
82       </item>
83       <item row="1" column="1">
84        <widget class="QComboBox" name="ialignCO">
85         <property name="sizePolicy">
86          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
87           <horstretch>0</horstretch>
88           <verstretch>0</verstretch>
89          </sizepolicy>
90         </property>
91         <property name="toolTip">
92          <string>Vertical alignment of the content inside the box</string>
93         </property>
94         <item>
95          <property name="text">
96           <string>Top</string>
97          </property>
98         </item>
99         <item>
100          <property name="text">
101           <string>Middle</string>
102          </property>
103         </item>
104         <item>
105          <property name="text">
106           <string>Bottom</string>
107          </property>
108         </item>
109         <item>
110          <property name="text">
111           <string>Stretch</string>
112          </property>
113         </item>
114        </widget>
115       </item>
116       <item row="2" column="1">
117        <widget class="QComboBox" name="valignCO">
118         <property name="toolTip">
119          <string>Vertical alignment of the box (with regard to baseline)</string>
120         </property>
121         <item>
122          <property name="text">
123           <string>Top</string>
124          </property>
125         </item>
126         <item>
127          <property name="text">
128           <string>Middle</string>
129          </property>
130         </item>
131         <item>
132          <property name="text">
133           <string>Bottom</string>
134          </property>
135         </item>
136        </widget>
137       </item>
138       <item row="2" column="0">
139        <widget class="QLabel" name="valignLA">
140         <property name="toolTip">
141          <string>Vertical alignment of the box (with regard to baseline)</string>
142         </property>
143         <property name="text">
144          <string>&amp;Box:</string>
145         </property>
146         <property name="buddy">
147          <cstring>valignCO</cstring>
148         </property>
149        </widget>
150       </item>
151       <item row="1" column="0">
152        <widget class="QLabel" name="label">
153         <property name="text">
154          <string>Co&amp;ntent:</string>
155         </property>
156         <property name="buddy">
157          <cstring>ialignCO</cstring>
158         </property>
159        </widget>
160       </item>
161       <item row="0" column="1">
162        <widget class="QLabel" name="ialignLA">
163         <property name="toolTip">
164          <string>Vertical alignment of the content inside the box</string>
165         </property>
166         <property name="text">
167          <string>Vertical</string>
168         </property>
169        </widget>
170       </item>
171       <item row="0" column="2">
172        <widget class="QLabel" name="halignLA">
173         <property name="toolTip">
174          <string>Horizontal alignment of the content inside the box</string>
175         </property>
176         <property name="text">
177          <string>Horizontal</string>
178         </property>
179        </widget>
180       </item>
181      </layout>
182     </widget>
183    </item>
184    <item row="3" column="2">
185     <widget class="LengthCombo" name="heightUnitsLC">
186      <property name="enabled">
187       <bool>false</bool>
188      </property>
189     </widget>
190    </item>
191    <item row="3" column="0">
192     <widget class="QCheckBox" name="heightCB">
193      <property name="toolTip">
194       <string/>
195      </property>
196      <property name="text">
197       <string>&amp;Height:</string>
198      </property>
199      <property name="checked">
200       <bool>false</bool>
201      </property>
202      <property name="tristate">
203       <bool>false</bool>
204      </property>
205     </widget>
206    </item>
207    <item row="1" column="0">
208     <widget class="QLabel" name="innerBoxLA">
209      <property name="toolTip">
210       <string/>
211      </property>
212      <property name="text">
213       <string>Inner Bo&amp;x:</string>
214      </property>
215      <property name="buddy">
216       <cstring>innerBoxCO</cstring>
217      </property>
218     </widget>
219    </item>
220    <item row="2" column="2">
221     <widget class="LengthCombo" name="widthUnitsLC"/>
222    </item>
223    <item row="0" column="0">
224     <widget class="QLabel" name="typeLA">
225      <property name="toolTip">
226       <string/>
227      </property>
228      <property name="text">
229       <string>&amp;Decoration:</string>
230      </property>
231      <property name="buddy">
232       <cstring>typeCO</cstring>
233      </property>
234     </widget>
235    </item>
236    <item row="2" column="0">
237     <widget class="QLabel" name="widthLA">
238      <property name="toolTip">
239       <string/>
240      </property>
241      <property name="text">
242       <string>&amp;Width:</string>
243      </property>
244      <property name="buddy">
245       <cstring>widthED</cstring>
246      </property>
247     </widget>
248    </item>
249    <item row="3" column="1">
250     <widget class="QLineEdit" name="heightED">
251      <property name="enabled">
252       <bool>false</bool>
253      </property>
254      <property name="toolTip">
255       <string>Height value</string>
256      </property>
257     </widget>
258    </item>
259    <item row="2" column="1">
260     <widget class="QLineEdit" name="widthED">
261      <property name="toolTip">
262       <string>Width value</string>
263      </property>
264     </widget>
265    </item>
266    <item row="1" column="1" colspan="2">
267     <widget class="QComboBox" name="innerBoxCO">
268      <property name="toolTip">
269       <string>Inner box -- needed for fixed width &amp; line breaks</string>
270      </property>
271      <item>
272       <property name="text">
273        <string>None</string>
274       </property>
275      </item>
276      <item>
277       <property name="text">
278        <string>Parbox</string>
279       </property>
280      </item>
281      <item>
282       <property name="text">
283        <string>Minipage</string>
284       </property>
285      </item>
286     </widget>
287    </item>
288    <item row="0" column="1" colspan="2">
289     <widget class="QComboBox" name="typeCO">
290      <property name="toolTip">
291       <string>Supported box types</string>
292      </property>
293     </widget>
294    </item>
295   </layout>
296  </widget>
297  <customwidgets>
298   <customwidget>
299    <class>LengthCombo</class>
300    <extends>QComboBox</extends>
301    <header>LengthCombo.h</header>
302   </customwidget>
303  </customwidgets>
304  <tabstops>
305   <tabstop>typeCO</tabstop>
306   <tabstop>innerBoxCO</tabstop>
307   <tabstop>widthED</tabstop>
308   <tabstop>widthUnitsLC</tabstop>
309   <tabstop>heightCB</tabstop>
310   <tabstop>heightED</tabstop>
311   <tabstop>heightUnitsLC</tabstop>
312   <tabstop>ialignCO</tabstop>
313   <tabstop>halignCO</tabstop>
314   <tabstop>valignCO</tabstop>
315  </tabstops>
316  <includes>
317   <include location="local">qt_i18n.h</include>
318  </includes>
319  <resources/>
320  <connections>
321   <connection>
322    <sender>heightCB</sender>
323    <signal>toggled(bool)</signal>
324    <receiver>heightED</receiver>
325    <slot>setEnabled(bool)</slot>
326    <hints>
327     <hint type="sourcelabel">
328      <x>75</x>
329      <y>83</y>
330     </hint>
331     <hint type="destinationlabel">
332      <x>171</x>
333      <y>83</y>
334     </hint>
335    </hints>
336   </connection>
337   <connection>
338    <sender>heightCB</sender>
339    <signal>toggled(bool)</signal>
340    <receiver>heightUnitsLC</receiver>
341    <slot>setEnabled(bool)</slot>
342    <hints>
343     <hint type="sourcelabel">
344      <x>86</x>
345      <y>100</y>
346     </hint>
347     <hint type="destinationlabel">
348      <x>283</x>
349      <y>100</y>
350     </hint>
351    </hints>
352   </connection>
353  </connections>
354 </ui>