]> git.sesse.net Git - vlc/blob - modules/gui/qt4/ui/about.ui
Qt: style the about dialog scrollbars
[vlc] / modules / gui / qt4 / ui / about.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>aboutWidget</class>
4  <widget class="QWidget" name="aboutWidget">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>744</width>
10     <height>360</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Dialog</string>
15   </property>
16   <property name="styleSheet">
17    <string notr="true"> QScrollBar:vertical {
18      border: 1px solid #999999;
19      background: white;
20      width: 12px;
21      margin: 5px 0 5px 2;
22  }
23  QScrollBar::handle:vertical {
24      background: #777777;
25      min-height: 12px;
26  }
27  QScrollBar::add-line:vertical {
28      border: none;
29      background: none;
30      height: 0px;
31      subcontrol-position: bottom;
32      subcontrol-origin: margin;
33  }
34
35  QScrollBar::sub-line:vertical {
36      border: none;
37      background: none;
38      height: 0px;
39      subcontrol-position: top;
40      subcontrol-origin: margin;
41  }
42  QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
43      border: none;
44      width: 0px;
45      height: 0px;
46      background: none;
47  }
48
49  QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
50      background: none;
51  }</string>
52   </property>
53   <layout class="QVBoxLayout" name="verticalLayout">
54    <property name="spacing">
55     <number>0</number>
56    </property>
57    <property name="margin">
58     <number>0</number>
59    </property>
60    <item>
61     <widget class="QFrame" name="horizontalFrame">
62      <property name="sizePolicy">
63       <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
64        <horstretch>0</horstretch>
65        <verstretch>0</verstretch>
66       </sizepolicy>
67      </property>
68      <property name="minimumSize">
69       <size>
70        <width>0</width>
71        <height>300</height>
72       </size>
73      </property>
74      <property name="styleSheet">
75       <string notr="true">background-color: rgb(245, 245, 245);</string>
76      </property>
77      <layout class="QGridLayout" name="gridLayout">
78       <item row="2" column="2" rowspan="4">
79        <widget class="QStackedWidget" name="stackedWidget">
80         <property name="sizePolicy">
81          <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
82           <horstretch>10</horstretch>
83           <verstretch>10</verstretch>
84          </sizepolicy>
85         </property>
86         <property name="lineWidth">
87          <number>0</number>
88         </property>
89         <property name="currentIndex">
90          <number>0</number>
91         </property>
92         <widget class="QWidget" name="blablaPage">
93          <property name="sizePolicy">
94           <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
95            <horstretch>0</horstretch>
96            <verstretch>0</verstretch>
97           </sizepolicy>
98          </property>
99          <layout class="QVBoxLayout" name="verticalLayout_2">
100           <property name="margin">
101            <number>0</number>
102           </property>
103           <item>
104            <widget class="QWidget" name="update" native="true">
105             <layout class="QHBoxLayout" name="updateLayout">
106              <item>
107               <widget class="QLabel" name="UpdateLabel">
108                <property name="sizePolicy">
109                 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
110                  <horstretch>0</horstretch>
111                  <verstretch>0</verstretch>
112                 </sizepolicy>
113                </property>
114                <property name="styleSheet">
115                 <string notr="true">margin-bottom: 8px;margin-top: 4px;</string>
116                </property>
117                <property name="text">
118                 <string>Update</string>
119                </property>
120               </widget>
121              </item>
122              <item>
123               <widget class="QPushButton" name="checkUpdates">
124                <property name="sizePolicy">
125                 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
126                  <horstretch>0</horstretch>
127                  <verstretch>0</verstretch>
128                 </sizepolicy>
129                </property>
130                <property name="text">
131                 <string>Update</string>
132                </property>
133                <property name="flat">
134                 <bool>true</bool>
135                </property>
136               </widget>
137              </item>
138             </layout>
139            </widget>
140           </item>
141           <item>
142            <widget class="QLabel" name="MainBlabla">
143             <property name="sizePolicy">
144              <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
145               <horstretch>0</horstretch>
146               <verstretch>0</verstretch>
147              </sizepolicy>
148             </property>
149             <property name="styleSheet">
150              <string notr="true">padding-right: 20px;</string>
151             </property>
152             <property name="alignment">
153              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
154             </property>
155             <property name="wordWrap">
156              <bool>true</bool>
157             </property>
158             <property name="openExternalLinks">
159              <bool>true</bool>
160             </property>
161            </widget>
162           </item>
163          </layout>
164         </widget>
165         <widget class="QTextEdit" name="licensePage">
166          <property name="font">
167           <font>
168            <family>Courier</family>
169            <pointsize>9</pointsize>
170           </font>
171          </property>
172          <property name="frameShadow">
173           <enum>QFrame::Plain</enum>
174          </property>
175          <property name="textInteractionFlags">
176           <set>Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
177          </property>
178         </widget>
179         <widget class="QTextEdit" name="authorsPage">
180          <property name="frameShadow">
181           <enum>QFrame::Plain</enum>
182          </property>
183          <property name="textInteractionFlags">
184           <set>Qt::NoTextInteraction</set>
185          </property>
186         </widget>
187         <widget class="QTextEdit" name="creditPage">
188          <property name="frameShadow">
189           <enum>QFrame::Plain</enum>
190          </property>
191          <property name="textInteractionFlags">
192           <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set>
193          </property>
194         </widget>
195        </widget>
196       </item>
197       <item row="0" column="0" rowspan="6">
198        <widget class="QLabel" name="VLCcone">
199         <property name="sizePolicy">
200          <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
201           <horstretch>0</horstretch>
202           <verstretch>0</verstretch>
203          </sizepolicy>
204         </property>
205         <property name="minimumSize">
206          <size>
207           <width>247</width>
208           <height>300</height>
209          </size>
210         </property>
211         <property name="autoFillBackground">
212          <bool>false</bool>
213         </property>
214         <property name="lineWidth">
215          <number>0</number>
216         </property>
217         <property name="text">
218          <string/>
219         </property>
220         <property name="textFormat">
221          <enum>Qt::PlainText</enum>
222         </property>
223         <property name="pixmap">
224          <pixmap>:/logo/vlc256.png</pixmap>
225         </property>
226         <property name="scaledContents">
227          <bool>false</bool>
228         </property>
229         <property name="margin">
230          <number>20</number>
231         </property>
232        </widget>
233       </item>
234       <item row="0" column="2">
235        <widget class="QLabel" name="title">
236         <property name="sizePolicy">
237          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
238           <horstretch>0</horstretch>
239           <verstretch>0</verstretch>
240          </sizepolicy>
241         </property>
242         <property name="minimumSize">
243          <size>
244           <width>0</width>
245           <height>50</height>
246          </size>
247         </property>
248         <property name="baseSize">
249          <size>
250           <width>0</width>
251           <height>0</height>
252          </size>
253         </property>
254         <property name="alignment">
255          <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
256         </property>
257        </widget>
258       </item>
259       <item row="1" column="2">
260        <widget class="QLabel" name="version">
261         <property name="sizePolicy">
262          <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
263           <horstretch>0</horstretch>
264           <verstretch>0</verstretch>
265          </sizepolicy>
266         </property>
267         <property name="cursor">
268          <cursorShape>PointingHandCursor</cursorShape>
269         </property>
270         <property name="styleSheet">
271          <string notr="true">font: 75 12pt &quot;Sans Serif&quot;;
272 margin-bottom: 6px;</string>
273         </property>
274         <property name="text">
275          <string/>
276         </property>
277        </widget>
278       </item>
279      </layout>
280     </widget>
281    </item>
282    <item>
283     <widget class="QFrame" name="footer">
284      <property name="sizePolicy">
285       <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
286        <horstretch>0</horstretch>
287        <verstretch>0</verstretch>
288       </sizepolicy>
289      </property>
290      <property name="minimumSize">
291       <size>
292        <width>0</width>
293        <height>60</height>
294       </size>
295      </property>
296      <property name="styleSheet">
297       <string notr="true">background-color: rgb(230, 230, 230);</string>
298      </property>
299      <layout class="QHBoxLayout" name="horizontalLayout_2">
300       <property name="margin">
301        <number>0</number>
302       </property>
303       <item>
304        <widget class="QLabel" name="authorsButton">
305         <property name="cursor">
306          <cursorShape>PointingHandCursor</cursorShape>
307         </property>
308         <property name="styleSheet">
309          <string notr="true">padding: 10px</string>
310         </property>
311         <property name="alignment">
312          <set>Qt::AlignCenter</set>
313         </property>
314        </widget>
315       </item>
316       <item>
317        <widget class="QLabel" name="licenseButton">
318         <property name="cursor">
319          <cursorShape>PointingHandCursor</cursorShape>
320         </property>
321         <property name="styleSheet">
322          <string notr="true">padding: 10px</string>
323         </property>
324         <property name="alignment">
325          <set>Qt::AlignCenter</set>
326         </property>
327        </widget>
328       </item>
329       <item>
330        <widget class="QLabel" name="creditsButton">
331         <property name="cursor">
332          <cursorShape>PointingHandCursor</cursorShape>
333         </property>
334         <property name="styleSheet">
335          <string notr="true">padding: 10px;</string>
336         </property>
337         <property name="alignment">
338          <set>Qt::AlignCenter</set>
339         </property>
340        </widget>
341       </item>
342      </layout>
343     </widget>
344    </item>
345   </layout>
346  </widget>
347  <resources/>
348  <connections/>
349 </ui>