Icons themes, Portrait mode, bugfixes
[someplayer] / src / ui / playerform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PlayerForm</class>
4  <widget class="QWidget" name="PlayerForm">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>800</width>
10     <height>480</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QGridLayout" name="gridLayout_2">
17    <property name="margin">
18     <number>0</number>
19    </property>
20    <property name="spacing">
21     <number>0</number>
22    </property>
23    <item row="0" column="0">
24     <layout class="QHBoxLayout" name="horizontalLayout_3">
25      <property name="spacing">
26       <number>0</number>
27      </property>
28      <item>
29       <widget class="QStackedWidget" name="stackedWidget">
30        <property name="currentIndex">
31         <number>1</number>
32        </property>
33        <widget class="QWidget" name="page">
34         <layout class="QVBoxLayout" name="verticalLayout_4">
35          <property name="spacing">
36           <number>0</number>
37          </property>
38          <property name="margin">
39           <number>0</number>
40          </property>
41          <item>
42           <widget class="QListView" name="playlistView">
43            <property name="contextMenuPolicy">
44             <enum>Qt::CustomContextMenu</enum>
45            </property>
46            <property name="editTriggers">
47             <set>QAbstractItemView::NoEditTriggers</set>
48            </property>
49            <property name="textElideMode">
50             <enum>Qt::ElideLeft</enum>
51            </property>
52            <property name="uniformItemSizes">
53             <bool>true</bool>
54            </property>
55            <property name="wordWrap">
56             <bool>true</bool>
57            </property>
58           </widget>
59          </item>
60         </layout>
61        </widget>
62        <widget class="QWidget" name="page_2">
63         <layout class="QGridLayout" name="gridLayout">
64          <item row="0" column="0">
65           <widget class="QWidget" name="widget" native="true">
66            <layout class="QVBoxLayout" name="verticalLayout_2">
67             <item>
68              <layout class="QHBoxLayout" name="horizontalLayout_5">
69               <item>
70                <spacer name="horizontalSpacer_2">
71                 <property name="orientation">
72                  <enum>Qt::Horizontal</enum>
73                 </property>
74                 <property name="sizeHint" stdset="0">
75                  <size>
76                   <width>40</width>
77                   <height>20</height>
78                  </size>
79                 </property>
80                </spacer>
81               </item>
82               <item>
83                <widget class="QLabel" name="countLabel">
84                 <property name="text">
85                  <string>0/0</string>
86                 </property>
87                 <property name="alignment">
88                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
89                 </property>
90                </widget>
91               </item>
92              </layout>
93             </item>
94             <item>
95              <widget class="QLabel" name="titleLabel">
96               <property name="text">
97                <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
98               </property>
99               <property name="alignment">
100                <set>Qt::AlignCenter</set>
101               </property>
102              </widget>
103             </item>
104             <item>
105              <layout class="QHBoxLayout" name="progressLayout">
106               <item>
107                <widget class="QLabel" name="doneTimeLabel">
108                 <property name="text">
109                  <string>00:00</string>
110                 </property>
111                </widget>
112               </item>
113               <item>
114                <widget class="QLabel" name="allTimeLabel">
115                 <property name="text">
116                  <string>00:00</string>
117                 </property>
118                </widget>
119               </item>
120              </layout>
121             </item>
122             <item>
123              <widget class="QLabel" name="artistAlbumLabel">
124               <property name="text">
125                <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
126               </property>
127               <property name="alignment">
128                <set>Qt::AlignCenter</set>
129               </property>
130              </widget>
131             </item>
132            </layout>
133           </widget>
134          </item>
135         </layout>
136        </widget>
137       </widget>
138      </item>
139      <item>
140       <layout class="QHBoxLayout" name="volumeLayout">
141        <item>
142         <widget class="QSlider" name="volumeSlider">
143          <property name="orientation">
144           <enum>Qt::Vertical</enum>
145          </property>
146          <property name="invertedAppearance">
147           <bool>false</bool>
148          </property>
149          <property name="invertedControls">
150           <bool>false</bool>
151          </property>
152         </widget>
153        </item>
154       </layout>
155      </item>
156     </layout>
157    </item>
158    <item row="1" column="0">
159     <layout class="QHBoxLayout" name="horizontalLayout">
160      <property name="spacing">
161       <number>0</number>
162      </property>
163      <item>
164       <widget class="QPushButton" name="libraryButton">
165        <property name="sizePolicy">
166         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
167          <horstretch>0</horstretch>
168          <verstretch>0</verstretch>
169         </sizepolicy>
170        </property>
171        <property name="minimumSize">
172         <size>
173          <width>70</width>
174          <height>70</height>
175         </size>
176        </property>
177        <property name="maximumSize">
178         <size>
179          <width>70</width>
180          <height>70</height>
181         </size>
182        </property>
183        <property name="text">
184         <string/>
185        </property>
186        <property name="icon">
187         <iconset resource="../../resources/resources.qrc">
188          <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
189        </property>
190        <property name="flat">
191         <bool>true</bool>
192        </property>
193       </widget>
194      </item>
195      <item>
196       <spacer name="horizontalSpacer">
197        <property name="orientation">
198         <enum>Qt::Horizontal</enum>
199        </property>
200        <property name="sizeHint" stdset="0">
201         <size>
202          <width>40</width>
203          <height>20</height>
204         </size>
205        </property>
206       </spacer>
207      </item>
208      <item>
209       <widget class="QPushButton" name="viewButton">
210        <property name="sizePolicy">
211         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
212          <horstretch>0</horstretch>
213          <verstretch>0</verstretch>
214         </sizepolicy>
215        </property>
216        <property name="minimumSize">
217         <size>
218          <width>70</width>
219          <height>70</height>
220         </size>
221        </property>
222        <property name="maximumSize">
223         <size>
224          <width>70</width>
225          <height>70</height>
226         </size>
227        </property>
228        <property name="text">
229         <string/>
230        </property>
231        <property name="icon">
232         <iconset resource="../../resources/resources.qrc">
233          <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
234        </property>
235        <property name="checkable">
236         <bool>false</bool>
237        </property>
238        <property name="flat">
239         <bool>true</bool>
240        </property>
241       </widget>
242      </item>
243      <item>
244       <spacer name="horizontalSpacer_3">
245        <property name="orientation">
246         <enum>Qt::Horizontal</enum>
247        </property>
248        <property name="sizeHint" stdset="0">
249         <size>
250          <width>40</width>
251          <height>20</height>
252         </size>
253        </property>
254       </spacer>
255      </item>
256      <item>
257       <widget class="QPushButton" name="randomButton">
258        <property name="sizePolicy">
259         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
260          <horstretch>0</horstretch>
261          <verstretch>0</verstretch>
262         </sizepolicy>
263        </property>
264        <property name="minimumSize">
265         <size>
266          <width>70</width>
267          <height>70</height>
268         </size>
269        </property>
270        <property name="maximumSize">
271         <size>
272          <width>70</width>
273          <height>70</height>
274         </size>
275        </property>
276        <property name="text">
277         <string/>
278        </property>
279        <property name="icon">
280         <iconset resource="../../resources/resources.qrc">
281          <normaloff>:/icons/white/random_inactive.png</normaloff>:/icons/white/random_inactive.png</iconset>
282        </property>
283        <property name="iconSize">
284         <size>
285          <width>48</width>
286          <height>48</height>
287         </size>
288        </property>
289        <property name="checkable">
290         <bool>false</bool>
291        </property>
292        <property name="flat">
293         <bool>true</bool>
294        </property>
295       </widget>
296      </item>
297      <item>
298       <widget class="QPushButton" name="repeatButton">
299        <property name="sizePolicy">
300         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
301          <horstretch>0</horstretch>
302          <verstretch>0</verstretch>
303         </sizepolicy>
304        </property>
305        <property name="minimumSize">
306         <size>
307          <width>70</width>
308          <height>70</height>
309         </size>
310        </property>
311        <property name="maximumSize">
312         <size>
313          <width>70</width>
314          <height>70</height>
315         </size>
316        </property>
317        <property name="text">
318         <string/>
319        </property>
320        <property name="icon">
321         <iconset resource="../../resources/resources.qrc">
322          <normaloff>:/icons/white/repeat_inactive.png</normaloff>:/icons/white/repeat_inactive.png</iconset>
323        </property>
324        <property name="iconSize">
325         <size>
326          <width>48</width>
327          <height>58</height>
328         </size>
329        </property>
330        <property name="checkable">
331         <bool>false</bool>
332        </property>
333        <property name="flat">
334         <bool>true</bool>
335        </property>
336       </widget>
337      </item>
338      <item>
339       <spacer name="horizontalSpacer_4">
340        <property name="orientation">
341         <enum>Qt::Horizontal</enum>
342        </property>
343        <property name="sizeHint" stdset="0">
344         <size>
345          <width>40</width>
346          <height>20</height>
347         </size>
348        </property>
349       </spacer>
350      </item>
351      <item>
352       <widget class="QPushButton" name="prevButton">
353        <property name="sizePolicy">
354         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
355          <horstretch>0</horstretch>
356          <verstretch>0</verstretch>
357         </sizepolicy>
358        </property>
359        <property name="minimumSize">
360         <size>
361          <width>70</width>
362          <height>70</height>
363         </size>
364        </property>
365        <property name="maximumSize">
366         <size>
367          <width>70</width>
368          <height>70</height>
369         </size>
370        </property>
371        <property name="text">
372         <string/>
373        </property>
374        <property name="icon">
375         <iconset resource="../../resources/resources.qrc">
376          <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
377        </property>
378        <property name="flat">
379         <bool>true</bool>
380        </property>
381       </widget>
382      </item>
383      <item>
384       <widget class="QPushButton" name="playpauseButton">
385        <property name="sizePolicy">
386         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
387          <horstretch>0</horstretch>
388          <verstretch>0</verstretch>
389         </sizepolicy>
390        </property>
391        <property name="minimumSize">
392         <size>
393          <width>70</width>
394          <height>70</height>
395         </size>
396        </property>
397        <property name="maximumSize">
398         <size>
399          <width>70</width>
400          <height>70</height>
401         </size>
402        </property>
403        <property name="text">
404         <string/>
405        </property>
406        <property name="icon">
407         <iconset resource="../../resources/resources.qrc">
408          <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
409        </property>
410        <property name="flat">
411         <bool>true</bool>
412        </property>
413       </widget>
414      </item>
415      <item>
416       <widget class="QPushButton" name="stopButton">
417        <property name="sizePolicy">
418         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
419          <horstretch>0</horstretch>
420          <verstretch>0</verstretch>
421         </sizepolicy>
422        </property>
423        <property name="minimumSize">
424         <size>
425          <width>70</width>
426          <height>70</height>
427         </size>
428        </property>
429        <property name="maximumSize">
430         <size>
431          <width>70</width>
432          <height>70</height>
433         </size>
434        </property>
435        <property name="text">
436         <string/>
437        </property>
438        <property name="icon">
439         <iconset resource="../../resources/resources.qrc">
440          <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
441        </property>
442        <property name="flat">
443         <bool>true</bool>
444        </property>
445       </widget>
446      </item>
447      <item>
448       <widget class="QPushButton" name="nextButton">
449        <property name="sizePolicy">
450         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
451          <horstretch>0</horstretch>
452          <verstretch>0</verstretch>
453         </sizepolicy>
454        </property>
455        <property name="minimumSize">
456         <size>
457          <width>70</width>
458          <height>70</height>
459         </size>
460        </property>
461        <property name="maximumSize">
462         <size>
463          <width>70</width>
464          <height>70</height>
465         </size>
466        </property>
467        <property name="text">
468         <string/>
469        </property>
470        <property name="icon">
471         <iconset resource="../../resources/resources.qrc">
472          <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
473        </property>
474        <property name="flat">
475         <bool>true</bool>
476        </property>
477       </widget>
478      </item>
479      <item>
480       <spacer name="horizontalSpacer_5">
481        <property name="orientation">
482         <enum>Qt::Horizontal</enum>
483        </property>
484        <property name="sizeHint" stdset="0">
485         <size>
486          <width>40</width>
487          <height>20</height>
488         </size>
489        </property>
490       </spacer>
491      </item>
492      <item>
493       <widget class="QPushButton" name="volumeButton">
494        <property name="sizePolicy">
495         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
496          <horstretch>0</horstretch>
497          <verstretch>0</verstretch>
498         </sizepolicy>
499        </property>
500        <property name="minimumSize">
501         <size>
502          <width>70</width>
503          <height>70</height>
504         </size>
505        </property>
506        <property name="text">
507         <string/>
508        </property>
509        <property name="icon">
510         <iconset resource="../../resources/resources.qrc">
511          <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
512        </property>
513        <property name="flat">
514         <bool>true</bool>
515        </property>
516       </widget>
517      </item>
518     </layout>
519    </item>
520   </layout>
521  </widget>
522  <resources>
523   <include location="../../resources/resources.qrc"/>
524  </resources>
525  <connections/>
526 </ui>