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