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="QWidget" name="countdownWidget" native="true">
117 <layout class="QHBoxLayout" name="horizontalLayout_3">
118 <property name="margin">
122 <widget class="QLabel" name="label">
123 <property name="text">
124 <string>Music off:</string>
126 <property name="alignment">
127 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
132 <widget class="QLabel" name="timeLabel">
133 <property name="text">
134 <string>00:00:00</string>
142 <widget class="QTableView" name="playlistView">
143 <property name="contextMenuPolicy">
144 <enum>Qt::CustomContextMenu</enum>
146 <property name="frameShadow">
147 <enum>QFrame::Sunken</enum>
149 <property name="horizontalScrollBarPolicy">
150 <enum>Qt::ScrollBarAlwaysOff</enum>
152 <property name="autoScroll">
155 <property name="editTriggers">
156 <set>QAbstractItemView::NoEditTriggers</set>
158 <property name="showDropIndicator" stdset="0">
161 <property name="dragEnabled">
164 <property name="dragDropOverwriteMode">
167 <property name="dragDropMode">
168 <enum>QAbstractItemView::NoDragDrop</enum>
170 <property name="selectionMode">
171 <enum>QAbstractItemView::SingleSelection</enum>
173 <property name="selectionBehavior">
174 <enum>QAbstractItemView::SelectRows</enum>
176 <property name="iconSize">
182 <property name="showGrid">
185 <property name="cornerButtonEnabled">
188 <attribute name="horizontalHeaderVisible">
191 <attribute name="horizontalHeaderStretchLastSection">
194 <attribute name="verticalHeaderVisible">
197 <attribute name="verticalHeaderDefaultSectionSize">
200 <attribute name="verticalHeaderMinimumSectionSize">
207 <widget class="QWidget" name="page_2">
208 <layout class="QGridLayout" name="gridLayout">
209 <property name="margin">
212 <property name="spacing">
215 <item row="0" column="0">
216 <widget class="QWidget" name="widget" native="true">
217 <layout class="QGridLayout" name="gridLayout_3">
218 <property name="margin">
221 <property name="spacing">
224 <item row="0" column="0">
225 <layout class="QGridLayout" name="coverLayout">
226 <item row="2" column="1">
227 <widget class="QLabel" name="coverLabel">
228 <property name="sizePolicy">
229 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
230 <horstretch>0</horstretch>
231 <verstretch>0</verstretch>
234 <property name="minimumSize">
240 <property name="maximumSize">
246 <property name="text">
249 <property name="pixmap">
250 <pixmap resource="../../resources/resources.qrc">:/images/defaultcover.png</pixmap>
252 <property name="scaledContents">
255 <property name="indent">
260 <item row="2" column="0">
261 <spacer name="horizontalSpacer">
262 <property name="orientation">
263 <enum>Qt::Horizontal</enum>
265 <property name="sizeHint" stdset="0">
273 <item row="2" column="2">
274 <spacer name="chorizontalSpacer">
275 <property name="orientation">
276 <enum>Qt::Horizontal</enum>
278 <property name="sizeHint" stdset="0">
286 <item row="3" column="1">
287 <spacer name="verticalSpacer_5">
288 <property name="orientation">
289 <enum>Qt::Vertical</enum>
291 <property name="sizeHint" stdset="0">
299 <item row="1" column="1">
300 <spacer name="verticalSpacer_6">
301 <property name="orientation">
302 <enum>Qt::Vertical</enum>
304 <property name="sizeHint" stdset="0">
314 <item row="0" column="1">
315 <layout class="QVBoxLayout" name="controlLayout">
317 <layout class="QHBoxLayout" name="countHLayout">
319 <spacer name="horizontalSpacer_2">
320 <property name="orientation">
321 <enum>Qt::Horizontal</enum>
323 <property name="sizeHint" stdset="0">
332 <widget class="QLabel" name="countLabel">
333 <property name="text">
336 <property name="alignment">
337 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
344 <spacer name="cverticalSpacer_0">
345 <property name="orientation">
346 <enum>Qt::Vertical</enum>
348 <property name="sizeHint" stdset="0">
357 <widget class="QLabel" name="titleLabel">
358 <property name="text">
359 <string><h3>Title</h3></string>
361 <property name="alignment">
362 <set>Qt::AlignCenter</set>
367 <spacer name="cverticalSpacer_1">
368 <property name="orientation">
369 <enum>Qt::Vertical</enum>
371 <property name="sizeHint" stdset="0">
380 <layout class="QHBoxLayout" name="progressLayout">
382 <widget class="QLabel" name="doneTimeLabel">
383 <property name="text">
384 <string>00:00</string>
389 <spacer name="seekSpacer">
390 <property name="orientation">
391 <enum>Qt::Horizontal</enum>
393 <property name="sizeHint" stdset="0">
402 <widget class="QLabel" name="allTimeLabel">
403 <property name="text">
404 <string>00:00</string>
411 <layout class="QHBoxLayout" name="seekLayout">
413 <spacer name="horizontalSpacer_5">
414 <property name="orientation">
415 <enum>Qt::Horizontal</enum>
417 <property name="sizeType">
418 <enum>QSizePolicy::Fixed</enum>
420 <property name="sizeHint" stdset="0">
429 <widget class="QSlider" name="seekSlider">
430 <property name="orientation">
431 <enum>Qt::Horizontal</enum>
436 <spacer name="horizontalSpacer_4">
437 <property name="orientation">
438 <enum>Qt::Horizontal</enum>
440 <property name="sizeType">
441 <enum>QSizePolicy::Fixed</enum>
443 <property name="sizeHint" stdset="0">
454 <spacer name="cverticalSpacer_2">
455 <property name="orientation">
456 <enum>Qt::Vertical</enum>
458 <property name="sizeHint" stdset="0">
467 <widget class="QLabel" name="artistAlbumLabel">
468 <property name="text">
469 <string><b>Artist</b><br/>album</string>
471 <property name="alignment">
472 <set>Qt::AlignCenter</set>
477 <spacer name="cverticalSpacer_3">
478 <property name="orientation">
479 <enum>Qt::Vertical</enum>
481 <property name="sizeHint" stdset="0">
501 <layout class="QHBoxLayout" name="bhorizontalLayout">
502 <property name="spacing">
506 <widget class="QPushButton" name="libraryButton">
507 <property name="sizePolicy">
508 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
509 <horstretch>0</horstretch>
510 <verstretch>0</verstretch>
513 <property name="minimumSize">
519 <property name="maximumSize">
525 <property name="text">
528 <property name="icon">
529 <iconset resource="../../resources/resources.qrc">
530 <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
532 <property name="flat">
538 <spacer name="chorizontalSpacer_0">
539 <property name="orientation">
540 <enum>Qt::Horizontal</enum>
542 <property name="sizeHint" stdset="0">
551 <widget class="QPushButton" name="viewButton">
552 <property name="sizePolicy">
553 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
554 <horstretch>0</horstretch>
555 <verstretch>0</verstretch>
558 <property name="minimumSize">
564 <property name="maximumSize">
570 <property name="text">
573 <property name="icon">
574 <iconset resource="../../resources/resources.qrc">
575 <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
577 <property name="checkable">
580 <property name="flat">
586 <spacer name="chorizontalSpacer_1">
587 <property name="orientation">
588 <enum>Qt::Horizontal</enum>
590 <property name="sizeHint" stdset="0">
599 <widget class="QPushButton" name="repeatButton">
600 <property name="sizePolicy">
601 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
602 <horstretch>0</horstretch>
603 <verstretch>0</verstretch>
606 <property name="minimumSize">
612 <property name="maximumSize">
618 <property name="text">
621 <property name="icon">
622 <iconset resource="../../resources/resources.qrc">
623 <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
625 <property name="iconSize">
631 <property name="checkable">
634 <property name="flat">
640 <widget class="QPushButton" name="randomButton">
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/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
666 <property name="iconSize">
672 <property name="checkable">
675 <property name="flat">
681 <spacer name="chorizontalSpacer_2">
682 <property name="orientation">
683 <enum>Qt::Horizontal</enum>
685 <property name="sizeHint" stdset="0">
694 <widget class="QPushButton" name="prevButton">
695 <property name="sizePolicy">
696 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
697 <horstretch>0</horstretch>
698 <verstretch>0</verstretch>
701 <property name="minimumSize">
707 <property name="maximumSize">
713 <property name="text">
716 <property name="icon">
717 <iconset resource="../../resources/resources.qrc">
718 <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
720 <property name="flat">
726 <widget class="QPushButton" name="playpauseButton">
727 <property name="sizePolicy">
728 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
729 <horstretch>0</horstretch>
730 <verstretch>0</verstretch>
733 <property name="minimumSize">
739 <property name="maximumSize">
745 <property name="text">
748 <property name="icon">
749 <iconset resource="../../resources/resources.qrc">
750 <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
752 <property name="flat">
758 <widget class="QPushButton" name="nextButton">
759 <property name="sizePolicy">
760 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
761 <horstretch>0</horstretch>
762 <verstretch>0</verstretch>
765 <property name="minimumSize">
771 <property name="maximumSize">
777 <property name="text">
780 <property name="icon">
781 <iconset resource="../../resources/resources.qrc">
782 <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
784 <property name="flat">
790 <widget class="QPushButton" name="stopButton">
791 <property name="sizePolicy">
792 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
793 <horstretch>0</horstretch>
794 <verstretch>0</verstretch>
797 <property name="minimumSize">
803 <property name="maximumSize">
809 <property name="text">
812 <property name="icon">
813 <iconset resource="../../resources/resources.qrc">
814 <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
816 <property name="flat">
822 <spacer name="chorizontalSpacer_3">
823 <property name="orientation">
824 <enum>Qt::Horizontal</enum>
826 <property name="sizeHint" stdset="0">
835 <widget class="QPushButton" name="moreButton">
836 <property name="sizePolicy">
837 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
838 <horstretch>0</horstretch>
839 <verstretch>0</verstretch>
842 <property name="minimumSize">
848 <property name="maximumSize">
854 <property name="text">
857 <property name="icon">
858 <iconset resource="../../resources/resources.qrc">
859 <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
861 <property name="flat">
867 <spacer name="chorizontalSpacer_4">
868 <property name="orientation">
869 <enum>Qt::Horizontal</enum>
871 <property name="sizeHint" stdset="0">
880 <widget class="QPushButton" name="dirButton">
881 <property name="sizePolicy">
882 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
883 <horstretch>0</horstretch>
884 <verstretch>0</verstretch>
887 <property name="minimumSize">
893 <property name="text">
896 <property name="icon">
897 <iconset resource="../../resources/resources.qrc">
898 <normaloff>:/icons/white/directory.png</normaloff>:/icons/white/directory.png</iconset>
900 <property name="flat">
908 <widget class="QWidget" name="bottomWidget" native="true">
909 <property name="minimumSize">
915 <property name="styleSheet">
916 <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>
918 <layout class="QHBoxLayout" name="horizontalLayout_2">
919 <property name="spacing">
922 <property name="margin">
926 <spacer name="bhorizontalSpacer_0">
927 <property name="orientation">
928 <enum>Qt::Horizontal</enum>
930 <property name="sizeHint" stdset="0">
939 <spacer name="bhorizontalSpacer_1">
940 <property name="orientation">
941 <enum>Qt::Horizontal</enum>
943 <property name="sizeHint" stdset="0">
952 <spacer name="bhorizontalSpacer_2">
953 <property name="orientation">
954 <enum>Qt::Horizontal</enum>
956 <property name="sizeHint" stdset="0">
965 <spacer name="bhorizontalSpacer_3">
966 <property name="orientation">
967 <enum>Qt::Horizontal</enum>
969 <property name="sizeHint" stdset="0">
983 <include location="../../resources/resources.qrc"/>