5f5c5ba06b49e14c80d4d70a12062953eea8fecd
[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="QListView" name="playlistView">
117            <property name="contextMenuPolicy">
118             <enum>Qt::CustomContextMenu</enum>
119            </property>
120            <property name="editTriggers">
121             <set>QAbstractItemView::NoEditTriggers</set>
122            </property>
123            <property name="textElideMode">
124             <enum>Qt::ElideLeft</enum>
125            </property>
126            <property name="uniformItemSizes">
127             <bool>true</bool>
128            </property>
129            <property name="wordWrap">
130             <bool>true</bool>
131            </property>
132           </widget>
133          </item>
134         </layout>
135        </widget>
136        <widget class="QWidget" name="page_2">
137         <layout class="QGridLayout" name="gridLayout">
138          <property name="margin">
139           <number>0</number>
140          </property>
141          <property name="spacing">
142           <number>0</number>
143          </property>
144          <item row="0" column="0">
145           <widget class="QWidget" name="widget" native="true">
146            <layout class="QVBoxLayout" name="verticalLayout_2">
147             <item>
148              <layout class="QHBoxLayout" name="horizontalLayout_5">
149               <item>
150                <spacer name="horizontalSpacer_2">
151                 <property name="orientation">
152                  <enum>Qt::Horizontal</enum>
153                 </property>
154                 <property name="sizeHint" stdset="0">
155                  <size>
156                   <width>40</width>
157                   <height>20</height>
158                  </size>
159                 </property>
160                </spacer>
161               </item>
162               <item>
163                <widget class="QLabel" name="countLabel">
164                 <property name="text">
165                  <string>0/0</string>
166                 </property>
167                 <property name="alignment">
168                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
169                 </property>
170                </widget>
171               </item>
172              </layout>
173             </item>
174             <item>
175              <spacer name="verticalSpacer">
176               <property name="orientation">
177                <enum>Qt::Vertical</enum>
178               </property>
179               <property name="sizeHint" stdset="0">
180                <size>
181                 <width>20</width>
182                 <height>40</height>
183                </size>
184               </property>
185              </spacer>
186             </item>
187             <item>
188              <widget class="QLabel" name="titleLabel">
189               <property name="text">
190                <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
191               </property>
192               <property name="alignment">
193                <set>Qt::AlignCenter</set>
194               </property>
195              </widget>
196             </item>
197             <item>
198              <spacer name="verticalSpacer_2">
199               <property name="orientation">
200                <enum>Qt::Vertical</enum>
201               </property>
202               <property name="sizeHint" stdset="0">
203                <size>
204                 <width>20</width>
205                 <height>40</height>
206                </size>
207               </property>
208              </spacer>
209             </item>
210             <item>
211              <layout class="QHBoxLayout" name="progressLayout">
212               <item>
213                <widget class="QLabel" name="doneTimeLabel">
214                 <property name="text">
215                  <string>00:00</string>
216                 </property>
217                </widget>
218               </item>
219               <item>
220                <widget class="QSlider" name="seekSlider">
221                 <property name="orientation">
222                  <enum>Qt::Horizontal</enum>
223                 </property>
224                </widget>
225               </item>
226               <item>
227                <spacer name="seekSpacer">
228                 <property name="orientation">
229                  <enum>Qt::Horizontal</enum>
230                 </property>
231                 <property name="sizeHint" stdset="0">
232                  <size>
233                   <width>40</width>
234                   <height>20</height>
235                  </size>
236                 </property>
237                </spacer>
238               </item>
239               <item>
240                <widget class="QLabel" name="allTimeLabel">
241                 <property name="text">
242                  <string>00:00</string>
243                 </property>
244                </widget>
245               </item>
246              </layout>
247             </item>
248             <item>
249              <widget class="QWidget" name="progressWidget" native="true">
250               <layout class="QVBoxLayout" name="verticalLayout_3">
251                <property name="spacing">
252                 <number>0</number>
253                </property>
254                <property name="margin">
255                 <number>0</number>
256                </property>
257               </layout>
258              </widget>
259             </item>
260             <item>
261              <spacer name="verticalSpacer_3">
262               <property name="orientation">
263                <enum>Qt::Vertical</enum>
264               </property>
265               <property name="sizeHint" stdset="0">
266                <size>
267                 <width>20</width>
268                 <height>40</height>
269                </size>
270               </property>
271              </spacer>
272             </item>
273             <item>
274              <widget class="QLabel" name="artistAlbumLabel">
275               <property name="text">
276                <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
277               </property>
278               <property name="alignment">
279                <set>Qt::AlignCenter</set>
280               </property>
281              </widget>
282             </item>
283             <item>
284              <spacer name="verticalSpacer_4">
285               <property name="orientation">
286                <enum>Qt::Vertical</enum>
287               </property>
288               <property name="sizeHint" stdset="0">
289                <size>
290                 <width>20</width>
291                 <height>40</height>
292                </size>
293               </property>
294              </spacer>
295             </item>
296            </layout>
297           </widget>
298          </item>
299         </layout>
300        </widget>
301       </widget>
302      </item>
303      <item>
304       <layout class="QHBoxLayout" name="horizontalLayout">
305        <item>
306         <spacer name="horizontalSpacer">
307          <property name="orientation">
308           <enum>Qt::Horizontal</enum>
309          </property>
310          <property name="sizeType">
311           <enum>QSizePolicy::Fixed</enum>
312          </property>
313          <property name="sizeHint" stdset="0">
314           <size>
315            <width>10</width>
316            <height>0</height>
317           </size>
318          </property>
319         </spacer>
320        </item>
321        <item>
322         <widget class="QSlider" name="volumeSlider">
323          <property name="orientation">
324           <enum>Qt::Horizontal</enum>
325          </property>
326          <property name="invertedAppearance">
327           <bool>false</bool>
328          </property>
329          <property name="invertedControls">
330           <bool>false</bool>
331          </property>
332         </widget>
333        </item>
334        <item>
335         <spacer name="horizontalSpacer_3">
336          <property name="orientation">
337           <enum>Qt::Horizontal</enum>
338          </property>
339          <property name="sizeType">
340           <enum>QSizePolicy::Fixed</enum>
341          </property>
342          <property name="sizeHint" stdset="0">
343           <size>
344            <width>10</width>
345            <height>0</height>
346           </size>
347          </property>
348         </spacer>
349        </item>
350       </layout>
351      </item>
352     </layout>
353    </item>
354    <item>
355     <layout class="QHBoxLayout" name="bhorizontalLayout">
356      <property name="spacing">
357       <number>0</number>
358      </property>
359      <item>
360       <widget class="QPushButton" name="libraryButton">
361        <property name="sizePolicy">
362         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
363          <horstretch>0</horstretch>
364          <verstretch>0</verstretch>
365         </sizepolicy>
366        </property>
367        <property name="minimumSize">
368         <size>
369          <width>70</width>
370          <height>70</height>
371         </size>
372        </property>
373        <property name="maximumSize">
374         <size>
375          <width>70</width>
376          <height>70</height>
377         </size>
378        </property>
379        <property name="text">
380         <string/>
381        </property>
382        <property name="icon">
383         <iconset resource="../../resources/resources.qrc">
384          <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
385        </property>
386        <property name="flat">
387         <bool>true</bool>
388        </property>
389       </widget>
390      </item>
391      <item>
392       <spacer name="chorizontalSpacer_0">
393        <property name="orientation">
394         <enum>Qt::Horizontal</enum>
395        </property>
396        <property name="sizeHint" stdset="0">
397         <size>
398          <width>40</width>
399          <height>20</height>
400         </size>
401        </property>
402       </spacer>
403      </item>
404      <item>
405       <widget class="QPushButton" name="viewButton">
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/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
430        </property>
431        <property name="checkable">
432         <bool>false</bool>
433        </property>
434        <property name="flat">
435         <bool>true</bool>
436        </property>
437       </widget>
438      </item>
439      <item>
440       <spacer name="chorizontalSpacer_1">
441        <property name="orientation">
442         <enum>Qt::Horizontal</enum>
443        </property>
444        <property name="sizeHint" stdset="0">
445         <size>
446          <width>40</width>
447          <height>20</height>
448         </size>
449        </property>
450       </spacer>
451      </item>
452      <item>
453       <widget class="QPushButton" name="repeatButton">
454        <property name="sizePolicy">
455         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
456          <horstretch>0</horstretch>
457          <verstretch>0</verstretch>
458         </sizepolicy>
459        </property>
460        <property name="minimumSize">
461         <size>
462          <width>70</width>
463          <height>70</height>
464         </size>
465        </property>
466        <property name="maximumSize">
467         <size>
468          <width>70</width>
469          <height>70</height>
470         </size>
471        </property>
472        <property name="text">
473         <string/>
474        </property>
475        <property name="icon">
476         <iconset resource="../../resources/resources.qrc">
477          <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
478        </property>
479        <property name="iconSize">
480         <size>
481          <width>48</width>
482          <height>58</height>
483         </size>
484        </property>
485        <property name="checkable">
486         <bool>false</bool>
487        </property>
488        <property name="flat">
489         <bool>true</bool>
490        </property>
491       </widget>
492      </item>
493      <item>
494       <widget class="QPushButton" name="randomButton">
495        <property name="sizePolicy">
496         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
497          <horstretch>0</horstretch>
498          <verstretch>0</verstretch>
499         </sizepolicy>
500        </property>
501        <property name="minimumSize">
502         <size>
503          <width>70</width>
504          <height>70</height>
505         </size>
506        </property>
507        <property name="maximumSize">
508         <size>
509          <width>70</width>
510          <height>70</height>
511         </size>
512        </property>
513        <property name="text">
514         <string/>
515        </property>
516        <property name="icon">
517         <iconset resource="../../resources/resources.qrc">
518          <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
519        </property>
520        <property name="iconSize">
521         <size>
522          <width>48</width>
523          <height>48</height>
524         </size>
525        </property>
526        <property name="checkable">
527         <bool>false</bool>
528        </property>
529        <property name="flat">
530         <bool>true</bool>
531        </property>
532       </widget>
533      </item>
534      <item>
535       <spacer name="chorizontalSpacer_2">
536        <property name="orientation">
537         <enum>Qt::Horizontal</enum>
538        </property>
539        <property name="sizeHint" stdset="0">
540         <size>
541          <width>40</width>
542          <height>20</height>
543         </size>
544        </property>
545       </spacer>
546      </item>
547      <item>
548       <widget class="QPushButton" name="prevButton">
549        <property name="sizePolicy">
550         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
551          <horstretch>0</horstretch>
552          <verstretch>0</verstretch>
553         </sizepolicy>
554        </property>
555        <property name="minimumSize">
556         <size>
557          <width>70</width>
558          <height>70</height>
559         </size>
560        </property>
561        <property name="maximumSize">
562         <size>
563          <width>70</width>
564          <height>70</height>
565         </size>
566        </property>
567        <property name="text">
568         <string/>
569        </property>
570        <property name="icon">
571         <iconset resource="../../resources/resources.qrc">
572          <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
573        </property>
574        <property name="flat">
575         <bool>true</bool>
576        </property>
577       </widget>
578      </item>
579      <item>
580       <widget class="QPushButton" name="playpauseButton">
581        <property name="sizePolicy">
582         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
583          <horstretch>0</horstretch>
584          <verstretch>0</verstretch>
585         </sizepolicy>
586        </property>
587        <property name="minimumSize">
588         <size>
589          <width>70</width>
590          <height>70</height>
591         </size>
592        </property>
593        <property name="maximumSize">
594         <size>
595          <width>70</width>
596          <height>70</height>
597         </size>
598        </property>
599        <property name="text">
600         <string/>
601        </property>
602        <property name="icon">
603         <iconset resource="../../resources/resources.qrc">
604          <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
605        </property>
606        <property name="flat">
607         <bool>true</bool>
608        </property>
609       </widget>
610      </item>
611      <item>
612       <widget class="QPushButton" name="nextButton">
613        <property name="sizePolicy">
614         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
615          <horstretch>0</horstretch>
616          <verstretch>0</verstretch>
617         </sizepolicy>
618        </property>
619        <property name="minimumSize">
620         <size>
621          <width>70</width>
622          <height>70</height>
623         </size>
624        </property>
625        <property name="maximumSize">
626         <size>
627          <width>70</width>
628          <height>70</height>
629         </size>
630        </property>
631        <property name="text">
632         <string/>
633        </property>
634        <property name="icon">
635         <iconset resource="../../resources/resources.qrc">
636          <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
637        </property>
638        <property name="flat">
639         <bool>true</bool>
640        </property>
641       </widget>
642      </item>
643      <item>
644       <widget class="QPushButton" name="stopButton">
645        <property name="sizePolicy">
646         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
647          <horstretch>0</horstretch>
648          <verstretch>0</verstretch>
649         </sizepolicy>
650        </property>
651        <property name="minimumSize">
652         <size>
653          <width>70</width>
654          <height>70</height>
655         </size>
656        </property>
657        <property name="maximumSize">
658         <size>
659          <width>70</width>
660          <height>70</height>
661         </size>
662        </property>
663        <property name="text">
664         <string/>
665        </property>
666        <property name="icon">
667         <iconset resource="../../resources/resources.qrc">
668          <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
669        </property>
670        <property name="flat">
671         <bool>true</bool>
672        </property>
673       </widget>
674      </item>
675      <item>
676       <spacer name="chorizontalSpacer_3">
677        <property name="orientation">
678         <enum>Qt::Horizontal</enum>
679        </property>
680        <property name="sizeHint" stdset="0">
681         <size>
682          <width>40</width>
683          <height>20</height>
684         </size>
685        </property>
686       </spacer>
687      </item>
688      <item>
689       <widget class="QPushButton" name="moreButton">
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/more.png</normaloff>:/icons/white/more.png</iconset>
714        </property>
715        <property name="flat">
716         <bool>true</bool>
717        </property>
718       </widget>
719      </item>
720      <item>
721       <spacer name="chorizontalSpacer_4">
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="volumeButton">
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="text">
748         <string/>
749        </property>
750        <property name="icon">
751         <iconset resource="../../resources/resources.qrc">
752          <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
753        </property>
754        <property name="flat">
755         <bool>true</bool>
756        </property>
757       </widget>
758      </item>
759     </layout>
760    </item>
761    <item>
762     <widget class="QWidget" name="bottomWidget" native="true">
763      <property name="minimumSize">
764       <size>
765        <width>78</width>
766        <height>0</height>
767       </size>
768      </property>
769      <property name="styleSheet">
770       <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>
771      </property>
772      <layout class="QHBoxLayout" name="horizontalLayout_2">
773       <property name="spacing">
774        <number>0</number>
775       </property>
776       <property name="margin">
777        <number>0</number>
778       </property>
779       <item>
780        <spacer name="bhorizontalSpacer_0">
781         <property name="orientation">
782          <enum>Qt::Horizontal</enum>
783         </property>
784         <property name="sizeHint" stdset="0">
785          <size>
786           <width>40</width>
787           <height>20</height>
788          </size>
789         </property>
790        </spacer>
791       </item>
792       <item>
793        <spacer name="bhorizontalSpacer_1">
794         <property name="orientation">
795          <enum>Qt::Horizontal</enum>
796         </property>
797         <property name="sizeHint" stdset="0">
798          <size>
799           <width>40</width>
800           <height>20</height>
801          </size>
802         </property>
803        </spacer>
804       </item>
805       <item>
806        <spacer name="bhorizontalSpacer_2">
807         <property name="orientation">
808          <enum>Qt::Horizontal</enum>
809         </property>
810         <property name="sizeHint" stdset="0">
811          <size>
812           <width>40</width>
813           <height>20</height>
814          </size>
815         </property>
816        </spacer>
817       </item>
818       <item>
819        <spacer name="bhorizontalSpacer_3">
820         <property name="orientation">
821          <enum>Qt::Horizontal</enum>
822         </property>
823         <property name="sizeHint" stdset="0">
824          <size>
825           <width>40</width>
826           <height>20</height>
827          </size>
828         </property>
829        </spacer>
830       </item>
831      </layout>
832     </widget>
833    </item>
834   </layout>
835  </widget>
836  <resources>
837   <include location="../../resources/resources.qrc"/>
838  </resources>
839  <connections/>
840 </ui>