Removed volume control support
[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     </layout>
349    </item>
350    <item>
351     <layout class="QHBoxLayout" name="bhorizontalLayout">
352      <property name="spacing">
353       <number>0</number>
354      </property>
355      <item>
356       <widget class="QPushButton" name="libraryButton">
357        <property name="sizePolicy">
358         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
359          <horstretch>0</horstretch>
360          <verstretch>0</verstretch>
361         </sizepolicy>
362        </property>
363        <property name="minimumSize">
364         <size>
365          <width>70</width>
366          <height>70</height>
367         </size>
368        </property>
369        <property name="maximumSize">
370         <size>
371          <width>70</width>
372          <height>70</height>
373         </size>
374        </property>
375        <property name="text">
376         <string/>
377        </property>
378        <property name="icon">
379         <iconset resource="../../resources/resources.qrc">
380          <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
381        </property>
382        <property name="flat">
383         <bool>true</bool>
384        </property>
385       </widget>
386      </item>
387      <item>
388       <spacer name="chorizontalSpacer_0">
389        <property name="orientation">
390         <enum>Qt::Horizontal</enum>
391        </property>
392        <property name="sizeHint" stdset="0">
393         <size>
394          <width>40</width>
395          <height>20</height>
396         </size>
397        </property>
398       </spacer>
399      </item>
400      <item>
401       <widget class="QPushButton" name="viewButton">
402        <property name="sizePolicy">
403         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
404          <horstretch>0</horstretch>
405          <verstretch>0</verstretch>
406         </sizepolicy>
407        </property>
408        <property name="minimumSize">
409         <size>
410          <width>70</width>
411          <height>70</height>
412         </size>
413        </property>
414        <property name="maximumSize">
415         <size>
416          <width>70</width>
417          <height>70</height>
418         </size>
419        </property>
420        <property name="text">
421         <string/>
422        </property>
423        <property name="icon">
424         <iconset resource="../../resources/resources.qrc">
425          <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
426        </property>
427        <property name="checkable">
428         <bool>false</bool>
429        </property>
430        <property name="flat">
431         <bool>true</bool>
432        </property>
433       </widget>
434      </item>
435      <item>
436       <spacer name="chorizontalSpacer_1">
437        <property name="orientation">
438         <enum>Qt::Horizontal</enum>
439        </property>
440        <property name="sizeHint" stdset="0">
441         <size>
442          <width>40</width>
443          <height>20</height>
444         </size>
445        </property>
446       </spacer>
447      </item>
448      <item>
449       <widget class="QPushButton" name="repeatButton">
450        <property name="sizePolicy">
451         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
452          <horstretch>0</horstretch>
453          <verstretch>0</verstretch>
454         </sizepolicy>
455        </property>
456        <property name="minimumSize">
457         <size>
458          <width>70</width>
459          <height>70</height>
460         </size>
461        </property>
462        <property name="maximumSize">
463         <size>
464          <width>70</width>
465          <height>70</height>
466         </size>
467        </property>
468        <property name="text">
469         <string/>
470        </property>
471        <property name="icon">
472         <iconset resource="../../resources/resources.qrc">
473          <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
474        </property>
475        <property name="iconSize">
476         <size>
477          <width>48</width>
478          <height>58</height>
479         </size>
480        </property>
481        <property name="checkable">
482         <bool>false</bool>
483        </property>
484        <property name="flat">
485         <bool>true</bool>
486        </property>
487       </widget>
488      </item>
489      <item>
490       <widget class="QPushButton" name="randomButton">
491        <property name="sizePolicy">
492         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
493          <horstretch>0</horstretch>
494          <verstretch>0</verstretch>
495         </sizepolicy>
496        </property>
497        <property name="minimumSize">
498         <size>
499          <width>70</width>
500          <height>70</height>
501         </size>
502        </property>
503        <property name="maximumSize">
504         <size>
505          <width>70</width>
506          <height>70</height>
507         </size>
508        </property>
509        <property name="text">
510         <string/>
511        </property>
512        <property name="icon">
513         <iconset resource="../../resources/resources.qrc">
514          <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
515        </property>
516        <property name="iconSize">
517         <size>
518          <width>48</width>
519          <height>48</height>
520         </size>
521        </property>
522        <property name="checkable">
523         <bool>false</bool>
524        </property>
525        <property name="flat">
526         <bool>true</bool>
527        </property>
528       </widget>
529      </item>
530      <item>
531       <spacer name="chorizontalSpacer_2">
532        <property name="orientation">
533         <enum>Qt::Horizontal</enum>
534        </property>
535        <property name="sizeHint" stdset="0">
536         <size>
537          <width>40</width>
538          <height>20</height>
539         </size>
540        </property>
541       </spacer>
542      </item>
543      <item>
544       <widget class="QPushButton" name="prevButton">
545        <property name="sizePolicy">
546         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
547          <horstretch>0</horstretch>
548          <verstretch>0</verstretch>
549         </sizepolicy>
550        </property>
551        <property name="minimumSize">
552         <size>
553          <width>70</width>
554          <height>70</height>
555         </size>
556        </property>
557        <property name="maximumSize">
558         <size>
559          <width>70</width>
560          <height>70</height>
561         </size>
562        </property>
563        <property name="text">
564         <string/>
565        </property>
566        <property name="icon">
567         <iconset resource="../../resources/resources.qrc">
568          <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
569        </property>
570        <property name="flat">
571         <bool>true</bool>
572        </property>
573       </widget>
574      </item>
575      <item>
576       <widget class="QPushButton" name="playpauseButton">
577        <property name="sizePolicy">
578         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
579          <horstretch>0</horstretch>
580          <verstretch>0</verstretch>
581         </sizepolicy>
582        </property>
583        <property name="minimumSize">
584         <size>
585          <width>70</width>
586          <height>70</height>
587         </size>
588        </property>
589        <property name="maximumSize">
590         <size>
591          <width>70</width>
592          <height>70</height>
593         </size>
594        </property>
595        <property name="text">
596         <string/>
597        </property>
598        <property name="icon">
599         <iconset resource="../../resources/resources.qrc">
600          <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
601        </property>
602        <property name="flat">
603         <bool>true</bool>
604        </property>
605       </widget>
606      </item>
607      <item>
608       <widget class="QPushButton" name="nextButton">
609        <property name="sizePolicy">
610         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
611          <horstretch>0</horstretch>
612          <verstretch>0</verstretch>
613         </sizepolicy>
614        </property>
615        <property name="minimumSize">
616         <size>
617          <width>70</width>
618          <height>70</height>
619         </size>
620        </property>
621        <property name="maximumSize">
622         <size>
623          <width>70</width>
624          <height>70</height>
625         </size>
626        </property>
627        <property name="text">
628         <string/>
629        </property>
630        <property name="icon">
631         <iconset resource="../../resources/resources.qrc">
632          <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
633        </property>
634        <property name="flat">
635         <bool>true</bool>
636        </property>
637       </widget>
638      </item>
639      <item>
640       <widget class="QPushButton" name="stopButton">
641        <property name="sizePolicy">
642         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
643          <horstretch>0</horstretch>
644          <verstretch>0</verstretch>
645         </sizepolicy>
646        </property>
647        <property name="minimumSize">
648         <size>
649          <width>70</width>
650          <height>70</height>
651         </size>
652        </property>
653        <property name="maximumSize">
654         <size>
655          <width>70</width>
656          <height>70</height>
657         </size>
658        </property>
659        <property name="text">
660         <string/>
661        </property>
662        <property name="icon">
663         <iconset resource="../../resources/resources.qrc">
664          <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
665        </property>
666        <property name="flat">
667         <bool>true</bool>
668        </property>
669       </widget>
670      </item>
671      <item>
672       <spacer name="chorizontalSpacer_3">
673        <property name="orientation">
674         <enum>Qt::Horizontal</enum>
675        </property>
676        <property name="sizeHint" stdset="0">
677         <size>
678          <width>40</width>
679          <height>20</height>
680         </size>
681        </property>
682       </spacer>
683      </item>
684      <item>
685       <widget class="QPushButton" name="moreButton">
686        <property name="sizePolicy">
687         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
688          <horstretch>0</horstretch>
689          <verstretch>0</verstretch>
690         </sizepolicy>
691        </property>
692        <property name="minimumSize">
693         <size>
694          <width>70</width>
695          <height>70</height>
696         </size>
697        </property>
698        <property name="maximumSize">
699         <size>
700          <width>70</width>
701          <height>70</height>
702         </size>
703        </property>
704        <property name="text">
705         <string/>
706        </property>
707        <property name="icon">
708         <iconset resource="../../resources/resources.qrc">
709          <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
710        </property>
711        <property name="flat">
712         <bool>true</bool>
713        </property>
714       </widget>
715      </item>
716      <item>
717       <spacer name="chorizontalSpacer_4">
718        <property name="orientation">
719         <enum>Qt::Horizontal</enum>
720        </property>
721        <property name="sizeHint" stdset="0">
722         <size>
723          <width>40</width>
724          <height>20</height>
725         </size>
726        </property>
727       </spacer>
728      </item>
729      <item>
730       <widget class="QPushButton" name="dirButton">
731        <property name="sizePolicy">
732         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
733          <horstretch>0</horstretch>
734          <verstretch>0</verstretch>
735         </sizepolicy>
736        </property>
737        <property name="minimumSize">
738         <size>
739          <width>70</width>
740          <height>70</height>
741         </size>
742        </property>
743        <property name="text">
744         <string/>
745        </property>
746        <property name="icon">
747         <iconset resource="../../resources/resources.qrc">
748          <normaloff>:/icons/white/directory.png</normaloff>:/icons/white/directory.png</iconset>
749        </property>
750        <property name="flat">
751         <bool>true</bool>
752        </property>
753       </widget>
754      </item>
755     </layout>
756    </item>
757    <item>
758     <widget class="QWidget" name="bottomWidget" native="true">
759      <property name="minimumSize">
760       <size>
761        <width>78</width>
762        <height>0</height>
763       </size>
764      </property>
765      <property name="styleSheet">
766       <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>
767      </property>
768      <layout class="QHBoxLayout" name="horizontalLayout_2">
769       <property name="spacing">
770        <number>0</number>
771       </property>
772       <property name="margin">
773        <number>0</number>
774       </property>
775       <item>
776        <spacer name="bhorizontalSpacer_0">
777         <property name="orientation">
778          <enum>Qt::Horizontal</enum>
779         </property>
780         <property name="sizeHint" stdset="0">
781          <size>
782           <width>40</width>
783           <height>20</height>
784          </size>
785         </property>
786        </spacer>
787       </item>
788       <item>
789        <spacer name="bhorizontalSpacer_1">
790         <property name="orientation">
791          <enum>Qt::Horizontal</enum>
792         </property>
793         <property name="sizeHint" stdset="0">
794          <size>
795           <width>40</width>
796           <height>20</height>
797          </size>
798         </property>
799        </spacer>
800       </item>
801       <item>
802        <spacer name="bhorizontalSpacer_2">
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_3">
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      </layout>
828     </widget>
829    </item>
830   </layout>
831  </widget>
832  <resources>
833   <include location="../../resources/resources.qrc"/>
834  </resources>
835  <connections/>
836 </ui>