]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/BoxUi.ui
small cleanup
[lyx.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>348</width>
9     <height>264</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="3" >
26     <widget class="QGroupBox" name="groupBox_2" >
27      <property name="title" >
28       <string>Alignment</string>
29      </property>
30      <property name="flat" >
31       <bool>true</bool>
32      </property>
33      <layout class="QGridLayout" >
34       <property name="margin" >
35        <number>9</number>
36       </property>
37       <property name="spacing" >
38        <number>6</number>
39       </property>
40       <item row="1" column="2" >
41        <widget class="QComboBox" name="halignCO" >
42         <property name="sizePolicy" >
43          <sizepolicy>
44           <hsizetype>7</hsizetype>
45           <vsizetype>0</vsizetype>
46           <horstretch>0</horstretch>
47           <verstretch>0</verstretch>
48          </sizepolicy>
49         </property>
50         <property name="toolTip" >
51          <string>Horizontal alignment of the content inside the box</string>
52         </property>
53         <item>
54          <property name="text" >
55           <string>Left</string>
56          </property>
57         </item>
58         <item>
59          <property name="text" >
60           <string>Center</string>
61          </property>
62         </item>
63         <item>
64          <property name="text" >
65           <string>Right</string>
66          </property>
67         </item>
68         <item>
69          <property name="text" >
70           <string>Stretch</string>
71          </property>
72         </item>
73        </widget>
74       </item>
75       <item row="1" column="1" >
76        <widget class="QComboBox" name="ialignCO" >
77         <property name="sizePolicy" >
78          <sizepolicy>
79           <hsizetype>7</hsizetype>
80           <vsizetype>0</vsizetype>
81           <horstretch>0</horstretch>
82           <verstretch>0</verstretch>
83          </sizepolicy>
84         </property>
85         <property name="toolTip" >
86          <string>Vertical alignment of the content inside the box</string>
87         </property>
88         <item>
89          <property name="text" >
90           <string>Top</string>
91          </property>
92         </item>
93         <item>
94          <property name="text" >
95           <string>Middle</string>
96          </property>
97         </item>
98         <item>
99          <property name="text" >
100           <string>Bottom</string>
101          </property>
102         </item>
103         <item>
104          <property name="text" >
105           <string>Stretch</string>
106          </property>
107         </item>
108        </widget>
109       </item>
110       <item row="2" column="1" >
111        <widget class="QComboBox" name="valignCO" >
112         <property name="toolTip" >
113          <string>Vertical alignment of the box (with regard to baseline)</string>
114         </property>
115         <item>
116          <property name="text" >
117           <string>Top</string>
118          </property>
119         </item>
120         <item>
121          <property name="text" >
122           <string>Middle</string>
123          </property>
124         </item>
125         <item>
126          <property name="text" >
127           <string>Bottom</string>
128          </property>
129         </item>
130        </widget>
131       </item>
132       <item row="2" column="0" >
133        <widget class="QLabel" name="valignLA" >
134         <property name="toolTip" >
135          <string>Vertical alignment of the box (with regard to baseline)</string>
136         </property>
137         <property name="text" >
138          <string>&amp;Box:</string>
139         </property>
140         <property name="buddy" >
141          <cstring>valignCO</cstring>
142         </property>
143        </widget>
144       </item>
145       <item row="1" column="0" >
146        <widget class="QLabel" name="label" >
147         <property name="text" >
148          <string>Co&amp;ntent:</string>
149         </property>
150         <property name="buddy" >
151          <cstring>ialignCO</cstring>
152         </property>
153        </widget>
154       </item>
155       <item row="0" column="1" >
156        <widget class="QLabel" name="ialignLA" >
157         <property name="toolTip" >
158          <string>Vertical alignment of the content inside the box</string>
159         </property>
160         <property name="text" >
161          <string>Vertical</string>
162         </property>
163        </widget>
164       </item>
165       <item row="0" column="2" >
166        <widget class="QLabel" name="halignLA" >
167         <property name="toolTip" >
168          <string>Horizontal alignment of the content inside the box</string>
169         </property>
170         <property name="text" >
171          <string>Horizontal</string>
172         </property>
173        </widget>
174       </item>
175      </layout>
176     </widget>
177    </item>
178    <item row="0" column="1" colspan="2" >
179     <widget class="QComboBox" name="typeCO" >
180      <property name="toolTip" >
181       <string>Supported box types</string>
182      </property>
183     </widget>
184    </item>
185    <item row="1" column="1" colspan="2" >
186     <widget class="QComboBox" name="innerBoxCO" >
187      <property name="toolTip" >
188       <string>Inner box -- needed for fixed width &amp; line breaks</string>
189      </property>
190      <item>
191       <property name="text" >
192        <string>None</string>
193       </property>
194      </item>
195      <item>
196       <property name="text" >
197        <string>Parbox</string>
198       </property>
199      </item>
200      <item>
201       <property name="text" >
202        <string>Minipage</string>
203       </property>
204      </item>
205     </widget>
206    </item>
207    <item row="2" column="1" >
208     <widget class="QLineEdit" name="widthED" >
209      <property name="toolTip" >
210       <string>Width value</string>
211      </property>
212     </widget>
213    </item>
214    <item row="3" column="1" >
215     <widget class="QLineEdit" name="heightED" >
216      <property name="enabled" >
217       <bool>false</bool>
218      </property>
219      <property name="toolTip" >
220       <string>Height value</string>
221      </property>
222     </widget>
223    </item>
224    <item row="2" column="0" >
225     <widget class="QLabel" name="widthLA" >
226      <property name="toolTip" >
227       <string/>
228      </property>
229      <property name="text" >
230       <string>&amp;Width:</string>
231      </property>
232      <property name="buddy" >
233       <cstring>widthED</cstring>
234      </property>
235     </widget>
236    </item>
237    <item row="0" column="0" >
238     <widget class="QLabel" name="typeLA" >
239      <property name="toolTip" >
240       <string/>
241      </property>
242      <property name="text" >
243       <string>&amp;Decoration:</string>
244      </property>
245      <property name="buddy" >
246       <cstring>typeCO</cstring>
247      </property>
248     </widget>
249    </item>
250    <item row="2" column="2" >
251     <widget class="LengthCombo" name="widthUnitsLC" />
252    </item>
253    <item row="1" column="0" >
254     <widget class="QLabel" name="innerBoxLA" >
255      <property name="toolTip" >
256       <string/>
257      </property>
258      <property name="text" >
259       <string>Inner Bo&amp;x:</string>
260      </property>
261      <property name="buddy" >
262       <cstring>innerBoxCO</cstring>
263      </property>
264     </widget>
265    </item>
266    <item row="5" column="0" colspan="3" >
267     <layout class="QHBoxLayout" >
268      <property name="margin" >
269       <number>0</number>
270      </property>
271      <property name="spacing" >
272       <number>6</number>
273      </property>
274      <item>
275       <widget class="QPushButton" name="restorePB" >
276        <property name="toolTip" >
277         <string/>
278        </property>
279        <property name="text" >
280         <string>&amp;Restore</string>
281        </property>
282        <property name="autoDefault" >
283         <bool>false</bool>
284        </property>
285        <property name="default" >
286         <bool>false</bool>
287        </property>
288       </widget>
289      </item>
290      <item>
291       <spacer>
292        <property name="orientation" >
293         <enum>Qt::Horizontal</enum>
294        </property>
295        <property name="sizeType" >
296         <enum>QSizePolicy::Expanding</enum>
297        </property>
298        <property name="sizeHint" >
299         <size>
300          <width>20</width>
301          <height>20</height>
302         </size>
303        </property>
304       </spacer>
305      </item>
306      <item>
307       <widget class="QPushButton" name="okPB" >
308        <property name="toolTip" >
309         <string/>
310        </property>
311        <property name="text" >
312         <string>&amp;OK</string>
313        </property>
314        <property name="default" >
315         <bool>true</bool>
316        </property>
317       </widget>
318      </item>
319      <item>
320       <widget class="QPushButton" name="applyPB" >
321        <property name="toolTip" >
322         <string/>
323        </property>
324        <property name="text" >
325         <string>&amp;Apply</string>
326        </property>
327        <property name="autoDefault" >
328         <bool>false</bool>
329        </property>
330        <property name="default" >
331         <bool>false</bool>
332        </property>
333       </widget>
334      </item>
335      <item>
336       <widget class="QPushButton" name="closePB" >
337        <property name="text" >
338         <string>&amp;Close</string>
339        </property>
340        <property name="autoDefault" >
341         <bool>false</bool>
342        </property>
343        <property name="default" >
344         <bool>false</bool>
345        </property>
346       </widget>
347      </item>
348     </layout>
349    </item>
350    <item row="3" column="0" >
351     <widget class="QCheckBox" name="heightCB" >
352      <property name="toolTip" >
353       <string/>
354      </property>
355      <property name="text" >
356       <string>&amp;Height:</string>
357      </property>
358      <property name="checked" >
359       <bool>false</bool>
360      </property>
361      <property name="tristate" >
362       <bool>false</bool>
363      </property>
364     </widget>
365    </item>
366    <item row="3" column="2" >
367     <widget class="LengthCombo" name="heightUnitsLC" >
368      <property name="enabled" >
369       <bool>false</bool>
370      </property>
371     </widget>
372    </item>
373   </layout>
374  </widget>
375  <customwidgets>
376   <customwidget>
377    <class>LengthCombo</class>
378    <extends>QComboBox</extends>
379    <header>LengthCombo.h</header>
380   </customwidget>
381  </customwidgets>
382  <tabstops>
383   <tabstop>typeCO</tabstop>
384   <tabstop>innerBoxCO</tabstop>
385   <tabstop>widthED</tabstop>
386   <tabstop>widthUnitsLC</tabstop>
387   <tabstop>heightCB</tabstop>
388   <tabstop>heightED</tabstop>
389   <tabstop>heightUnitsLC</tabstop>
390   <tabstop>ialignCO</tabstop>
391   <tabstop>halignCO</tabstop>
392   <tabstop>valignCO</tabstop>
393   <tabstop>restorePB</tabstop>
394   <tabstop>okPB</tabstop>
395   <tabstop>closePB</tabstop>
396   <tabstop>applyPB</tabstop>
397  </tabstops>
398  <includes>
399   <include location="local" >qt_helpers.h</include>
400  </includes>
401  <resources/>
402  <connections>
403   <connection>
404    <sender>heightCB</sender>
405    <signal>toggled(bool)</signal>
406    <receiver>heightED</receiver>
407    <slot>setEnabled(bool)</slot>
408    <hints>
409     <hint type="sourcelabel" >
410      <x>75</x>
411      <y>83</y>
412     </hint>
413     <hint type="destinationlabel" >
414      <x>171</x>
415      <y>83</y>
416     </hint>
417    </hints>
418   </connection>
419   <connection>
420    <sender>heightCB</sender>
421    <signal>toggled(bool)</signal>
422    <receiver>heightUnitsLC</receiver>
423    <slot>setEnabled(bool)</slot>
424    <hints>
425     <hint type="sourcelabel" >
426      <x>86</x>
427      <y>100</y>
428     </hint>
429     <hint type="destinationlabel" >
430      <x>283</x>
431      <y>100</y>
432     </hint>
433    </hints>
434   </connection>
435  </connections>
436 </ui>