]> git.lyx.org Git - lyx.git/blob - src/frontends/qt/ui/ColorUi.ui
Properly scale some icons for HiDPI (#12695)
[lyx.git] / src / frontends / qt / ui / ColorUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>ColorUi</class>
4  <widget class="QWidget" name="ColorUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>519</width>
10     <height>274</height>
11    </rect>
12   </property>
13   <property name="contextMenuPolicy">
14    <enum>Qt::DefaultContextMenu</enum>
15   </property>
16   <property name="windowTitle">
17    <string/>
18   </property>
19   <property name="toolTip">
20    <string/>
21   </property>
22   <layout class="QHBoxLayout" name="horizontalLayout">
23    <item>
24     <layout class="QVBoxLayout" name="verticalLayout_3">
25      <item>
26       <widget class="QGroupBox" name="fontcolorGB">
27        <property name="title">
28         <string>Font Colors</string>
29        </property>
30        <property name="flat">
31         <bool>true</bool>
32        </property>
33        <layout class="QVBoxLayout" name="verticalLayout">
34         <item>
35          <layout class="QGridLayout" name="gridLayout">
36           <item row="0" column="2">
37            <widget class="QPushButton" name="fontColorPB">
38             <property name="maximumSize">
39              <size>
40               <width>16777215</width>
41               <height>16777215</height>
42              </size>
43             </property>
44             <property name="toolTip">
45              <string>Click to change the color</string>
46             </property>
47             <property name="text">
48              <string>&amp;Change...</string>
49             </property>
50            </widget>
51           </item>
52           <item row="0" column="5">
53            <spacer>
54             <property name="orientation">
55              <enum>Qt::Horizontal</enum>
56             </property>
57             <property name="sizeHint" stdset="0">
58              <size>
59               <width>40</width>
60               <height>20</height>
61              </size>
62             </property>
63            </spacer>
64           </item>
65           <item row="1" column="0">
66            <widget class="QLabel" name="noteFontColorLA">
67             <property name="text">
68              <string>Greyed-out notes:</string>
69             </property>
70             <property name="buddy">
71              <cstring>fontColorPB</cstring>
72             </property>
73            </widget>
74           </item>
75           <item row="1" column="5">
76            <spacer>
77             <property name="orientation">
78              <enum>Qt::Horizontal</enum>
79             </property>
80             <property name="sizeHint" stdset="0">
81              <size>
82               <width>40</width>
83               <height>20</height>
84              </size>
85             </property>
86            </spacer>
87           </item>
88           <item row="0" column="0">
89            <widget class="QLabel" name="fontColorLA">
90             <property name="text">
91              <string>Main text:</string>
92             </property>
93             <property name="buddy">
94              <cstring>fontColorPB</cstring>
95             </property>
96            </widget>
97           </item>
98           <item row="1" column="2">
99            <widget class="QPushButton" name="noteFontColorPB">
100             <property name="maximumSize">
101              <size>
102               <width>16777215</width>
103               <height>16777215</height>
104              </size>
105             </property>
106             <property name="toolTip">
107              <string>Click to change the color</string>
108             </property>
109             <property name="text">
110              <string>C&amp;hange...</string>
111             </property>
112            </widget>
113           </item>
114           <item row="1" column="4">
115            <widget class="QToolButton" name="delNoteFontColorTB">
116             <property name="minimumSize">
117              <size>
118               <width>23</width>
119               <height>23</height>
120              </size>
121             </property>
122             <property name="toolTip">
123              <string>Revert the color to the default</string>
124             </property>
125             <property name="text">
126              <string>R&amp;eset</string>
127             </property>
128             <property name="toolButtonStyle">
129              <enum>Qt::ToolButtonTextOnly</enum>
130             </property>
131             <property name="arrowType">
132              <enum>Qt::LeftArrow</enum>
133             </property>
134            </widget>
135           </item>
136           <item row="0" column="4">
137            <widget class="QToolButton" name="delFontColorTB">
138             <property name="minimumSize">
139              <size>
140               <width>23</width>
141               <height>23</height>
142              </size>
143             </property>
144             <property name="toolTip">
145              <string>Revert the color to the default</string>
146             </property>
147             <property name="text">
148              <string>&amp;Reset</string>
149             </property>
150             <property name="toolButtonStyle">
151              <enum>Qt::ToolButtonTextOnly</enum>
152             </property>
153             <property name="arrowType">
154              <enum>Qt::LeftArrow</enum>
155             </property>
156            </widget>
157           </item>
158           <item row="0" column="1">
159            <widget class="QFrame" name="mainTextCF">
160             <property name="sizePolicy">
161              <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
162               <horstretch>0</horstretch>
163               <verstretch>0</verstretch>
164              </sizepolicy>
165             </property>
166             <property name="minimumSize">
167              <size>
168               <width>40</width>
169               <height>0</height>
170              </size>
171             </property>
172             <property name="frameShape">
173              <enum>QFrame::Box</enum>
174             </property>
175             <property name="frameShadow">
176              <enum>QFrame::Plain</enum>
177             </property>
178            </widget>
179           </item>
180           <item row="1" column="1">
181            <widget class="QFrame" name="noteFontCF">
182             <property name="sizePolicy">
183              <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
184               <horstretch>0</horstretch>
185               <verstretch>0</verstretch>
186              </sizepolicy>
187             </property>
188             <property name="minimumSize">
189              <size>
190               <width>40</width>
191               <height>0</height>
192              </size>
193             </property>
194             <property name="frameShape">
195              <enum>QFrame::Box</enum>
196             </property>
197             <property name="frameShadow">
198              <enum>QFrame::Plain</enum>
199             </property>
200            </widget>
201           </item>
202          </layout>
203         </item>
204        </layout>
205       </widget>
206      </item>
207      <item>
208       <widget class="QGroupBox" name="backgroundGB">
209        <property name="title">
210         <string>Background Colors</string>
211        </property>
212        <property name="flat">
213         <bool>true</bool>
214        </property>
215        <layout class="QVBoxLayout" name="verticalLayout_2">
216         <item>
217          <layout class="QGridLayout" name="gridLayout_2">
218           <item row="1" column="0">
219            <widget class="QLabel" name="boxBackgroundColorLA">
220             <property name="text">
221              <string>Shaded boxes:</string>
222             </property>
223             <property name="buddy">
224              <cstring>backgroundPB</cstring>
225             </property>
226            </widget>
227           </item>
228           <item row="1" column="5">
229            <spacer>
230             <property name="orientation">
231              <enum>Qt::Horizontal</enum>
232             </property>
233             <property name="sizeHint" stdset="0">
234              <size>
235               <width>40</width>
236               <height>20</height>
237              </size>
238             </property>
239            </spacer>
240           </item>
241           <item row="1" column="4">
242            <widget class="QToolButton" name="delBoxBackgroundTB">
243             <property name="minimumSize">
244              <size>
245               <width>23</width>
246               <height>23</height>
247              </size>
248             </property>
249             <property name="toolTip">
250              <string>Revert the color to the default</string>
251             </property>
252             <property name="text">
253              <string>Rese&amp;t</string>
254             </property>
255             <property name="toolButtonStyle">
256              <enum>Qt::ToolButtonTextOnly</enum>
257             </property>
258             <property name="arrowType">
259              <enum>Qt::LeftArrow</enum>
260             </property>
261            </widget>
262           </item>
263           <item row="0" column="0">
264            <widget class="QLabel" name="backgroundColorLA">
265             <property name="text">
266              <string>Page:</string>
267             </property>
268             <property name="buddy">
269              <cstring>backgroundPB</cstring>
270             </property>
271            </widget>
272           </item>
273           <item row="0" column="5">
274            <spacer>
275             <property name="orientation">
276              <enum>Qt::Horizontal</enum>
277             </property>
278             <property name="sizeHint" stdset="0">
279              <size>
280               <width>40</width>
281               <height>20</height>
282              </size>
283             </property>
284            </spacer>
285           </item>
286           <item row="0" column="2">
287            <widget class="QPushButton" name="backgroundPB">
288             <property name="maximumSize">
289              <size>
290               <width>16777215</width>
291               <height>16777215</height>
292              </size>
293             </property>
294             <property name="toolTip">
295              <string>Click to change the color</string>
296             </property>
297             <property name="text">
298              <string>Ch&amp;ange...</string>
299             </property>
300            </widget>
301           </item>
302           <item row="0" column="4">
303            <widget class="QToolButton" name="delBackgroundTB">
304             <property name="minimumSize">
305              <size>
306               <width>23</width>
307               <height>23</height>
308              </size>
309             </property>
310             <property name="toolTip">
311              <string>Revert the color to the default</string>
312             </property>
313             <property name="text">
314              <string>Re&amp;set</string>
315             </property>
316             <property name="toolButtonStyle">
317              <enum>Qt::ToolButtonTextOnly</enum>
318             </property>
319             <property name="arrowType">
320              <enum>Qt::LeftArrow</enum>
321             </property>
322            </widget>
323           </item>
324           <item row="1" column="2">
325            <widget class="QPushButton" name="boxBackgroundPB">
326             <property name="maximumSize">
327              <size>
328               <width>16777215</width>
329               <height>16777215</height>
330              </size>
331             </property>
332             <property name="toolTip">
333              <string>Click to change the color</string>
334             </property>
335             <property name="text">
336              <string>Chan&amp;ge...</string>
337             </property>
338            </widget>
339           </item>
340           <item row="0" column="1">
341            <widget class="QFrame" name="pageBackgroundCF">
342             <property name="sizePolicy">
343              <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
344               <horstretch>0</horstretch>
345               <verstretch>0</verstretch>
346              </sizepolicy>
347             </property>
348             <property name="minimumSize">
349              <size>
350               <width>40</width>
351               <height>0</height>
352              </size>
353             </property>
354             <property name="frameShape">
355              <enum>QFrame::Box</enum>
356             </property>
357             <property name="frameShadow">
358              <enum>QFrame::Plain</enum>
359             </property>
360            </widget>
361           </item>
362           <item row="1" column="1">
363            <widget class="QFrame" name="boxBackgroundCF">
364             <property name="sizePolicy">
365              <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
366               <horstretch>0</horstretch>
367               <verstretch>0</verstretch>
368              </sizepolicy>
369             </property>
370             <property name="minimumSize">
371              <size>
372               <width>40</width>
373               <height>0</height>
374              </size>
375             </property>
376             <property name="frameShape">
377              <enum>QFrame::Box</enum>
378             </property>
379             <property name="frameShadow">
380              <enum>QFrame::Plain</enum>
381             </property>
382            </widget>
383           </item>
384          </layout>
385         </item>
386        </layout>
387       </widget>
388      </item>
389      <item>
390       <spacer>
391        <property name="orientation">
392         <enum>Qt::Vertical</enum>
393        </property>
394        <property name="sizeHint" stdset="0">
395         <size>
396          <width>385</width>
397          <height>22</height>
398         </size>
399        </property>
400       </spacer>
401      </item>
402     </layout>
403    </item>
404   </layout>
405  </widget>
406  <layoutdefault spacing="6" margin="11"/>
407  <includes>
408   <include location="local">qt_i18n.h</include>
409  </includes>
410  <resources/>
411  <connections/>
412 </ui>