1 <?xml version="1.0" encoding="UTF-8"?>
3 <class>PlayerForm</class>
4 <widget class="QWidget" name="PlayerForm">
5 <property name="geometry">
13 <property name="windowTitle">
14 <string>SomePlayer</string>
16 <layout class="QVBoxLayout" name="verticalLayout">
17 <property name="spacing">
20 <property name="margin">
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>
28 <layout class="QHBoxLayout" name="horizontalLayout_4">
29 <property name="spacing">
32 <property name="margin">
36 <spacer name="thorizontalSpacer_0">
37 <property name="orientation">
38 <enum>Qt::Horizontal</enum>
40 <property name="sizeHint" stdset="0">
49 <spacer name="thorizontalSpacer_1">
50 <property name="orientation">
51 <enum>Qt::Horizontal</enum>
53 <property name="sizeHint" stdset="0">
62 <spacer name="thorizontalSpacer_2">
63 <property name="orientation">
64 <enum>Qt::Horizontal</enum>
66 <property name="sizeHint" stdset="0">
75 <spacer name="thorizontalSpacer_3">
76 <property name="orientation">
77 <enum>Qt::Horizontal</enum>
79 <property name="sizeHint" stdset="0">
91 <layout class="QVBoxLayout" name="verticalLayout_6">
92 <property name="spacing">
96 <widget class="QStackedWidget" name="stackedWidget">
97 <property name="currentIndex">
100 <widget class="QWidget" name="page">
101 <layout class="QVBoxLayout" name="verticalLayout_4">
102 <property name="spacing">
105 <property name="margin">
109 <layout class="QVBoxLayout" name="toolsLayout">
110 <property name="spacing">
116 <widget class="QTableView" name="playlistView">
117 <property name="contextMenuPolicy">
118 <enum>Qt::CustomContextMenu</enum>
120 <property name="frameShadow">
121 <enum>QFrame::Sunken</enum>
123 <property name="horizontalScrollBarPolicy">
124 <enum>Qt::ScrollBarAlwaysOff</enum>
126 <property name="autoScroll">
129 <property name="editTriggers">
130 <set>QAbstractItemView::NoEditTriggers</set>
132 <property name="showDropIndicator" stdset="0">
135 <property name="dragEnabled">
138 <property name="dragDropOverwriteMode">
141 <property name="dragDropMode">
142 <enum>QAbstractItemView::NoDragDrop</enum>
144 <property name="selectionMode">
145 <enum>QAbstractItemView::SingleSelection</enum>
147 <property name="selectionBehavior">
148 <enum>QAbstractItemView::SelectRows</enum>
150 <property name="iconSize">
156 <property name="showGrid">
159 <property name="cornerButtonEnabled">
162 <attribute name="horizontalHeaderVisible">
165 <attribute name="horizontalHeaderStretchLastSection">
168 <attribute name="verticalHeaderVisible">
171 <attribute name="verticalHeaderDefaultSectionSize">
174 <attribute name="verticalHeaderMinimumSectionSize">
181 <widget class="QWidget" name="page_2">
182 <layout class="QGridLayout" name="gridLayout">
183 <property name="margin">
186 <property name="spacing">
189 <item row="0" column="0">
190 <widget class="QWidget" name="widget" native="true">
191 <layout class="QVBoxLayout" name="verticalLayout_2">
193 <layout class="QHBoxLayout" name="horizontalLayout_5">
195 <spacer name="horizontalSpacer_2">
196 <property name="orientation">
197 <enum>Qt::Horizontal</enum>
199 <property name="sizeHint" stdset="0">
208 <widget class="QLabel" name="countLabel">
209 <property name="text">
212 <property name="alignment">
213 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
220 <spacer name="verticalSpacer">
221 <property name="orientation">
222 <enum>Qt::Vertical</enum>
224 <property name="sizeHint" stdset="0">
233 <widget class="QLabel" name="titleLabel">
234 <property name="text">
235 <string><h3>Title</h3></string>
237 <property name="alignment">
238 <set>Qt::AlignCenter</set>
243 <spacer name="verticalSpacer_2">
244 <property name="orientation">
245 <enum>Qt::Vertical</enum>
247 <property name="sizeHint" stdset="0">
256 <layout class="QHBoxLayout" name="progressLayout">
258 <widget class="QLabel" name="doneTimeLabel">
259 <property name="text">
260 <string>00:00</string>
265 <widget class="QSlider" name="seekSlider">
266 <property name="orientation">
267 <enum>Qt::Horizontal</enum>
272 <spacer name="seekSpacer">
273 <property name="orientation">
274 <enum>Qt::Horizontal</enum>
276 <property name="sizeHint" stdset="0">
285 <widget class="QLabel" name="allTimeLabel">
286 <property name="text">
287 <string>00:00</string>
294 <widget class="QWidget" name="progressWidget" native="true">
295 <layout class="QVBoxLayout" name="verticalLayout_3">
296 <property name="spacing">
299 <property name="margin">
306 <spacer name="verticalSpacer_3">
307 <property name="orientation">
308 <enum>Qt::Vertical</enum>
310 <property name="sizeHint" stdset="0">
319 <widget class="QLabel" name="artistAlbumLabel">
320 <property name="text">
321 <string><b>Artist</b><br/>album</string>
323 <property name="alignment">
324 <set>Qt::AlignCenter</set>
329 <spacer name="verticalSpacer_4">
330 <property name="orientation">
331 <enum>Qt::Vertical</enum>
333 <property name="sizeHint" stdset="0">
349 <layout class="QHBoxLayout" name="horizontalLayout">
351 <spacer name="horizontalSpacer">
352 <property name="orientation">
353 <enum>Qt::Horizontal</enum>
355 <property name="sizeType">
356 <enum>QSizePolicy::Fixed</enum>
358 <property name="sizeHint" stdset="0">
367 <widget class="QSlider" name="volumeSlider">
368 <property name="orientation">
369 <enum>Qt::Horizontal</enum>
371 <property name="invertedAppearance">
374 <property name="invertedControls">
380 <spacer name="horizontalSpacer_3">
381 <property name="orientation">
382 <enum>Qt::Horizontal</enum>
384 <property name="sizeType">
385 <enum>QSizePolicy::Fixed</enum>
387 <property name="sizeHint" stdset="0">
400 <layout class="QHBoxLayout" name="bhorizontalLayout">
401 <property name="spacing">
405 <widget class="QPushButton" name="libraryButton">
406 <property name="sizePolicy">
407 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
408 <horstretch>0</horstretch>
409 <verstretch>0</verstretch>
412 <property name="minimumSize">
418 <property name="maximumSize">
424 <property name="text">
427 <property name="icon">
428 <iconset resource="../../resources/resources.qrc">
429 <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
431 <property name="flat">
437 <spacer name="chorizontalSpacer_0">
438 <property name="orientation">
439 <enum>Qt::Horizontal</enum>
441 <property name="sizeHint" stdset="0">
450 <widget class="QPushButton" name="viewButton">
451 <property name="sizePolicy">
452 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
453 <horstretch>0</horstretch>
454 <verstretch>0</verstretch>
457 <property name="minimumSize">
463 <property name="maximumSize">
469 <property name="text">
472 <property name="icon">
473 <iconset resource="../../resources/resources.qrc">
474 <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
476 <property name="checkable">
479 <property name="flat">
485 <spacer name="chorizontalSpacer_1">
486 <property name="orientation">
487 <enum>Qt::Horizontal</enum>
489 <property name="sizeHint" stdset="0">
498 <widget class="QPushButton" name="repeatButton">
499 <property name="sizePolicy">
500 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
501 <horstretch>0</horstretch>
502 <verstretch>0</verstretch>
505 <property name="minimumSize">
511 <property name="maximumSize">
517 <property name="text">
520 <property name="icon">
521 <iconset resource="../../resources/resources.qrc">
522 <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
524 <property name="iconSize">
530 <property name="checkable">
533 <property name="flat">
539 <widget class="QPushButton" name="randomButton">
540 <property name="sizePolicy">
541 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
542 <horstretch>0</horstretch>
543 <verstretch>0</verstretch>
546 <property name="minimumSize">
552 <property name="maximumSize">
558 <property name="text">
561 <property name="icon">
562 <iconset resource="../../resources/resources.qrc">
563 <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
565 <property name="iconSize">
571 <property name="checkable">
574 <property name="flat">
580 <spacer name="chorizontalSpacer_2">
581 <property name="orientation">
582 <enum>Qt::Horizontal</enum>
584 <property name="sizeHint" stdset="0">
593 <widget class="QPushButton" name="prevButton">
594 <property name="sizePolicy">
595 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
596 <horstretch>0</horstretch>
597 <verstretch>0</verstretch>
600 <property name="minimumSize">
606 <property name="maximumSize">
612 <property name="text">
615 <property name="icon">
616 <iconset resource="../../resources/resources.qrc">
617 <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
619 <property name="flat">
625 <widget class="QPushButton" name="playpauseButton">
626 <property name="sizePolicy">
627 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
628 <horstretch>0</horstretch>
629 <verstretch>0</verstretch>
632 <property name="minimumSize">
638 <property name="maximumSize">
644 <property name="text">
647 <property name="icon">
648 <iconset resource="../../resources/resources.qrc">
649 <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
651 <property name="flat">
657 <widget class="QPushButton" name="nextButton">
658 <property name="sizePolicy">
659 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
660 <horstretch>0</horstretch>
661 <verstretch>0</verstretch>
664 <property name="minimumSize">
670 <property name="maximumSize">
676 <property name="text">
679 <property name="icon">
680 <iconset resource="../../resources/resources.qrc">
681 <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
683 <property name="flat">
689 <widget class="QPushButton" name="stopButton">
690 <property name="sizePolicy">
691 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
692 <horstretch>0</horstretch>
693 <verstretch>0</verstretch>
696 <property name="minimumSize">
702 <property name="maximumSize">
708 <property name="text">
711 <property name="icon">
712 <iconset resource="../../resources/resources.qrc">
713 <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
715 <property name="flat">
721 <spacer name="chorizontalSpacer_3">
722 <property name="orientation">
723 <enum>Qt::Horizontal</enum>
725 <property name="sizeHint" stdset="0">
734 <widget class="QPushButton" name="moreButton">
735 <property name="sizePolicy">
736 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
737 <horstretch>0</horstretch>
738 <verstretch>0</verstretch>
741 <property name="minimumSize">
747 <property name="maximumSize">
753 <property name="text">
756 <property name="icon">
757 <iconset resource="../../resources/resources.qrc">
758 <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
760 <property name="flat">
766 <spacer name="chorizontalSpacer_4">
767 <property name="orientation">
768 <enum>Qt::Horizontal</enum>
770 <property name="sizeHint" stdset="0">
779 <widget class="QPushButton" name="volumeButton">
780 <property name="sizePolicy">
781 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
782 <horstretch>0</horstretch>
783 <verstretch>0</verstretch>
786 <property name="minimumSize">
792 <property name="text">
795 <property name="icon">
796 <iconset resource="../../resources/resources.qrc">
797 <normaloff>:/icons/white/volume.png</normaloff>:/icons/white/volume.png</iconset>
799 <property name="flat">
807 <widget class="QWidget" name="bottomWidget" native="true">
808 <property name="minimumSize">
814 <property name="styleSheet">
815 <string notr="true">background:qlineargradient(spread:pad, x1:1, y1:1, x2:1, y2:0, stop:0 rgba(38, 38, 38, 255), stop:1 rgba(92, 92, 92, 255))</string>
817 <layout class="QHBoxLayout" name="horizontalLayout_2">
818 <property name="spacing">
821 <property name="margin">
825 <spacer name="bhorizontalSpacer_0">
826 <property name="orientation">
827 <enum>Qt::Horizontal</enum>
829 <property name="sizeHint" stdset="0">
838 <spacer name="bhorizontalSpacer_1">
839 <property name="orientation">
840 <enum>Qt::Horizontal</enum>
842 <property name="sizeHint" stdset="0">
851 <spacer name="bhorizontalSpacer_2">
852 <property name="orientation">
853 <enum>Qt::Horizontal</enum>
855 <property name="sizeHint" stdset="0">
864 <spacer name="bhorizontalSpacer_3">
865 <property name="orientation">
866 <enum>Qt::Horizontal</enum>
868 <property name="sizeHint" stdset="0">
882 <include location="../../resources/resources.qrc"/>