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