]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/ui/WrapUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / WrapUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>WrapUi</class>
4  <widget class="QDialog" name="WrapUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>405</width>
10     <height>219</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string/>
15   </property>
16   <property name="sizeGripEnabled">
17    <bool>true</bool>
18   </property>
19   <layout class="QGridLayout" name="gridLayout">
20    <item row="0" column="0">
21     <widget class="QLabel" name="valignLA">
22      <property name="text">
23       <string>Pla&amp;cement:</string>
24      </property>
25      <property name="buddy">
26       <cstring>valignCO</cstring>
27      </property>
28     </widget>
29    </item>
30    <item row="0" column="1" colspan="2">
31     <widget class="QComboBox" name="valignCO">
32      <property name="toolTip">
33       <string>Horizontal placement</string>
34      </property>
35      <item>
36       <property name="text">
37        <string>Outer (default)</string>
38       </property>
39      </item>
40      <item>
41       <property name="text">
42        <string>Inner</string>
43       </property>
44      </item>
45      <item>
46       <property name="text">
47        <string>Left</string>
48       </property>
49      </item>
50      <item>
51       <property name="text">
52        <string>Right</string>
53       </property>
54      </item>
55     </widget>
56    </item>
57    <item row="0" column="3">
58     <widget class="QCheckBox" name="floatCB">
59      <property name="toolTip">
60       <string>Check this to allow flexible placement</string>
61      </property>
62      <property name="text">
63       <string>Allow &amp;floating</string>
64      </property>
65     </widget>
66    </item>
67    <item row="1" column="0">
68     <widget class="QLabel" name="widthLA">
69      <property name="text">
70       <string>Wid&amp;th:</string>
71      </property>
72      <property name="buddy">
73       <cstring>widthED</cstring>
74      </property>
75     </widget>
76    </item>
77    <item row="1" column="1" colspan="2">
78     <widget class="QLineEdit" name="widthED">
79      <property name="sizePolicy">
80       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
81        <horstretch>0</horstretch>
82        <verstretch>0</verstretch>
83       </sizepolicy>
84      </property>
85      <property name="toolTip">
86       <string>Width value</string>
87      </property>
88     </widget>
89    </item>
90    <item row="1" column="3">
91     <widget class="lyx::frontend::LengthCombo" name="widthUnitLC">
92      <property name="sizePolicy">
93       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
94        <horstretch>0</horstretch>
95        <verstretch>0</verstretch>
96       </sizepolicy>
97      </property>
98      <property name="minimumSize">
99       <size>
100        <width>40</width>
101        <height>22</height>
102       </size>
103      </property>
104      <property name="focusPolicy">
105       <enum>Qt::StrongFocus</enum>
106      </property>
107      <property name="toolTip">
108       <string>Unit of width value</string>
109      </property>
110     </widget>
111    </item>
112    <item row="2" column="0">
113     <widget class="QCheckBox" name="overhangCB">
114      <property name="toolTip">
115       <string>use overhang</string>
116      </property>
117      <property name="text">
118       <string>Over&amp;hang:</string>
119      </property>
120      <property name="checked">
121       <bool>false</bool>
122      </property>
123     </widget>
124    </item>
125    <item row="2" column="1" colspan="2">
126     <widget class="QLineEdit" name="overhangED">
127      <property name="enabled">
128       <bool>false</bool>
129      </property>
130      <property name="sizePolicy">
131       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
132        <horstretch>0</horstretch>
133        <verstretch>0</verstretch>
134       </sizepolicy>
135      </property>
136      <property name="toolTip">
137       <string>Overhang value</string>
138      </property>
139     </widget>
140    </item>
141    <item row="2" column="3">
142     <widget class="lyx::frontend::LengthCombo" name="overhangUnitLC">
143      <property name="enabled">
144       <bool>false</bool>
145      </property>
146      <property name="sizePolicy">
147       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
148        <horstretch>0</horstretch>
149        <verstretch>0</verstretch>
150       </sizepolicy>
151      </property>
152      <property name="minimumSize">
153       <size>
154        <width>0</width>
155        <height>0</height>
156       </size>
157      </property>
158      <property name="focusPolicy">
159       <enum>Qt::StrongFocus</enum>
160      </property>
161      <property name="toolTip">
162       <string>Unit of overhang value</string>
163      </property>
164     </widget>
165    </item>
166    <item row="3" column="0">
167     <widget class="QCheckBox" name="linesCB">
168      <property name="toolTip">
169       <string>use number of lines</string>
170      </property>
171      <property name="text">
172       <string>&amp;Line span:</string>
173      </property>
174     </widget>
175    </item>
176    <item row="3" column="1">
177     <widget class="QSpinBox" name="linesSB">
178      <property name="enabled">
179       <bool>false</bool>
180      </property>
181      <property name="toolTip">
182       <string>number of needed lines</string>
183      </property>
184     </widget>
185    </item>
186    <item row="3" column="2">
187     <spacer>
188      <property name="orientation">
189       <enum>Qt::Horizontal</enum>
190      </property>
191      <property name="sizeHint" stdset="0">
192       <size>
193        <width>40</width>
194        <height>20</height>
195       </size>
196      </property>
197     </spacer>
198    </item>
199    <item row="4" column="0" colspan="4">
200     <widget class="QDialogButtonBox" name="buttonBox">
201      <property name="standardButtons">
202       <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
203      </property>
204     </widget>
205    </item>
206   </layout>
207  </widget>
208  <customwidgets>
209   <customwidget>
210    <class>lyx::frontend::LengthCombo</class>
211    <extends>QComboBox</extends>
212    <header>LengthCombo.h</header>
213   </customwidget>
214  </customwidgets>
215  <tabstops>
216   <tabstop>valignCO</tabstop>
217   <tabstop>floatCB</tabstop>
218   <tabstop>widthED</tabstop>
219   <tabstop>widthUnitLC</tabstop>
220   <tabstop>overhangCB</tabstop>
221   <tabstop>overhangED</tabstop>
222   <tabstop>overhangUnitLC</tabstop>
223   <tabstop>linesCB</tabstop>
224   <tabstop>linesSB</tabstop>
225  </tabstops>
226  <includes>
227   <include location="local">qt_i18n.h</include>
228  </includes>
229  <resources/>
230  <connections>
231   <connection>
232    <sender>overhangCB</sender>
233    <signal>toggled(bool)</signal>
234    <receiver>overhangED</receiver>
235    <slot>setEnabled(bool)</slot>
236    <hints>
237     <hint type="sourcelabel">
238      <x>52</x>
239      <y>71</y>
240     </hint>
241     <hint type="destinationlabel">
242      <x>124</x>
243      <y>70</y>
244     </hint>
245    </hints>
246   </connection>
247   <connection>
248    <sender>overhangCB</sender>
249    <signal>toggled(bool)</signal>
250    <receiver>overhangUnitLC</receiver>
251    <slot>setEnabled(bool)</slot>
252    <hints>
253     <hint type="sourcelabel">
254      <x>54</x>
255      <y>80</y>
256     </hint>
257     <hint type="destinationlabel">
258      <x>259</x>
259      <y>80</y>
260     </hint>
261    </hints>
262   </connection>
263   <connection>
264    <sender>linesCB</sender>
265    <signal>toggled(bool)</signal>
266    <receiver>linesSB</receiver>
267    <slot>setEnabled(bool)</slot>
268    <hints>
269     <hint type="sourcelabel">
270      <x>13</x>
271      <y>93</y>
272     </hint>
273     <hint type="destinationlabel">
274      <x>132</x>
275      <y>108</y>
276     </hint>
277    </hints>
278   </connection>
279  </connections>
280 </ui>