]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ParagraphUi.ui
Fix some issues with the paragraph settings dialog. The main change
[lyx.git] / src / frontends / qt4 / ui / ParagraphUi.ui
1 <ui version="4.0" >
2  <class>QParagraphUi</class>
3  <widget class="QDialog" name="QParagraphUi" >
4   <property name="windowModality" >
5    <enum>Qt::ApplicationModal</enum>
6   </property>
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>488</width>
12     <height>334</height>
13    </rect>
14   </property>
15   <property name="sizePolicy" >
16    <sizepolicy>
17     <hsizetype>1</hsizetype>
18     <vsizetype>1</vsizetype>
19     <horstretch>0</horstretch>
20     <verstretch>0</verstretch>
21    </sizepolicy>
22   </property>
23   <property name="focusPolicy" >
24    <enum>Qt::NoFocus</enum>
25   </property>
26   <property name="windowTitle" >
27    <string/>
28   </property>
29   <property name="sizeGripEnabled" >
30    <bool>true</bool>
31   </property>
32   <layout class="QGridLayout" >
33    <property name="margin" >
34     <number>9</number>
35    </property>
36    <property name="spacing" >
37     <number>6</number>
38    </property>
39    <item row="4" column="0" >
40     <spacer>
41      <property name="orientation" >
42       <enum>Qt::Vertical</enum>
43      </property>
44      <property name="sizeHint" >
45       <size>
46        <width>20</width>
47        <height>31</height>
48       </size>
49      </property>
50     </spacer>
51    </item>
52    <item row="2" column="0" >
53     <layout class="QHBoxLayout" >
54      <property name="margin" >
55       <number>0</number>
56      </property>
57      <property name="spacing" >
58       <number>6</number>
59      </property>
60      <item>
61       <widget class="QCheckBox" name="indentCB" >
62        <property name="text" >
63         <string>Indent &amp;Paragraph</string>
64        </property>
65       </widget>
66      </item>
67      <item>
68       <spacer>
69        <property name="orientation" >
70         <enum>Qt::Horizontal</enum>
71        </property>
72        <property name="sizeType" >
73         <enum>QSizePolicy::Expanding</enum>
74        </property>
75        <property name="sizeHint" >
76         <size>
77          <width>20</width>
78          <height>20</height>
79         </size>
80        </property>
81       </spacer>
82      </item>
83     </layout>
84    </item>
85    <item row="5" column="0" >
86     <layout class="QHBoxLayout" >
87      <property name="margin" >
88       <number>0</number>
89      </property>
90      <property name="spacing" >
91       <number>6</number>
92      </property>
93      <item>
94       <widget class="QPushButton" name="restorePB" >
95        <property name="text" >
96         <string>&amp;Restore</string>
97        </property>
98        <property name="autoDefault" >
99         <bool>false</bool>
100        </property>
101       </widget>
102      </item>
103      <item>
104       <spacer>
105        <property name="orientation" >
106         <enum>Qt::Horizontal</enum>
107        </property>
108        <property name="sizeType" >
109         <enum>QSizePolicy::Expanding</enum>
110        </property>
111        <property name="sizeHint" >
112         <size>
113          <width>20</width>
114          <height>20</height>
115         </size>
116        </property>
117       </spacer>
118      </item>
119      <item>
120       <widget class="QPushButton" name="okPB" >
121        <property name="text" >
122         <string>&amp;OK</string>
123        </property>
124        <property name="autoDefault" >
125         <bool>false</bool>
126        </property>
127        <property name="default" >
128         <bool>true</bool>
129        </property>
130       </widget>
131      </item>
132      <item>
133       <widget class="QPushButton" name="applyPB" >
134        <property name="text" >
135         <string>&amp;Apply</string>
136        </property>
137        <property name="autoDefault" >
138         <bool>false</bool>
139        </property>
140       </widget>
141      </item>
142      <item>
143       <widget class="QPushButton" name="closePB" >
144        <property name="text" >
145         <string>&amp;Close</string>
146        </property>
147        <property name="autoDefault" >
148         <bool>false</bool>
149        </property>
150       </widget>
151      </item>
152     </layout>
153    </item>
154    <item row="0" column="0" >
155     <layout class="QHBoxLayout" >
156      <property name="margin" >
157       <number>0</number>
158      </property>
159      <property name="spacing" >
160       <number>6</number>
161      </property>
162      <item>
163       <widget class="QLabel" name="linespacingL" >
164        <property name="text" >
165         <string>L&amp;ine spacing:</string>
166        </property>
167        <property name="buddy" >
168         <cstring>linespacing</cstring>
169        </property>
170       </widget>
171      </item>
172      <item>
173       <widget class="QComboBox" name="linespacing" >
174        <item>
175         <property name="text" >
176          <string>Default</string>
177         </property>
178        </item>
179        <item>
180         <property name="text" >
181          <string>Single</string>
182         </property>
183        </item>
184        <item>
185         <property name="text" >
186          <string>1.5</string>
187         </property>
188        </item>
189        <item>
190         <property name="text" >
191          <string>Double</string>
192         </property>
193        </item>
194        <item>
195         <property name="text" >
196          <string>Custom</string>
197         </property>
198        </item>
199       </widget>
200      </item>
201      <item>
202       <widget class="QLineEdit" name="linespacingValue" >
203        <property name="enabled" >
204         <bool>false</bool>
205        </property>
206       </widget>
207      </item>
208     </layout>
209    </item>
210    <item row="1" column="0" >
211     <widget class="QGroupBox" name="aligmentGB" >
212      <property name="sizePolicy" >
213       <sizepolicy>
214        <hsizetype>3</hsizetype>
215        <vsizetype>5</vsizetype>
216        <horstretch>0</horstretch>
217        <verstretch>0</verstretch>
218       </sizepolicy>
219      </property>
220      <property name="title" >
221       <string>Alignment</string>
222      </property>
223      <layout class="QGridLayout" >
224       <property name="margin" >
225        <number>9</number>
226       </property>
227       <property name="spacing" >
228        <number>6</number>
229       </property>
230       <item row="0" column="0" colspan="4" >
231        <widget class="QRadioButton" name="alignDefaultRB" >
232         <property name="font" >
233          <font>
234           <italic>false</italic>
235          </font>
236         </property>
237         <property name="toolTip" >
238          <string>Use the default alignment for this paragraph, whatever it is.</string>
239         </property>
240         <property name="text" >
241          <string>Use Paragraph's Default Alignment</string>
242         </property>
243        </widget>
244       </item>
245       <item row="1" column="3" >
246        <widget class="QRadioButton" name="alignRightRB" >
247         <property name="text" >
248          <string>&amp;Right</string>
249         </property>
250        </widget>
251       </item>
252       <item row="1" column="1" >
253        <widget class="QRadioButton" name="alignLeftRB" >
254         <property name="text" >
255          <string>&amp;Left</string>
256         </property>
257        </widget>
258       </item>
259       <item row="1" column="2" >
260        <widget class="QRadioButton" name="alignCenterRB" >
261         <property name="text" >
262          <string>&amp;Center</string>
263         </property>
264        </widget>
265       </item>
266       <item row="1" column="0" >
267        <widget class="QRadioButton" name="alignJustRB" >
268         <property name="text" >
269          <string>&amp;Justified</string>
270         </property>
271        </widget>
272       </item>
273      </layout>
274     </widget>
275    </item>
276    <item row="3" column="0" >
277     <widget class="QGroupBox" name="labelwidthGB" >
278      <property name="enabled" >
279       <bool>false</bool>
280      </property>
281      <property name="sizePolicy" >
282       <sizepolicy>
283        <hsizetype>5</hsizetype>
284        <vsizetype>1</vsizetype>
285        <horstretch>0</horstretch>
286        <verstretch>0</verstretch>
287       </sizepolicy>
288      </property>
289      <property name="title" >
290       <string>Label Width</string>
291      </property>
292      <layout class="QGridLayout" >
293       <property name="margin" >
294        <number>9</number>
295       </property>
296       <property name="spacing" >
297        <number>6</number>
298       </property>
299       <item row="0" column="1" >
300        <widget class="QLineEdit" name="labelWidth" >
301         <property name="toolTip" >
302          <string>This text defines the width of the paragraph label</string>
303         </property>
304        </widget>
305       </item>
306       <item row="0" column="0" >
307        <widget class="QLabel" name="TextLabel2" >
308         <property name="toolTip" >
309          <string>This text defines the width of the paragraph label</string>
310         </property>
311         <property name="text" >
312          <string>&amp;Longest label</string>
313         </property>
314         <property name="buddy" >
315          <cstring>labelWidth</cstring>
316         </property>
317        </widget>
318       </item>
319      </layout>
320     </widget>
321    </item>
322   </layout>
323  </widget>
324  <tabstops>
325   <tabstop>linespacing</tabstop>
326   <tabstop>linespacingValue</tabstop>
327   <tabstop>indentCB</tabstop>
328   <tabstop>labelWidth</tabstop>
329   <tabstop>restorePB</tabstop>
330   <tabstop>okPB</tabstop>
331   <tabstop>applyPB</tabstop>
332   <tabstop>closePB</tabstop>
333  </tabstops>
334  <includes>
335   <include location="local" >qt_helpers.h</include>
336  </includes>
337  <resources/>
338  <connections/>
339 </ui>