880b6d7cbb2da1a42bc5e4ac6f18e2688da55369
[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>SomePlayer</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      <property name="styleSheet">
26       <string notr="true">background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0 rgba(38, 38, 38, 255), stop:1 rgba(92, 92, 92, 255))</string>
27      </property>
28      <layout class="QHBoxLayout" name="horizontalLayout_4">
29       <property name="spacing">
30        <number>0</number>
31       </property>
32       <property name="margin">
33        <number>0</number>
34       </property>
35       <item>
36        <spacer name="thorizontalSpacer_0">
37         <property name="orientation">
38          <enum>Qt::Horizontal</enum>
39         </property>
40         <property name="sizeHint" stdset="0">
41          <size>
42           <width>40</width>
43           <height>20</height>
44          </size>
45         </property>
46        </spacer>
47       </item>
48       <item>
49        <spacer name="thorizontalSpacer_1">
50         <property name="orientation">
51          <enum>Qt::Horizontal</enum>
52         </property>
53         <property name="sizeHint" stdset="0">
54          <size>
55           <width>40</width>
56           <height>20</height>
57          </size>
58         </property>
59        </spacer>
60       </item>
61       <item>
62        <spacer name="thorizontalSpacer_2">
63         <property name="orientation">
64          <enum>Qt::Horizontal</enum>
65         </property>
66         <property name="sizeHint" stdset="0">
67          <size>
68           <width>40</width>
69           <height>20</height>
70          </size>
71         </property>
72        </spacer>
73       </item>
74       <item>
75        <spacer name="thorizontalSpacer_3">
76         <property name="orientation">
77          <enum>Qt::Horizontal</enum>
78         </property>
79         <property name="sizeHint" stdset="0">
80          <size>
81           <width>40</width>
82           <height>20</height>
83          </size>
84         </property>
85        </spacer>
86       </item>
87      </layout>
88     </widget>
89    </item>
90    <item>
91     <layout class="QVBoxLayout" name="verticalLayout_6">
92      <property name="spacing">
93       <number>0</number>
94      </property>
95      <item>
96       <widget class="QStackedWidget" name="stackedWidget">
97        <property name="currentIndex">
98         <number>0</number>
99        </property>
100        <widget class="QWidget" name="page">
101         <layout class="QVBoxLayout" name="verticalLayout_4">
102          <property name="spacing">
103           <number>0</number>
104          </property>
105          <property name="margin">
106           <number>0</number>
107          </property>
108          <item>
109           <layout class="QVBoxLayout" name="toolsLayout">
110            <property name="spacing">
111             <number>0</number>
112            </property>
113           </layout>
114          </item>
115          <item>
116           <widget class="QTableView" name="playlistView">
117            <property name="contextMenuPolicy">
118             <enum>Qt::CustomContextMenu</enum>
119            </property>
120            <property name="frameShadow">
121             <enum>QFrame::Sunken</enum>
122            </property>
123            <property name="horizontalScrollBarPolicy">
124             <enum>Qt::ScrollBarAlwaysOff</enum>
125            </property>
126            <property name="autoScroll">
127             <bool>false</bool>
128            </property>
129            <property name="editTriggers">
130             <set>QAbstractItemView::NoEditTriggers</set>
131            </property>
132            <property name="showDropIndicator" stdset="0">
133             <bool>false</bool>
134            </property>
135            <property name="dragEnabled">
136             <bool>false</bool>
137            </property>
138            <property name="dragDropOverwriteMode">
139             <bool>false</bool>
140            </property>
141            <property name="dragDropMode">
142             <enum>QAbstractItemView::NoDragDrop</enum>
143            </property>
144            <property name="selectionMode">
145             <enum>QAbstractItemView::SingleSelection</enum>
146            </property>
147            <property name="selectionBehavior">
148             <enum>QAbstractItemView::SelectRows</enum>
149            </property>
150            <property name="iconSize">
151             <size>
152              <width>50</width>
153              <height>50</height>
154             </size>
155            </property>
156            <property name="showGrid">
157             <bool>false</bool>
158            </property>
159            <property name="cornerButtonEnabled">
160             <bool>false</bool>
161            </property>
162            <attribute name="horizontalHeaderVisible">
163             <bool>false</bool>
164            </attribute>
165            <attribute name="horizontalHeaderStretchLastSection">
166             <bool>true</bool>
167            </attribute>
168            <attribute name="verticalHeaderVisible">
169             <bool>false</bool>
170            </attribute>
171            <attribute name="verticalHeaderDefaultSectionSize">
172             <number>70</number>
173            </attribute>
174            <attribute name="verticalHeaderMinimumSectionSize">
175             <number>70</number>
176            </attribute>
177           </widget>
178          </item>
179         </layout>
180        </widget>
181        <widget class="QWidget" name="page_2">
182         <layout class="QGridLayout" name="gridLayout">
183          <property name="margin">
184           <number>0</number>
185          </property>
186          <property name="spacing">
187           <number>0</number>
188          </property>
189          <item row="0" column="0">
190           <widget class="QWidget" name="widget" native="true">
191            <layout class="QVBoxLayout" name="verticalLayout_2">
192             <item>
193              <layout class="QHBoxLayout" name="horizontalLayout_5">
194               <item>
195                <spacer name="horizontalSpacer_2">
196                 <property name="orientation">
197                  <enum>Qt::Horizontal</enum>
198                 </property>
199                 <property name="sizeHint" stdset="0">
200                  <size>
201                   <width>40</width>
202                   <height>20</height>
203                  </size>
204                 </property>
205                </spacer>
206               </item>
207               <item>
208                <widget class="QLabel" name="countLabel">
209                 <property name="text">
210                  <string>0/0</string>
211                 </property>
212                 <property name="alignment">
213                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
214                 </property>
215                </widget>
216               </item>
217              </layout>
218             </item>
219             <item>
220              <spacer name="verticalSpacer">
221               <property name="orientation">
222                <enum>Qt::Vertical</enum>
223               </property>
224               <property name="sizeHint" stdset="0">
225                <size>
226                 <width>20</width>
227                 <height>40</height>
228                </size>
229               </property>
230              </spacer>
231             </item>
232             <item>
233              <widget class="QLabel" name="titleLabel">
234               <property name="text">
235                <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
236               </property>
237               <property name="alignment">
238                <set>Qt::AlignCenter</set>
239               </property>
240              </widget>
241             </item>
242             <item>
243              <spacer name="verticalSpacer_2">
244               <property name="orientation">
245                <enum>Qt::Vertical</enum>
246               </property>
247               <property name="sizeHint" stdset="0">
248                <size>
249                 <width>20</width>
250                 <height>40</height>
251                </size>
252               </property>
253              </spacer>
254             </item>
255             <item>
256              <layout class="QHBoxLayout" name="progressLayout">
257               <item>
258                <widget class="QLabel" name="doneTimeLabel">
259                 <property name="text">
260                  <string>00:00</string>
261                 </property>
262                </widget>
263               </item>
264               <item>
265                <widget class="QSlider" name="seekSlider">
266                 <property name="orientation">
267                  <enum>Qt::Horizontal</enum>
268                 </property>
269                </widget>
270               </item>
271               <item>
272                <spacer name="seekSpacer">
273                 <property name="orientation">
274                  <enum>Qt::Horizontal</enum>
275                 </property>
276                 <property name="sizeHint" stdset="0">
277                  <size>
278                   <width>40</width>
279                   <height>20</height>
280                  </size>
281                 </property>
282                </spacer>
283               </item>
284               <item>
285                <widget class="QLabel" name="allTimeLabel">
286                 <property name="text">
287                  <string>00:00</string>
288                 </property>
289                </widget>
290               </item>
291              </layout>
292             </item>
293             <item>
294              <widget class="QWidget" name="progressWidget" native="true">
295               <layout class="QVBoxLayout" name="verticalLayout_3">
296                <property name="spacing">
297                 <number>0</number>
298                </property>
299                <property name="margin">
300                 <number>0</number>
301                </property>
302               </layout>
303              </widget>
304             </item>
305             <item>
306              <spacer name="verticalSpacer_3">
307               <property name="orientation">
308                <enum>Qt::Vertical</enum>
309               </property>
310               <property name="sizeHint" stdset="0">
311                <size>
312                 <width>20</width>
313                 <height>40</height>
314                </size>
315               </property>
316              </spacer>
317             </item>
318             <item>
319              <widget class="QLabel" name="artistAlbumLabel">
320               <property name="text">
321                <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
322               </property>
323               <property name="alignment">
324                <set>Qt::AlignCenter</set>
325               </property>
326              </widget>
327             </item>
328             <item>
329              <spacer name="verticalSpacer_4">
330               <property name="orientation">
331                <enum>Qt::Vertical</enum>
332               </property>
333               <property name="sizeHint" stdset="0">
334                <size>
335                 <width>20</width>
336                 <height>40</height>
337                </size>
338               </property>
339              </spacer>
340             </item>
341            </layout>
342           </widget>
343          </item>
344         </layout>
345        </widget>
346       </widget>
347      </item>
348      <item>
349       <layout class="QHBoxLayout" name="horizontalLayout">
350        <item>
351         <spacer name="horizontalSpacer">
352          <property name="orientation">
353           <enum>Qt::Horizontal</enum>
354          </property>
355          <property name="sizeType">
356           <enum>QSizePolicy::Fixed</enum>
357          </property>
358          <property name="sizeHint" stdset="0">
359           <size>
360            <width>10</width>
361            <height>0</height>
362           </size>
363          </property>
364         </spacer>
365        </item>
366        <item>
367         <widget class="QSlider" name="volumeSlider">
368          <property name="orientation">
369           <enum>Qt::Horizontal</enum>
370          </property>
371          <property name="invertedAppearance">
372           <bool>false</bool>
373          </property>
374          <property name="invertedControls">
375           <bool>false</bool>
376          </property>
377         </widget>
378        </item>
379        <item>
380         <spacer name="horizontalSpacer_3">
381          <property name="orientation">
382           <enum>Qt::Horizontal</enum>
383          </property>
384          <property name="sizeType">
385           <enum>QSizePolicy::Fixed</enum>
386          </property>
387          <property name="sizeHint" stdset="0">
388           <size>
389            <width>10</width>
390            <height>0</height>
391           </size>
392          </property>
393         </spacer>
394        </item>
395       </layout>
396      </item>
397     </layout>
398    </item>
399    <item>
400     <layout class="QHBoxLayout" name="bhorizontalLayout">
401      <property name="spacing">
402       <number>0</number>
403      </property>
404      <item>
405       <widget class="QPushButton" name="libraryButton">
406        <property name="sizePolicy">
407         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
408          <horstretch>0</horstretch>
409          <verstretch>0</verstretch>
410         </sizepolicy>
411        </property>
412        <property name="minimumSize">
413         <size>
414          <width>70</width>
415          <height>70</height>
416         </size>
417        </property>
418        <property name="maximumSize">
419         <size>
420          <width>70</width>
421          <height>70</height>
422         </size>
423        </property>
424        <property name="text">
425         <string/>
426        </property>
427        <property name="icon">
428         <iconset resource="../../resources/resources.qrc">
429          <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
430        </property>
431        <property name="flat">
432         <bool>true</bool>
433        </property>
434       </widget>
435      </item>
436      <item>
437       <spacer name="chorizontalSpacer_0">
438        <property name="orientation">
439         <enum>Qt::Horizontal</enum>
440        </property>
441        <property name="sizeHint" stdset="0">
442         <size>
443          <width>40</width>
444          <height>20</height>
445         </size>
446        </property>
447       </spacer>
448      </item>
449      <item>
450       <widget class="QPushButton" name="viewButton">
451        <property name="sizePolicy">
452         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
453          <horstretch>0</horstretch>
454          <verstretch>0</verstretch>
455         </sizepolicy>
456        </property>
457        <property name="minimumSize">
458         <size>
459          <width>70</width>
460          <height>70</height>
461         </size>
462        </property>
463        <property name="maximumSize">
464         <size>
465          <width>70</width>
466          <height>70</height>
467         </size>
468        </property>
469        <property name="text">
470         <string/>
471        </property>
472        <property name="icon">
473         <iconset resource="../../resources/resources.qrc">
474          <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
475        </property>
476        <property name="checkable">
477         <bool>false</bool>
478        </property>
479        <property name="flat">
480         <bool>true</bool>
481        </property>
482       </widget>
483      </item>
484      <item>
485       <spacer name="chorizontalSpacer_1">
486        <property name="orientation">
487         <enum>Qt::Horizontal</enum>
488        </property>
489        <property name="sizeHint" stdset="0">
490         <size>
491          <width>40</width>
492          <height>20</height>
493         </size>
494        </property>
495       </spacer>
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_off.png</normaloff>:/icons/white/repeat_off.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       <widget class="QPushButton" name="randomButton">
540        <property name="sizePolicy">
541         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
542          <horstretch>0</horstretch>
543          <verstretch>0</verstretch>
544         </sizepolicy>
545        </property>
546        <property name="minimumSize">
547         <size>
548          <width>70</width>
549          <height>70</height>
550         </size>
551        </property>
552        <property name="maximumSize">
553         <size>
554          <width>70</width>
555          <height>70</height>
556         </size>
557        </property>
558        <property name="text">
559         <string/>
560        </property>
561        <property name="icon">
562         <iconset resource="../../resources/resources.qrc">
563          <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
564        </property>
565        <property name="iconSize">
566         <size>
567          <width>48</width>
568          <height>48</height>
569         </size>
570        </property>
571        <property name="checkable">
572         <bool>false</bool>
573        </property>
574        <property name="flat">
575         <bool>true</bool>
576        </property>
577       </widget>
578      </item>
579      <item>
580       <spacer name="chorizontalSpacer_2">
581        <property name="orientation">
582         <enum>Qt::Horizontal</enum>
583        </property>
584        <property name="sizeHint" stdset="0">
585         <size>
586          <width>40</width>
587          <height>20</height>
588         </size>
589        </property>
590       </spacer>
591      </item>
592      <item>
593       <widget class="QPushButton" name="prevButton">
594        <property name="sizePolicy">
595         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
596          <horstretch>0</horstretch>
597          <verstretch>0</verstretch>
598         </sizepolicy>
599        </property>
600        <property name="minimumSize">
601         <size>
602          <width>70</width>
603          <height>70</height>
604         </size>
605        </property>
606        <property name="maximumSize">
607         <size>
608          <width>70</width>
609          <height>70</height>
610         </size>
611        </property>
612        <property name="text">
613         <string/>
614        </property>
615        <property name="icon">
616         <iconset resource="../../resources/resources.qrc">
617          <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
618        </property>
619        <property name="flat">
620         <bool>true</bool>
621        </property>
622       </widget>
623      </item>
624      <item>
625       <widget class="QPushButton" name="playpauseButton">
626        <property name="sizePolicy">
627         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
628          <horstretch>0</horstretch>
629          <verstretch>0</verstretch>
630         </sizepolicy>
631        </property>
632        <property name="minimumSize">
633         <size>
634          <width>70</width>
635          <height>70</height>
636         </size>
637        </property>
638        <property name="maximumSize">
639         <size>
640          <width>70</width>
641          <height>70</height>
642         </size>
643        </property>
644        <property name="text">
645         <string/>
646        </property>
647        <property name="icon">
648         <iconset resource="../../resources/resources.qrc">
649          <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
650        </property>
651        <property name="flat">
652         <bool>true</bool>
653        </property>
654       </widget>
655      </item>
656      <item>
657       <widget class="QPushButton" name="nextButton">
658        <property name="sizePolicy">
659         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
660          <horstretch>0</horstretch>
661          <verstretch>0</verstretch>
662         </sizepolicy>
663        </property>
664        <property name="minimumSize">
665         <size>
666          <width>70</width>
667          <height>70</height>
668         </size>
669        </property>
670        <property name="maximumSize">
671         <size>
672          <width>70</width>
673          <height>70</height>
674         </size>
675        </property>
676        <property name="text">
677         <string/>
678        </property>
679        <property name="icon">
680         <iconset resource="../../resources/resources.qrc">
681          <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
682        </property>
683        <property name="flat">
684         <bool>true</bool>
685        </property>
686       </widget>
687      </item>
688      <item>
689       <widget class="QPushButton" name="stopButton">
690        <property name="sizePolicy">
691         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
692          <horstretch>0</horstretch>
693          <verstretch>0</verstretch>
694         </sizepolicy>
695        </property>
696        <property name="minimumSize">
697         <size>
698          <width>70</width>
699          <height>70</height>
700         </size>
701        </property>
702        <property name="maximumSize">
703         <size>
704          <width>70</width>
705          <height>70</height>
706         </size>
707        </property>
708        <property name="text">
709         <string/>
710        </property>
711        <property name="icon">
712         <iconset resource="../../resources/resources.qrc">
713          <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
714        </property>
715        <property name="flat">
716         <bool>true</bool>
717        </property>
718       </widget>
719      </item>
720      <item>
721       <spacer name="chorizontalSpacer_3">
722        <property name="orientation">
723         <enum>Qt::Horizontal</enum>
724        </property>
725        <property name="sizeHint" stdset="0">
726         <size>
727          <width>40</width>
728          <height>20</height>
729         </size>
730        </property>
731       </spacer>
732      </item>
733      <item>
734       <widget class="QPushButton" name="moreButton">
735        <property name="sizePolicy">
736         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
737          <horstretch>0</horstretch>
738          <verstretch>0</verstretch>
739         </sizepolicy>
740        </property>
741        <property name="minimumSize">
742         <size>
743          <width>70</width>
744          <height>70</height>
745         </size>
746        </property>
747        <property name="maximumSize">
748         <size>
749          <width>70</width>
750          <height>70</height>
751         </size>
752        </property>
753        <property name="text">
754         <string/>
755        </property>
756        <property name="icon">
757         <iconset resource="../../resources/resources.qrc">
758          <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
759        </property>
760        <property name="flat">
761         <bool>true</bool>
762        </property>
763       </widget>
764      </item>
765      <item>
766       <spacer name="chorizontalSpacer_4">
767        <property name="orientation">
768         <enum>Qt::Horizontal</enum>
769        </property>
770        <property name="sizeHint" stdset="0">
771         <size>
772          <width>40</width>
773          <height>20</height>
774         </size>
775        </property>
776       </spacer>
777      </item>
778      <item>
779       <widget class="QPushButton" name="volumeButton">
780        <property name="sizePolicy">
781         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
782          <horstretch>0</horstretch>
783          <verstretch>0</verstretch>
784         </sizepolicy>
785        </property>
786        <property name="minimumSize">
787         <size>
788          <width>70</width>
789          <height>70</height>
790         </size>
791        </property>
792        <property name="text">
793         <string/>
794        </property>
795        <property name="icon">
796         <iconset resource="../../resources/resources.qrc">
797          <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
798        </property>
799        <property name="flat">
800         <bool>true</bool>
801        </property>
802       </widget>
803      </item>
804     </layout>
805    </item>
806    <item>
807     <widget class="QWidget" name="bottomWidget" native="true">
808      <property name="minimumSize">
809       <size>
810        <width>78</width>
811        <height>0</height>
812       </size>
813      </property>
814      <property name="styleSheet">
815       <string notr="true">background:qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(38, 38, 38, 255), stop:1 rgba(92, 92, 92, 255))</string>
816      </property>
817      <layout class="QHBoxLayout" name="horizontalLayout_2">
818       <property name="spacing">
819        <number>0</number>
820       </property>
821       <property name="margin">
822        <number>0</number>
823       </property>
824       <item>
825        <spacer name="bhorizontalSpacer_0">
826         <property name="orientation">
827          <enum>Qt::Horizontal</enum>
828         </property>
829         <property name="sizeHint" stdset="0">
830          <size>
831           <width>40</width>
832           <height>20</height>
833          </size>
834         </property>
835        </spacer>
836       </item>
837       <item>
838        <spacer name="bhorizontalSpacer_1">
839         <property name="orientation">
840          <enum>Qt::Horizontal</enum>
841         </property>
842         <property name="sizeHint" stdset="0">
843          <size>
844           <width>40</width>
845           <height>20</height>
846          </size>
847         </property>
848        </spacer>
849       </item>
850       <item>
851        <spacer name="bhorizontalSpacer_2">
852         <property name="orientation">
853          <enum>Qt::Horizontal</enum>
854         </property>
855         <property name="sizeHint" stdset="0">
856          <size>
857           <width>40</width>
858           <height>20</height>
859          </size>
860         </property>
861        </spacer>
862       </item>
863       <item>
864        <spacer name="bhorizontalSpacer_3">
865         <property name="orientation">
866          <enum>Qt::Horizontal</enum>
867         </property>
868         <property name="sizeHint" stdset="0">
869          <size>
870           <width>40</width>
871           <height>20</height>
872          </size>
873         </property>
874        </spacer>
875       </item>
876      </layout>
877     </widget>
878    </item>
879   </layout>
880  </widget>
881  <resources>
882   <include location="../../resources/resources.qrc"/>
883  </resources>
884  <connections/>
885 </ui>