cd1d9a20e76fd6ff0d833353e2e1e3e59fad1ba6
[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>798</width>
10     <height>478</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <property name="spacing">
18     <number>0</number>
19    </property>
20    <property name="margin">
21     <number>0</number>
22    </property>
23    <item>
24     <widget class="QWidget" name="topWidget" native="true">
25      <layout class="QHBoxLayout" name="horizontalLayout_4">
26       <property name="spacing">
27        <number>0</number>
28       </property>
29       <property name="margin">
30        <number>0</number>
31       </property>
32       <item>
33        <widget class="QPushButton" name="aViewButton">
34         <property name="sizePolicy">
35          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
36           <horstretch>0</horstretch>
37           <verstretch>0</verstretch>
38          </sizepolicy>
39         </property>
40         <property name="minimumSize">
41          <size>
42           <width>70</width>
43           <height>70</height>
44          </size>
45         </property>
46         <property name="maximumSize">
47          <size>
48           <width>70</width>
49           <height>70</height>
50          </size>
51         </property>
52         <property name="text">
53          <string/>
54         </property>
55         <property name="icon">
56          <iconset resource="../../resources/resources.qrc">
57           <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
58         </property>
59         <property name="flat">
60          <bool>true</bool>
61         </property>
62        </widget>
63       </item>
64       <item>
65        <spacer name="horizontalSpacer_6">
66         <property name="orientation">
67          <enum>Qt::Horizontal</enum>
68         </property>
69         <property name="sizeHint" stdset="0">
70          <size>
71           <width>40</width>
72           <height>20</height>
73          </size>
74         </property>
75        </spacer>
76       </item>
77       <item>
78        <widget class="QPushButton" name="aPrevButton">
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="minimumSize">
86          <size>
87           <width>70</width>
88           <height>70</height>
89          </size>
90         </property>
91         <property name="maximumSize">
92          <size>
93           <width>70</width>
94           <height>70</height>
95          </size>
96         </property>
97         <property name="text">
98          <string/>
99         </property>
100         <property name="icon">
101          <iconset resource="../../resources/resources.qrc">
102           <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
103         </property>
104         <property name="flat">
105          <bool>true</bool>
106         </property>
107        </widget>
108       </item>
109       <item>
110        <widget class="QPushButton" name="aPlayPauseButton">
111         <property name="sizePolicy">
112          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
113           <horstretch>0</horstretch>
114           <verstretch>0</verstretch>
115          </sizepolicy>
116         </property>
117         <property name="minimumSize">
118          <size>
119           <width>70</width>
120           <height>70</height>
121          </size>
122         </property>
123         <property name="maximumSize">
124          <size>
125           <width>70</width>
126           <height>70</height>
127          </size>
128         </property>
129         <property name="text">
130          <string/>
131         </property>
132         <property name="icon">
133          <iconset resource="../../resources/resources.qrc">
134           <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
135         </property>
136         <property name="flat">
137          <bool>true</bool>
138         </property>
139        </widget>
140       </item>
141       <item>
142        <widget class="QPushButton" name="aStopButton">
143         <property name="sizePolicy">
144          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
145           <horstretch>0</horstretch>
146           <verstretch>0</verstretch>
147          </sizepolicy>
148         </property>
149         <property name="minimumSize">
150          <size>
151           <width>70</width>
152           <height>70</height>
153          </size>
154         </property>
155         <property name="maximumSize">
156          <size>
157           <width>70</width>
158           <height>70</height>
159          </size>
160         </property>
161         <property name="text">
162          <string/>
163         </property>
164         <property name="icon">
165          <iconset resource="../../resources/resources.qrc">
166           <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
167         </property>
168         <property name="flat">
169          <bool>true</bool>
170         </property>
171        </widget>
172       </item>
173       <item>
174        <widget class="QPushButton" name="aNextButton">
175         <property name="sizePolicy">
176          <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
177           <horstretch>0</horstretch>
178           <verstretch>0</verstretch>
179          </sizepolicy>
180         </property>
181         <property name="minimumSize">
182          <size>
183           <width>70</width>
184           <height>70</height>
185          </size>
186         </property>
187         <property name="maximumSize">
188          <size>
189           <width>70</width>
190           <height>70</height>
191          </size>
192         </property>
193         <property name="text">
194          <string/>
195         </property>
196         <property name="icon">
197          <iconset resource="../../resources/resources.qrc">
198           <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
199         </property>
200         <property name="flat">
201          <bool>true</bool>
202         </property>
203        </widget>
204       </item>
205      </layout>
206     </widget>
207    </item>
208    <item>
209     <layout class="QHBoxLayout" name="horizontalLayout_3">
210      <property name="spacing">
211       <number>0</number>
212      </property>
213      <item>
214       <widget class="QStackedWidget" name="stackedWidget">
215        <property name="currentIndex">
216         <number>1</number>
217        </property>
218        <widget class="QWidget" name="page">
219         <layout class="QVBoxLayout" name="verticalLayout_4">
220          <property name="spacing">
221           <number>0</number>
222          </property>
223          <property name="margin">
224           <number>0</number>
225          </property>
226          <item>
227           <widget class="QListView" name="playlistView">
228            <property name="contextMenuPolicy">
229             <enum>Qt::CustomContextMenu</enum>
230            </property>
231            <property name="editTriggers">
232             <set>QAbstractItemView::NoEditTriggers</set>
233            </property>
234            <property name="textElideMode">
235             <enum>Qt::ElideLeft</enum>
236            </property>
237            <property name="uniformItemSizes">
238             <bool>true</bool>
239            </property>
240            <property name="wordWrap">
241             <bool>true</bool>
242            </property>
243           </widget>
244          </item>
245         </layout>
246        </widget>
247        <widget class="QWidget" name="page_2">
248         <layout class="QGridLayout" name="gridLayout">
249          <item row="0" column="0">
250           <widget class="QWidget" name="widget" native="true">
251            <layout class="QVBoxLayout" name="verticalLayout_2">
252             <item>
253              <layout class="QHBoxLayout" name="horizontalLayout_5">
254               <item>
255                <spacer name="horizontalSpacer_2">
256                 <property name="orientation">
257                  <enum>Qt::Horizontal</enum>
258                 </property>
259                 <property name="sizeHint" stdset="0">
260                  <size>
261                   <width>40</width>
262                   <height>20</height>
263                  </size>
264                 </property>
265                </spacer>
266               </item>
267               <item>
268                <widget class="QLabel" name="countLabel">
269                 <property name="text">
270                  <string>0/0</string>
271                 </property>
272                 <property name="alignment">
273                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
274                 </property>
275                </widget>
276               </item>
277              </layout>
278             </item>
279             <item>
280              <widget class="QLabel" name="titleLabel">
281               <property name="text">
282                <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
283               </property>
284               <property name="alignment">
285                <set>Qt::AlignCenter</set>
286               </property>
287              </widget>
288             </item>
289             <item>
290              <layout class="QHBoxLayout" name="progressLayout">
291               <item>
292                <widget class="QLabel" name="doneTimeLabel">
293                 <property name="text">
294                  <string>00:00</string>
295                 </property>
296                </widget>
297               </item>
298               <item>
299                <widget class="QLabel" name="allTimeLabel">
300                 <property name="text">
301                  <string>00:00</string>
302                 </property>
303                </widget>
304               </item>
305              </layout>
306             </item>
307             <item>
308              <widget class="QLabel" name="artistAlbumLabel">
309               <property name="text">
310                <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
311               </property>
312               <property name="alignment">
313                <set>Qt::AlignCenter</set>
314               </property>
315              </widget>
316             </item>
317            </layout>
318           </widget>
319          </item>
320         </layout>
321        </widget>
322       </widget>
323      </item>
324      <item>
325       <layout class="QHBoxLayout" name="volumeLayout">
326        <item>
327         <widget class="QSlider" name="volumeSlider">
328          <property name="orientation">
329           <enum>Qt::Vertical</enum>
330          </property>
331          <property name="invertedAppearance">
332           <bool>false</bool>
333          </property>
334          <property name="invertedControls">
335           <bool>false</bool>
336          </property>
337         </widget>
338        </item>
339       </layout>
340      </item>
341     </layout>
342    </item>
343    <item>
344     <layout class="QHBoxLayout" name="horizontalLayout">
345      <property name="spacing">
346       <number>0</number>
347      </property>
348      <item>
349       <widget class="QWidget" name="bottomWidget" native="true">
350        <property name="minimumSize">
351         <size>
352          <width>78</width>
353          <height>0</height>
354         </size>
355        </property>
356        <layout class="QHBoxLayout" name="horizontalLayout_2">
357         <property name="spacing">
358          <number>0</number>
359         </property>
360         <property name="margin">
361          <number>0</number>
362         </property>
363         <item>
364          <widget class="QPushButton" name="libraryButton">
365           <property name="sizePolicy">
366            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
367             <horstretch>0</horstretch>
368             <verstretch>0</verstretch>
369            </sizepolicy>
370           </property>
371           <property name="minimumSize">
372            <size>
373             <width>70</width>
374             <height>70</height>
375            </size>
376           </property>
377           <property name="maximumSize">
378            <size>
379             <width>70</width>
380             <height>70</height>
381            </size>
382           </property>
383           <property name="text">
384            <string/>
385           </property>
386           <property name="icon">
387            <iconset resource="../../resources/resources.qrc">
388             <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
389           </property>
390           <property name="flat">
391            <bool>true</bool>
392           </property>
393          </widget>
394         </item>
395         <item>
396          <spacer name="horizontalSpacer">
397           <property name="orientation">
398            <enum>Qt::Horizontal</enum>
399           </property>
400           <property name="sizeHint" stdset="0">
401            <size>
402             <width>40</width>
403             <height>20</height>
404            </size>
405           </property>
406          </spacer>
407         </item>
408         <item>
409          <widget class="QPushButton" name="viewButton">
410           <property name="sizePolicy">
411            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
412             <horstretch>0</horstretch>
413             <verstretch>0</verstretch>
414            </sizepolicy>
415           </property>
416           <property name="minimumSize">
417            <size>
418             <width>70</width>
419             <height>70</height>
420            </size>
421           </property>
422           <property name="maximumSize">
423            <size>
424             <width>70</width>
425             <height>70</height>
426            </size>
427           </property>
428           <property name="text">
429            <string/>
430           </property>
431           <property name="icon">
432            <iconset resource="../../resources/resources.qrc">
433             <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
434           </property>
435           <property name="checkable">
436            <bool>false</bool>
437           </property>
438           <property name="flat">
439            <bool>true</bool>
440           </property>
441          </widget>
442         </item>
443         <item>
444          <spacer name="horizontalSpacer_3">
445           <property name="orientation">
446            <enum>Qt::Horizontal</enum>
447           </property>
448           <property name="sizeHint" stdset="0">
449            <size>
450             <width>40</width>
451             <height>20</height>
452            </size>
453           </property>
454          </spacer>
455         </item>
456         <item>
457          <widget class="QPushButton" name="randomButton">
458           <property name="sizePolicy">
459            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
460             <horstretch>0</horstretch>
461             <verstretch>0</verstretch>
462            </sizepolicy>
463           </property>
464           <property name="minimumSize">
465            <size>
466             <width>70</width>
467             <height>70</height>
468            </size>
469           </property>
470           <property name="maximumSize">
471            <size>
472             <width>70</width>
473             <height>70</height>
474            </size>
475           </property>
476           <property name="text">
477            <string/>
478           </property>
479           <property name="icon">
480            <iconset resource="../../resources/resources.qrc">
481             <normaloff>:/icons/white/random_inactive.png</normaloff>:/icons/white/random_inactive.png</iconset>
482           </property>
483           <property name="iconSize">
484            <size>
485             <width>48</width>
486             <height>48</height>
487            </size>
488           </property>
489           <property name="checkable">
490            <bool>false</bool>
491           </property>
492           <property name="flat">
493            <bool>true</bool>
494           </property>
495          </widget>
496         </item>
497         <item>
498          <widget class="QPushButton" name="repeatButton">
499           <property name="sizePolicy">
500            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
501             <horstretch>0</horstretch>
502             <verstretch>0</verstretch>
503            </sizepolicy>
504           </property>
505           <property name="minimumSize">
506            <size>
507             <width>70</width>
508             <height>70</height>
509            </size>
510           </property>
511           <property name="maximumSize">
512            <size>
513             <width>70</width>
514             <height>70</height>
515            </size>
516           </property>
517           <property name="text">
518            <string/>
519           </property>
520           <property name="icon">
521            <iconset resource="../../resources/resources.qrc">
522             <normaloff>:/icons/white/repeat_inactive.png</normaloff>:/icons/white/repeat_inactive.png</iconset>
523           </property>
524           <property name="iconSize">
525            <size>
526             <width>48</width>
527             <height>58</height>
528            </size>
529           </property>
530           <property name="checkable">
531            <bool>false</bool>
532           </property>
533           <property name="flat">
534            <bool>true</bool>
535           </property>
536          </widget>
537         </item>
538         <item>
539          <spacer name="horizontalSpacer_4">
540           <property name="orientation">
541            <enum>Qt::Horizontal</enum>
542           </property>
543           <property name="sizeHint" stdset="0">
544            <size>
545             <width>40</width>
546             <height>20</height>
547            </size>
548           </property>
549          </spacer>
550         </item>
551         <item>
552          <widget class="QPushButton" name="prevButton">
553           <property name="sizePolicy">
554            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
555             <horstretch>0</horstretch>
556             <verstretch>0</verstretch>
557            </sizepolicy>
558           </property>
559           <property name="minimumSize">
560            <size>
561             <width>70</width>
562             <height>70</height>
563            </size>
564           </property>
565           <property name="maximumSize">
566            <size>
567             <width>70</width>
568             <height>70</height>
569            </size>
570           </property>
571           <property name="text">
572            <string/>
573           </property>
574           <property name="icon">
575            <iconset resource="../../resources/resources.qrc">
576             <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
577           </property>
578           <property name="flat">
579            <bool>true</bool>
580           </property>
581          </widget>
582         </item>
583         <item>
584          <widget class="QPushButton" name="playpauseButton">
585           <property name="sizePolicy">
586            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
587             <horstretch>0</horstretch>
588             <verstretch>0</verstretch>
589            </sizepolicy>
590           </property>
591           <property name="minimumSize">
592            <size>
593             <width>70</width>
594             <height>70</height>
595            </size>
596           </property>
597           <property name="maximumSize">
598            <size>
599             <width>70</width>
600             <height>70</height>
601            </size>
602           </property>
603           <property name="text">
604            <string/>
605           </property>
606           <property name="icon">
607            <iconset resource="../../resources/resources.qrc">
608             <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
609           </property>
610           <property name="flat">
611            <bool>true</bool>
612           </property>
613          </widget>
614         </item>
615         <item>
616          <widget class="QPushButton" name="stopButton">
617           <property name="sizePolicy">
618            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
619             <horstretch>0</horstretch>
620             <verstretch>0</verstretch>
621            </sizepolicy>
622           </property>
623           <property name="minimumSize">
624            <size>
625             <width>70</width>
626             <height>70</height>
627            </size>
628           </property>
629           <property name="maximumSize">
630            <size>
631             <width>70</width>
632             <height>70</height>
633            </size>
634           </property>
635           <property name="text">
636            <string/>
637           </property>
638           <property name="icon">
639            <iconset resource="../../resources/resources.qrc">
640             <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
641           </property>
642           <property name="flat">
643            <bool>true</bool>
644           </property>
645          </widget>
646         </item>
647         <item>
648          <widget class="QPushButton" name="nextButton">
649           <property name="sizePolicy">
650            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
651             <horstretch>0</horstretch>
652             <verstretch>0</verstretch>
653            </sizepolicy>
654           </property>
655           <property name="minimumSize">
656            <size>
657             <width>70</width>
658             <height>70</height>
659            </size>
660           </property>
661           <property name="maximumSize">
662            <size>
663             <width>70</width>
664             <height>70</height>
665            </size>
666           </property>
667           <property name="text">
668            <string/>
669           </property>
670           <property name="icon">
671            <iconset resource="../../resources/resources.qrc">
672             <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
673           </property>
674           <property name="flat">
675            <bool>true</bool>
676           </property>
677          </widget>
678         </item>
679         <item>
680          <spacer name="horizontalSpacer_5">
681           <property name="orientation">
682            <enum>Qt::Horizontal</enum>
683           </property>
684           <property name="sizeHint" stdset="0">
685            <size>
686             <width>40</width>
687             <height>20</height>
688            </size>
689           </property>
690          </spacer>
691         </item>
692         <item>
693          <widget class="QPushButton" name="volumeButton">
694           <property name="sizePolicy">
695            <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
696             <horstretch>0</horstretch>
697             <verstretch>0</verstretch>
698            </sizepolicy>
699           </property>
700           <property name="minimumSize">
701            <size>
702             <width>70</width>
703             <height>70</height>
704            </size>
705           </property>
706           <property name="text">
707            <string/>
708           </property>
709           <property name="icon">
710            <iconset resource="../../resources/resources.qrc">
711             <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
712           </property>
713           <property name="flat">
714            <bool>true</bool>
715           </property>
716          </widget>
717         </item>
718        </layout>
719       </widget>
720      </item>
721     </layout>
722    </item>
723   </layout>
724  </widget>
725  <resources>
726   <include location="../../resources/resources.qrc"/>
727  </resources>
728  <connections/>
729 </ui>