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">
351 <layout class="QHBoxLayout" name="bhorizontalLayout">
352 <property name="spacing">
356 <widget class="QPushButton" name="libraryButton">
357 <property name="sizePolicy">
358 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
359 <horstretch>0</horstretch>
360 <verstretch>0</verstretch>
363 <property name="minimumSize">
369 <property name="maximumSize">
375 <property name="text">
378 <property name="icon">
379 <iconset resource="../../resources/resources.qrc">
380 <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
382 <property name="flat">
388 <spacer name="chorizontalSpacer_0">
389 <property name="orientation">
390 <enum>Qt::Horizontal</enum>
392 <property name="sizeHint" stdset="0">
401 <widget class="QPushButton" name="viewButton">
402 <property name="sizePolicy">
403 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
404 <horstretch>0</horstretch>
405 <verstretch>0</verstretch>
408 <property name="minimumSize">
414 <property name="maximumSize">
420 <property name="text">
423 <property name="icon">
424 <iconset resource="../../resources/resources.qrc">
425 <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
427 <property name="checkable">
430 <property name="flat">
436 <spacer name="chorizontalSpacer_1">
437 <property name="orientation">
438 <enum>Qt::Horizontal</enum>
440 <property name="sizeHint" stdset="0">
449 <widget class="QPushButton" name="repeatButton">
450 <property name="sizePolicy">
451 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
452 <horstretch>0</horstretch>
453 <verstretch>0</verstretch>
456 <property name="minimumSize">
462 <property name="maximumSize">
468 <property name="text">
471 <property name="icon">
472 <iconset resource="../../resources/resources.qrc">
473 <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
475 <property name="iconSize">
481 <property name="checkable">
484 <property name="flat">
490 <widget class="QPushButton" name="randomButton">
491 <property name="sizePolicy">
492 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
493 <horstretch>0</horstretch>
494 <verstretch>0</verstretch>
497 <property name="minimumSize">
503 <property name="maximumSize">
509 <property name="text">
512 <property name="icon">
513 <iconset resource="../../resources/resources.qrc">
514 <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
516 <property name="iconSize">
522 <property name="checkable">
525 <property name="flat">
531 <spacer name="chorizontalSpacer_2">
532 <property name="orientation">
533 <enum>Qt::Horizontal</enum>
535 <property name="sizeHint" stdset="0">
544 <widget class="QPushButton" name="prevButton">
545 <property name="sizePolicy">
546 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
547 <horstretch>0</horstretch>
548 <verstretch>0</verstretch>
551 <property name="minimumSize">
557 <property name="maximumSize">
563 <property name="text">
566 <property name="icon">
567 <iconset resource="../../resources/resources.qrc">
568 <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
570 <property name="flat">
576 <widget class="QPushButton" name="playpauseButton">
577 <property name="sizePolicy">
578 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
579 <horstretch>0</horstretch>
580 <verstretch>0</verstretch>
583 <property name="minimumSize">
589 <property name="maximumSize">
595 <property name="text">
598 <property name="icon">
599 <iconset resource="../../resources/resources.qrc">
600 <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
602 <property name="flat">
608 <widget class="QPushButton" name="nextButton">
609 <property name="sizePolicy">
610 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
611 <horstretch>0</horstretch>
612 <verstretch>0</verstretch>
615 <property name="minimumSize">
621 <property name="maximumSize">
627 <property name="text">
630 <property name="icon">
631 <iconset resource="../../resources/resources.qrc">
632 <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
634 <property name="flat">
640 <widget class="QPushButton" name="stopButton">
641 <property name="sizePolicy">
642 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
643 <horstretch>0</horstretch>
644 <verstretch>0</verstretch>
647 <property name="minimumSize">
653 <property name="maximumSize">
659 <property name="text">
662 <property name="icon">
663 <iconset resource="../../resources/resources.qrc">
664 <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
666 <property name="flat">
672 <spacer name="chorizontalSpacer_3">
673 <property name="orientation">
674 <enum>Qt::Horizontal</enum>
676 <property name="sizeHint" stdset="0">
685 <widget class="QPushButton" name="moreButton">
686 <property name="sizePolicy">
687 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
688 <horstretch>0</horstretch>
689 <verstretch>0</verstretch>
692 <property name="minimumSize">
698 <property name="maximumSize">
704 <property name="text">
707 <property name="icon">
708 <iconset resource="../../resources/resources.qrc">
709 <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
711 <property name="flat">
717 <spacer name="chorizontalSpacer_4">
718 <property name="orientation">
719 <enum>Qt::Horizontal</enum>
721 <property name="sizeHint" stdset="0">
730 <widget class="QPushButton" name="dirButton">
731 <property name="sizePolicy">
732 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
733 <horstretch>0</horstretch>
734 <verstretch>0</verstretch>
737 <property name="minimumSize">
743 <property name="text">
746 <property name="icon">
747 <iconset resource="../../resources/resources.qrc">
748 <normaloff>:/icons/white/directory.png</normaloff>:/icons/white/directory.png</iconset>
750 <property name="flat">
758 <widget class="QWidget" name="bottomWidget" native="true">
759 <property name="minimumSize">
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>
768 <layout class="QHBoxLayout" name="horizontalLayout_2">
769 <property name="spacing">
772 <property name="margin">
776 <spacer name="bhorizontalSpacer_0">
777 <property name="orientation">
778 <enum>Qt::Horizontal</enum>
780 <property name="sizeHint" stdset="0">
789 <spacer name="bhorizontalSpacer_1">
790 <property name="orientation">
791 <enum>Qt::Horizontal</enum>
793 <property name="sizeHint" stdset="0">
802 <spacer name="bhorizontalSpacer_2">
803 <property name="orientation">
804 <enum>Qt::Horizontal</enum>
806 <property name="sizeHint" stdset="0">
815 <spacer name="bhorizontalSpacer_3">
816 <property name="orientation">
817 <enum>Qt::Horizontal</enum>
819 <property name="sizeHint" stdset="0">
833 <include location="../../resources/resources.qrc"/>