96d6ad815fea3ae998638f893e9ab5d164127ebf
[someplayer] / src / ui / playerform.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PlayerForm</class>
4  <widget class="QWidget" name="PlayerForm">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>798</width>
10     <height>478</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <property name="spacing">
18     <number>0</number>
19    </property>
20    <property name="margin">
21     <number>0</number>
22    </property>
23    <item>
24     <widget class="QWidget" name="topWidget" native="true">
25      <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          <item>
135           <widget class="QSlider" name="volumeSlider">
136            <property name="orientation">
137             <enum>Qt::Horizontal</enum>
138            </property>
139            <property name="invertedAppearance">
140             <bool>false</bool>
141            </property>
142            <property name="invertedControls">
143             <bool>false</bool>
144            </property>
145           </widget>
146          </item>
147         </layout>
148        </widget>
149        <widget class="QWidget" name="page_2">
150         <layout class="QGridLayout" name="gridLayout">
151          <property name="margin">
152           <number>0</number>
153          </property>
154          <property name="spacing">
155           <number>0</number>
156          </property>
157          <item row="0" column="0">
158           <widget class="QWidget" name="widget" native="true">
159            <layout class="QVBoxLayout" name="verticalLayout_2">
160             <item>
161              <layout class="QHBoxLayout" name="horizontalLayout_5">
162               <item>
163                <spacer name="horizontalSpacer_2">
164                 <property name="orientation">
165                  <enum>Qt::Horizontal</enum>
166                 </property>
167                 <property name="sizeHint" stdset="0">
168                  <size>
169                   <width>40</width>
170                   <height>20</height>
171                  </size>
172                 </property>
173                </spacer>
174               </item>
175               <item>
176                <widget class="QLabel" name="countLabel">
177                 <property name="text">
178                  <string>0/0</string>
179                 </property>
180                 <property name="alignment">
181                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
182                 </property>
183                </widget>
184               </item>
185              </layout>
186             </item>
187             <item>
188              <spacer name="verticalSpacer">
189               <property name="orientation">
190                <enum>Qt::Vertical</enum>
191               </property>
192               <property name="sizeHint" stdset="0">
193                <size>
194                 <width>20</width>
195                 <height>40</height>
196                </size>
197               </property>
198              </spacer>
199             </item>
200             <item>
201              <widget class="QLabel" name="titleLabel">
202               <property name="text">
203                <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
204               </property>
205               <property name="alignment">
206                <set>Qt::AlignCenter</set>
207               </property>
208              </widget>
209             </item>
210             <item>
211              <spacer name="verticalSpacer_2">
212               <property name="orientation">
213                <enum>Qt::Vertical</enum>
214               </property>
215               <property name="sizeHint" stdset="0">
216                <size>
217                 <width>20</width>
218                 <height>40</height>
219                </size>
220               </property>
221              </spacer>
222             </item>
223             <item>
224              <layout class="QHBoxLayout" name="progressLayout">
225               <item>
226                <widget class="QLabel" name="doneTimeLabel">
227                 <property name="text">
228                  <string>00:00</string>
229                 </property>
230                </widget>
231               </item>
232               <item>
233                <widget class="QSlider" name="seekSlider">
234                 <property name="orientation">
235                  <enum>Qt::Horizontal</enum>
236                 </property>
237                </widget>
238               </item>
239               <item>
240                <spacer name="seekSpacer">
241                 <property name="orientation">
242                  <enum>Qt::Horizontal</enum>
243                 </property>
244                 <property name="sizeHint" stdset="0">
245                  <size>
246                   <width>40</width>
247                   <height>20</height>
248                  </size>
249                 </property>
250                </spacer>
251               </item>
252               <item>
253                <widget class="QLabel" name="allTimeLabel">
254                 <property name="text">
255                  <string>00:00</string>
256                 </property>
257                </widget>
258               </item>
259              </layout>
260             </item>
261             <item>
262              <widget class="QWidget" name="progressWidget" native="true">
263               <layout class="QVBoxLayout" name="verticalLayout_3">
264                <property name="spacing">
265                 <number>0</number>
266                </property>
267                <property name="margin">
268                 <number>0</number>
269                </property>
270               </layout>
271              </widget>
272             </item>
273             <item>
274              <spacer name="verticalSpacer_3">
275               <property name="orientation">
276                <enum>Qt::Vertical</enum>
277               </property>
278               <property name="sizeHint" stdset="0">
279                <size>
280                 <width>20</width>
281                 <height>40</height>
282                </size>
283               </property>
284              </spacer>
285             </item>
286             <item>
287              <widget class="QLabel" name="artistAlbumLabel">
288               <property name="text">
289                <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
290               </property>
291               <property name="alignment">
292                <set>Qt::AlignCenter</set>
293               </property>
294              </widget>
295             </item>
296             <item>
297              <spacer name="verticalSpacer_4">
298               <property name="orientation">
299                <enum>Qt::Vertical</enum>
300               </property>
301               <property name="sizeHint" stdset="0">
302                <size>
303                 <width>20</width>
304                 <height>40</height>
305                </size>
306               </property>
307              </spacer>
308             </item>
309            </layout>
310           </widget>
311          </item>
312         </layout>
313        </widget>
314       </widget>
315      </item>
316     </layout>
317    </item>
318    <item>
319     <layout class="QHBoxLayout" name="bhorizontalLayout">
320      <property name="spacing">
321       <number>0</number>
322      </property>
323      <item>
324       <widget class="QPushButton" name="libraryButton">
325        <property name="sizePolicy">
326         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
327          <horstretch>0</horstretch>
328          <verstretch>0</verstretch>
329         </sizepolicy>
330        </property>
331        <property name="minimumSize">
332         <size>
333          <width>70</width>
334          <height>70</height>
335         </size>
336        </property>
337        <property name="maximumSize">
338         <size>
339          <width>70</width>
340          <height>70</height>
341         </size>
342        </property>
343        <property name="text">
344         <string/>
345        </property>
346        <property name="icon">
347         <iconset resource="../../resources/resources.qrc">
348          <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
349        </property>
350        <property name="flat">
351         <bool>true</bool>
352        </property>
353       </widget>
354      </item>
355      <item>
356       <spacer name="chorizontalSpacer_0">
357        <property name="orientation">
358         <enum>Qt::Horizontal</enum>
359        </property>
360        <property name="sizeHint" stdset="0">
361         <size>
362          <width>40</width>
363          <height>20</height>
364         </size>
365        </property>
366       </spacer>
367      </item>
368      <item>
369       <widget class="QPushButton" name="viewButton">
370        <property name="sizePolicy">
371         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
372          <horstretch>0</horstretch>
373          <verstretch>0</verstretch>
374         </sizepolicy>
375        </property>
376        <property name="minimumSize">
377         <size>
378          <width>70</width>
379          <height>70</height>
380         </size>
381        </property>
382        <property name="maximumSize">
383         <size>
384          <width>70</width>
385          <height>70</height>
386         </size>
387        </property>
388        <property name="text">
389         <string/>
390        </property>
391        <property name="icon">
392         <iconset resource="../../resources/resources.qrc">
393          <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
394        </property>
395        <property name="checkable">
396         <bool>false</bool>
397        </property>
398        <property name="flat">
399         <bool>true</bool>
400        </property>
401       </widget>
402      </item>
403      <item>
404       <spacer name="chorizontalSpacer_1">
405        <property name="orientation">
406         <enum>Qt::Horizontal</enum>
407        </property>
408        <property name="sizeHint" stdset="0">
409         <size>
410          <width>40</width>
411          <height>20</height>
412         </size>
413        </property>
414       </spacer>
415      </item>
416      <item>
417       <widget class="QPushButton" name="repeatButton">
418        <property name="sizePolicy">
419         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
420          <horstretch>0</horstretch>
421          <verstretch>0</verstretch>
422         </sizepolicy>
423        </property>
424        <property name="minimumSize">
425         <size>
426          <width>70</width>
427          <height>70</height>
428         </size>
429        </property>
430        <property name="maximumSize">
431         <size>
432          <width>70</width>
433          <height>70</height>
434         </size>
435        </property>
436        <property name="text">
437         <string/>
438        </property>
439        <property name="icon">
440         <iconset resource="../../resources/resources.qrc">
441          <normaloff>:/icons/white/repeat_inactive.png</normaloff>:/icons/white/repeat_inactive.png</iconset>
442        </property>
443        <property name="iconSize">
444         <size>
445          <width>48</width>
446          <height>58</height>
447         </size>
448        </property>
449        <property name="checkable">
450         <bool>false</bool>
451        </property>
452        <property name="flat">
453         <bool>true</bool>
454        </property>
455       </widget>
456      </item>
457      <item>
458       <widget class="QPushButton" name="randomButton">
459        <property name="sizePolicy">
460         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
461          <horstretch>0</horstretch>
462          <verstretch>0</verstretch>
463         </sizepolicy>
464        </property>
465        <property name="minimumSize">
466         <size>
467          <width>70</width>
468          <height>70</height>
469         </size>
470        </property>
471        <property name="maximumSize">
472         <size>
473          <width>70</width>
474          <height>70</height>
475         </size>
476        </property>
477        <property name="text">
478         <string/>
479        </property>
480        <property name="icon">
481         <iconset resource="../../resources/resources.qrc">
482          <normaloff>:/icons/white/random_inactive.png</normaloff>:/icons/white/random_inactive.png</iconset>
483        </property>
484        <property name="iconSize">
485         <size>
486          <width>48</width>
487          <height>48</height>
488         </size>
489        </property>
490        <property name="checkable">
491         <bool>false</bool>
492        </property>
493        <property name="flat">
494         <bool>true</bool>
495        </property>
496       </widget>
497      </item>
498      <item>
499       <spacer name="chorizontalSpacer_2">
500        <property name="orientation">
501         <enum>Qt::Horizontal</enum>
502        </property>
503        <property name="sizeHint" stdset="0">
504         <size>
505          <width>40</width>
506          <height>20</height>
507         </size>
508        </property>
509       </spacer>
510      </item>
511      <item>
512       <widget class="QPushButton" name="prevButton">
513        <property name="sizePolicy">
514         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
515          <horstretch>0</horstretch>
516          <verstretch>0</verstretch>
517         </sizepolicy>
518        </property>
519        <property name="minimumSize">
520         <size>
521          <width>70</width>
522          <height>70</height>
523         </size>
524        </property>
525        <property name="maximumSize">
526         <size>
527          <width>70</width>
528          <height>70</height>
529         </size>
530        </property>
531        <property name="text">
532         <string/>
533        </property>
534        <property name="icon">
535         <iconset resource="../../resources/resources.qrc">
536          <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
537        </property>
538        <property name="flat">
539         <bool>true</bool>
540        </property>
541       </widget>
542      </item>
543      <item>
544       <widget class="QPushButton" name="playpauseButton">
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/play.png</normaloff>:/icons/white/play.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="nextButton">
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/next.png</normaloff>:/icons/white/next.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="stopButton">
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/stop.png</normaloff>:/icons/white/stop.png</iconset>
633        </property>
634        <property name="flat">
635         <bool>true</bool>
636        </property>
637       </widget>
638      </item>
639      <item>
640       <spacer name="chorizontalSpacer_3">
641        <property name="orientation">
642         <enum>Qt::Horizontal</enum>
643        </property>
644        <property name="sizeHint" stdset="0">
645         <size>
646          <width>40</width>
647          <height>20</height>
648         </size>
649        </property>
650       </spacer>
651      </item>
652      <item>
653       <widget class="QPushButton" name="moreButton">
654        <property name="sizePolicy">
655         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
656          <horstretch>0</horstretch>
657          <verstretch>0</verstretch>
658         </sizepolicy>
659        </property>
660        <property name="minimumSize">
661         <size>
662          <width>70</width>
663          <height>70</height>
664         </size>
665        </property>
666        <property name="maximumSize">
667         <size>
668          <width>70</width>
669          <height>70</height>
670         </size>
671        </property>
672        <property name="text">
673         <string/>
674        </property>
675        <property name="icon">
676         <iconset resource="../../resources/resources.qrc">
677          <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
678        </property>
679        <property name="flat">
680         <bool>true</bool>
681        </property>
682       </widget>
683      </item>
684      <item>
685       <spacer name="chorizontalSpacer_4">
686        <property name="orientation">
687         <enum>Qt::Horizontal</enum>
688        </property>
689        <property name="sizeHint" stdset="0">
690         <size>
691          <width>40</width>
692          <height>20</height>
693         </size>
694        </property>
695       </spacer>
696      </item>
697      <item>
698       <widget class="QPushButton" name="volumeButton">
699        <property name="sizePolicy">
700         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
701          <horstretch>0</horstretch>
702          <verstretch>0</verstretch>
703         </sizepolicy>
704        </property>
705        <property name="minimumSize">
706         <size>
707          <width>70</width>
708          <height>70</height>
709         </size>
710        </property>
711        <property name="text">
712         <string/>
713        </property>
714        <property name="icon">
715         <iconset resource="../../resources/resources.qrc">
716          <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
717        </property>
718        <property name="flat">
719         <bool>true</bool>
720        </property>
721       </widget>
722      </item>
723     </layout>
724    </item>
725    <item>
726     <widget class="QWidget" name="bottomWidget" native="true">
727      <property name="minimumSize">
728       <size>
729        <width>78</width>
730        <height>0</height>
731       </size>
732      </property>
733      <property name="styleSheet">
734       <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>
735      </property>
736      <layout class="QHBoxLayout" name="horizontalLayout_2">
737       <property name="spacing">
738        <number>0</number>
739       </property>
740       <property name="margin">
741        <number>0</number>
742       </property>
743       <item>
744        <spacer name="bhorizontalSpacer_0">
745         <property name="orientation">
746          <enum>Qt::Horizontal</enum>
747         </property>
748         <property name="sizeHint" stdset="0">
749          <size>
750           <width>40</width>
751           <height>20</height>
752          </size>
753         </property>
754        </spacer>
755       </item>
756       <item>
757        <spacer name="bhorizontalSpacer_1">
758         <property name="orientation">
759          <enum>Qt::Horizontal</enum>
760         </property>
761         <property name="sizeHint" stdset="0">
762          <size>
763           <width>40</width>
764           <height>20</height>
765          </size>
766         </property>
767        </spacer>
768       </item>
769       <item>
770        <spacer name="bhorizontalSpacer_2">
771         <property name="orientation">
772          <enum>Qt::Horizontal</enum>
773         </property>
774         <property name="sizeHint" stdset="0">
775          <size>
776           <width>40</width>
777           <height>20</height>
778          </size>
779         </property>
780        </spacer>
781       </item>
782       <item>
783        <spacer name="bhorizontalSpacer_3">
784         <property name="orientation">
785          <enum>Qt::Horizontal</enum>
786         </property>
787         <property name="sizeHint" stdset="0">
788          <size>
789           <width>40</width>
790           <height>20</height>
791          </size>
792         </property>
793        </spacer>
794       </item>
795      </layout>
796     </widget>
797    </item>
798   </layout>
799  </widget>
800  <resources>
801   <include location="../../resources/resources.qrc"/>
802  </resources>
803  <connections/>
804 </ui>