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