]> git.lyx.org Git - features.git/blob - src/frontends/qt4/ui/BoxUi.ui
b36638c70e8509e3c8aff2433f1c67a4a7b20bb2
[features.git] / src / frontends / qt4 / ui / BoxUi.ui
1 <ui version="4.0">
2  <class>BoxUi</class>
3  <widget class="QDialog" name="BoxUi">
4   <property name="geometry">
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>356</width>
9     <height>288</height>
10    </rect>
11   </property>
12   <property name="windowTitle">
13    <string/>
14   </property>
15   <property name="sizeGripEnabled">
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="6" column="0" colspan="3">
185     <layout class="QHBoxLayout">
186      <property name="spacing">
187       <number>6</number>
188      </property>
189      <property name="margin">
190       <number>0</number>
191      </property>
192      <item>
193       <spacer>
194        <property name="orientation">
195         <enum>Qt::Horizontal</enum>
196        </property>
197        <property name="sizeType">
198         <enum>QSizePolicy::Expanding</enum>
199        </property>
200        <property name="sizeHint" stdset="0">
201         <size>
202          <width>20</width>
203          <height>20</height>
204         </size>
205        </property>
206       </spacer>
207      </item>
208      <item>
209       <widget class="QPushButton" name="newPB">
210        <property name="toolTip">
211         <string/>
212        </property>
213        <property name="text">
214         <string>&amp;New</string>
215        </property>
216        <property name="autoDefault">
217         <bool>false</bool>
218        </property>
219        <property name="default">
220         <bool>false</bool>
221        </property>
222       </widget>
223      </item>
224      <item>
225       <widget class="QPushButton" name="closePB">
226        <property name="text">
227         <string>&amp;Close</string>
228        </property>
229        <property name="autoDefault">
230         <bool>false</bool>
231        </property>
232        <property name="default">
233         <bool>false</bool>
234        </property>
235       </widget>
236      </item>
237     </layout>
238    </item>
239    <item row="3" column="2">
240     <widget class="LengthCombo" name="heightUnitsLC">
241      <property name="enabled">
242       <bool>false</bool>
243      </property>
244     </widget>
245    </item>
246    <item row="3" column="0">
247     <widget class="QCheckBox" name="heightCB">
248      <property name="toolTip">
249       <string/>
250      </property>
251      <property name="text">
252       <string>&amp;Height:</string>
253      </property>
254      <property name="checked">
255       <bool>false</bool>
256      </property>
257      <property name="tristate">
258       <bool>false</bool>
259      </property>
260     </widget>
261    </item>
262    <item row="1" column="0">
263     <widget class="QLabel" name="innerBoxLA">
264      <property name="toolTip">
265       <string/>
266      </property>
267      <property name="text">
268       <string>Inner Bo&amp;x:</string>
269      </property>
270      <property name="buddy">
271       <cstring>innerBoxCO</cstring>
272      </property>
273     </widget>
274    </item>
275    <item row="2" column="2">
276     <widget class="LengthCombo" name="widthUnitsLC"/>
277    </item>
278    <item row="0" column="0">
279     <widget class="QLabel" name="typeLA">
280      <property name="toolTip">
281       <string/>
282      </property>
283      <property name="text">
284       <string>&amp;Decoration:</string>
285      </property>
286      <property name="buddy">
287       <cstring>typeCO</cstring>
288      </property>
289     </widget>
290    </item>
291    <item row="2" column="0">
292     <widget class="QLabel" name="widthLA">
293      <property name="toolTip">
294       <string/>
295      </property>
296      <property name="text">
297       <string>&amp;Width:</string>
298      </property>
299      <property name="buddy">
300       <cstring>widthED</cstring>
301      </property>
302     </widget>
303    </item>
304    <item row="3" column="1">
305     <widget class="QLineEdit" name="heightED">
306      <property name="enabled">
307       <bool>false</bool>
308      </property>
309      <property name="toolTip">
310       <string>Height value</string>
311      </property>
312     </widget>
313    </item>
314    <item row="2" column="1">
315     <widget class="QLineEdit" name="widthED">
316      <property name="toolTip">
317       <string>Width value</string>
318      </property>
319     </widget>
320    </item>
321    <item row="1" column="1" colspan="2">
322     <widget class="QComboBox" name="innerBoxCO">
323      <property name="toolTip">
324       <string>Inner box -- needed for fixed width &amp; line breaks</string>
325      </property>
326      <item>
327       <property name="text">
328        <string>None</string>
329       </property>
330      </item>
331      <item>
332       <property name="text">
333        <string>Parbox</string>
334       </property>
335      </item>
336      <item>
337       <property name="text">
338        <string>Minipage</string>
339       </property>
340      </item>
341     </widget>
342    </item>
343    <item row="0" column="1" colspan="2">
344     <widget class="QComboBox" name="typeCO">
345      <property name="toolTip">
346       <string>Supported box types</string>
347      </property>
348     </widget>
349    </item>
350   </layout>
351  </widget>
352  <customwidgets>
353   <customwidget>
354    <class>LengthCombo</class>
355    <extends>QComboBox</extends>
356    <header>LengthCombo.h</header>
357   </customwidget>
358  </customwidgets>
359  <tabstops>
360   <tabstop>typeCO</tabstop>
361   <tabstop>innerBoxCO</tabstop>
362   <tabstop>widthED</tabstop>
363   <tabstop>widthUnitsLC</tabstop>
364   <tabstop>heightCB</tabstop>
365   <tabstop>heightED</tabstop>
366   <tabstop>heightUnitsLC</tabstop>
367   <tabstop>ialignCO</tabstop>
368   <tabstop>halignCO</tabstop>
369   <tabstop>valignCO</tabstop>
370   <tabstop>closePB</tabstop>
371   <tabstop>newPB</tabstop>
372  </tabstops>
373  <includes>
374   <include location="local">qt_i18n.h</include>
375  </includes>
376  <resources/>
377  <connections>
378   <connection>
379    <sender>heightCB</sender>
380    <signal>toggled(bool)</signal>
381    <receiver>heightED</receiver>
382    <slot>setEnabled(bool)</slot>
383    <hints>
384     <hint type="sourcelabel">
385      <x>75</x>
386      <y>83</y>
387     </hint>
388     <hint type="destinationlabel">
389      <x>171</x>
390      <y>83</y>
391     </hint>
392    </hints>
393   </connection>
394   <connection>
395    <sender>heightCB</sender>
396    <signal>toggled(bool)</signal>
397    <receiver>heightUnitsLC</receiver>
398    <slot>setEnabled(bool)</slot>
399    <hints>
400     <hint type="sourcelabel">
401      <x>86</x>
402      <y>100</y>
403     </hint>
404     <hint type="destinationlabel">
405      <x>283</x>
406      <y>100</y>
407     </hint>
408    </hints>
409   </connection>
410  </connections>
411 </ui>