]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/ui/PrefUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / PrefUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PrefUi</class>
4  <widget class="QWidget" name="PrefUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>426</width>
10     <height>340</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="windowTitle">
20    <string/>
21   </property>
22   <layout class="QGridLayout" name="gridLayout_4">
23    <item row="0" column="0">
24     <widget class="QGroupBox" name="groupBox">
25      <property name="title">
26       <string>General Look &amp;&amp; Feel</string>
27      </property>
28      <property name="flat">
29       <bool>true</bool>
30      </property>
31      <layout class="QGridLayout" name="gridLayout_3">
32       <item row="1" column="0">
33        <layout class="QHBoxLayout" name="horizontalLayout_4">
34         <item>
35          <widget class="QCheckBox" name="useSystemThemeIconsCB">
36           <property name="text">
37            <string>Use icons from system's &amp;theme</string>
38           </property>
39          </widget>
40         </item>
41        </layout>
42       </item>
43       <item row="0" column="0">
44        <layout class="QGridLayout" name="gridLayout" columnstretch="0,1,0">
45         <item row="0" column="0">
46          <widget class="QLabel" name="uiFileLA">
47           <property name="text">
48            <string>&amp;User interface file:</string>
49           </property>
50           <property name="buddy">
51            <cstring>uiFileED</cstring>
52           </property>
53          </widget>
54         </item>
55         <item row="0" column="1">
56          <widget class="QLineEdit" name="uiFileED"/>
57         </item>
58         <item row="0" column="2">
59          <widget class="QPushButton" name="uiFilePB">
60           <property name="text">
61            <string>Bro&amp;wse...</string>
62           </property>
63          </widget>
64         </item>
65         <item row="1" column="0">
66          <widget class="QLabel" name="iconSetLA">
67           <property name="text">
68            <string>&amp;Icon set:</string>
69           </property>
70           <property name="buddy">
71            <cstring>iconSetCO</cstring>
72           </property>
73          </widget>
74         </item>
75         <item row="1" column="1">
76          <widget class="QComboBox" name="iconSetCO">
77           <property name="toolTip">
78            <string>The icon set to use. Warning: normal size of icons may be wrong until you save the preferences and restart LyX.</string>
79           </property>
80          </widget>
81         </item>
82         <item row="1" column="2">
83          <layout class="QHBoxLayout" name="horizontalLayout"/>
84         </item>
85        </layout>
86       </item>
87       <item row="0" column="1">
88        <spacer name="horizontalSpacer">
89         <property name="orientation">
90          <enum>Qt::Horizontal</enum>
91         </property>
92         <property name="sizeHint" stdset="0">
93          <size>
94           <width>40</width>
95           <height>20</height>
96          </size>
97         </property>
98        </spacer>
99       </item>
100      </layout>
101     </widget>
102    </item>
103    <item row="1" column="0">
104     <widget class="QGroupBox" name="pixmapCacheGB_2">
105      <property name="title">
106       <string>Context Help</string>
107      </property>
108      <property name="alignment">
109       <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
110      </property>
111      <property name="flat">
112       <bool>true</bool>
113      </property>
114      <layout class="QGridLayout">
115       <property name="leftMargin">
116        <number>9</number>
117       </property>
118       <property name="topMargin">
119        <number>9</number>
120       </property>
121       <property name="rightMargin">
122        <number>9</number>
123       </property>
124       <property name="bottomMargin">
125        <number>9</number>
126       </property>
127       <property name="spacing">
128        <number>4</number>
129       </property>
130       <item row="0" column="0">
131        <widget class="QCheckBox" name="tooltipCB">
132         <property name="toolTip">
133          <string>Checking this allows the automatic display of helpful comments for insets in the main work area of an edited document</string>
134         </property>
135         <property name="text">
136          <string>&amp;Enable tool tips in main work area</string>
137         </property>
138        </widget>
139       </item>
140      </layout>
141     </widget>
142    </item>
143    <item row="2" column="0">
144     <widget class="QGroupBox" name="documentsGB">
145      <property name="title">
146       <string>Menus</string>
147      </property>
148      <property name="flat">
149       <bool>true</bool>
150      </property>
151      <layout class="QGridLayout" name="gridLayout_2">
152       <item row="0" column="0">
153        <layout class="QHBoxLayout" name="horizontalLayout_3">
154         <item>
155          <widget class="QLabel" name="lastfilesLA">
156           <property name="text">
157            <string>&amp;Maximum last files:</string>
158           </property>
159           <property name="buddy">
160            <cstring>lastfilesSB</cstring>
161           </property>
162          </widget>
163         </item>
164         <item>
165          <widget class="QSpinBox" name="lastfilesSB">
166           <property name="maximum">
167            <number>9</number>
168           </property>
169          </widget>
170         </item>
171         <item>
172          <spacer>
173           <property name="orientation">
174            <enum>Qt::Horizontal</enum>
175           </property>
176           <property name="sizeHint" stdset="0">
177            <size>
178             <width>48</width>
179             <height>20</height>
180            </size>
181           </property>
182          </spacer>
183         </item>
184        </layout>
185       </item>
186      </layout>
187     </widget>
188    </item>
189    <item row="3" column="0">
190     <spacer>
191      <property name="orientation">
192       <enum>Qt::Vertical</enum>
193      </property>
194      <property name="sizeHint" stdset="0">
195       <size>
196        <width>395</width>
197        <height>16</height>
198       </size>
199      </property>
200     </spacer>
201    </item>
202   </layout>
203  </widget>
204  <layoutdefault spacing="4" margin="9"/>
205  <tabstops>
206   <tabstop>uiFileED</tabstop>
207   <tabstop>uiFilePB</tabstop>
208   <tabstop>iconSetCO</tabstop>
209   <tabstop>useSystemThemeIconsCB</tabstop>
210   <tabstop>tooltipCB</tabstop>
211  </tabstops>
212  <includes>
213   <include location="local">qt_i18n.h</include>
214  </includes>
215  <resources/>
216  <connections/>
217 </ui>