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="QVBoxLayout" name="verticalLayout_2">
219 <layout class="QHBoxLayout" name="horizontalLayout_5">
221 <spacer name="horizontalSpacer_2">
222 <property name="orientation">
223 <enum>Qt::Horizontal</enum>
225 <property name="sizeHint" stdset="0">
234 <widget class="QLabel" name="countLabel">
235 <property name="text">
238 <property name="alignment">
239 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
246 <spacer name="verticalSpacer">
247 <property name="orientation">
248 <enum>Qt::Vertical</enum>
250 <property name="sizeHint" stdset="0">
259 <widget class="QLabel" name="titleLabel">
260 <property name="text">
261 <string><h3>Title</h3></string>
263 <property name="alignment">
264 <set>Qt::AlignCenter</set>
269 <spacer name="verticalSpacer_2">
270 <property name="orientation">
271 <enum>Qt::Vertical</enum>
273 <property name="sizeHint" stdset="0">
282 <layout class="QHBoxLayout" name="progressLayout">
284 <widget class="QLabel" name="doneTimeLabel">
285 <property name="text">
286 <string>00:00</string>
291 <widget class="QSlider" name="seekSlider">
292 <property name="orientation">
293 <enum>Qt::Horizontal</enum>
298 <spacer name="seekSpacer">
299 <property name="orientation">
300 <enum>Qt::Horizontal</enum>
302 <property name="sizeHint" stdset="0">
311 <widget class="QLabel" name="allTimeLabel">
312 <property name="text">
313 <string>00:00</string>
320 <widget class="QWidget" name="progressWidget" native="true">
321 <layout class="QVBoxLayout" name="verticalLayout_3">
322 <property name="spacing">
325 <property name="margin">
332 <spacer name="verticalSpacer_3">
333 <property name="orientation">
334 <enum>Qt::Vertical</enum>
336 <property name="sizeHint" stdset="0">
345 <widget class="QLabel" name="artistAlbumLabel">
346 <property name="text">
347 <string><b>Artist</b><br/>album</string>
349 <property name="alignment">
350 <set>Qt::AlignCenter</set>
355 <spacer name="verticalSpacer_4">
356 <property name="orientation">
357 <enum>Qt::Vertical</enum>
359 <property name="sizeHint" stdset="0">
377 <layout class="QHBoxLayout" name="bhorizontalLayout">
378 <property name="spacing">
382 <widget class="QPushButton" name="libraryButton">
383 <property name="sizePolicy">
384 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
385 <horstretch>0</horstretch>
386 <verstretch>0</verstretch>
389 <property name="minimumSize">
395 <property name="maximumSize">
401 <property name="text">
404 <property name="icon">
406 <normaloff>:/icons/white/library.png</normaloff>:/icons/white/library.png</iconset>
408 <property name="flat">
414 <spacer name="chorizontalSpacer_0">
415 <property name="orientation">
416 <enum>Qt::Horizontal</enum>
418 <property name="sizeHint" stdset="0">
427 <widget class="QPushButton" name="viewButton">
428 <property name="sizePolicy">
429 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
430 <horstretch>0</horstretch>
431 <verstretch>0</verstretch>
434 <property name="minimumSize">
440 <property name="maximumSize">
446 <property name="text">
449 <property name="icon">
451 <normaloff>:/icons/white/playlist.png</normaloff>:/icons/white/playlist.png</iconset>
453 <property name="checkable">
456 <property name="flat">
462 <spacer name="chorizontalSpacer_1">
463 <property name="orientation">
464 <enum>Qt::Horizontal</enum>
466 <property name="sizeHint" stdset="0">
475 <widget class="QPushButton" name="repeatButton">
476 <property name="sizePolicy">
477 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
478 <horstretch>0</horstretch>
479 <verstretch>0</verstretch>
482 <property name="minimumSize">
488 <property name="maximumSize">
494 <property name="text">
497 <property name="icon">
499 <normaloff>:/icons/white/repeat_off.png</normaloff>:/icons/white/repeat_off.png</iconset>
501 <property name="iconSize">
507 <property name="checkable">
510 <property name="flat">
516 <widget class="QPushButton" name="randomButton">
517 <property name="sizePolicy">
518 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
519 <horstretch>0</horstretch>
520 <verstretch>0</verstretch>
523 <property name="minimumSize">
529 <property name="maximumSize">
535 <property name="text">
538 <property name="icon">
540 <normaloff>:/icons/white/random_off.png</normaloff>:/icons/white/random_off.png</iconset>
542 <property name="iconSize">
548 <property name="checkable">
551 <property name="flat">
557 <spacer name="chorizontalSpacer_2">
558 <property name="orientation">
559 <enum>Qt::Horizontal</enum>
561 <property name="sizeHint" stdset="0">
570 <widget class="QPushButton" name="prevButton">
571 <property name="sizePolicy">
572 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
573 <horstretch>0</horstretch>
574 <verstretch>0</verstretch>
577 <property name="minimumSize">
583 <property name="maximumSize">
589 <property name="text">
592 <property name="icon">
594 <normaloff>:/icons/white/prev.png</normaloff>:/icons/white/prev.png</iconset>
596 <property name="flat">
602 <widget class="QPushButton" name="playpauseButton">
603 <property name="sizePolicy">
604 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
605 <horstretch>0</horstretch>
606 <verstretch>0</verstretch>
609 <property name="minimumSize">
615 <property name="maximumSize">
621 <property name="text">
624 <property name="icon">
626 <normaloff>:/icons/white/play.png</normaloff>:/icons/white/play.png</iconset>
628 <property name="flat">
634 <widget class="QPushButton" name="nextButton">
635 <property name="sizePolicy">
636 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
637 <horstretch>0</horstretch>
638 <verstretch>0</verstretch>
641 <property name="minimumSize">
647 <property name="maximumSize">
653 <property name="text">
656 <property name="icon">
658 <normaloff>:/icons/white/next.png</normaloff>:/icons/white/next.png</iconset>
660 <property name="flat">
666 <widget class="QPushButton" name="stopButton">
667 <property name="sizePolicy">
668 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
669 <horstretch>0</horstretch>
670 <verstretch>0</verstretch>
673 <property name="minimumSize">
679 <property name="maximumSize">
685 <property name="text">
688 <property name="icon">
690 <normaloff>:/icons/white/stop.png</normaloff>:/icons/white/stop.png</iconset>
692 <property name="flat">
698 <spacer name="chorizontalSpacer_3">
699 <property name="orientation">
700 <enum>Qt::Horizontal</enum>
702 <property name="sizeHint" stdset="0">
711 <widget class="QPushButton" name="moreButton">
712 <property name="sizePolicy">
713 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
714 <horstretch>0</horstretch>
715 <verstretch>0</verstretch>
718 <property name="minimumSize">
724 <property name="maximumSize">
730 <property name="text">
733 <property name="icon">
735 <normaloff>:/icons/white/more.png</normaloff>:/icons/white/more.png</iconset>
737 <property name="flat">
743 <spacer name="chorizontalSpacer_4">
744 <property name="orientation">
745 <enum>Qt::Horizontal</enum>
747 <property name="sizeHint" stdset="0">
756 <widget class="QPushButton" name="dirButton">
757 <property name="sizePolicy">
758 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
759 <horstretch>0</horstretch>
760 <verstretch>0</verstretch>
763 <property name="minimumSize">
769 <property name="text">
772 <property name="icon">
774 <normaloff>:/icons/white/directory.png</normaloff>:/icons/white/directory.png</iconset>
776 <property name="flat">
784 <widget class="QWidget" name="bottomWidget" native="true">
785 <property name="minimumSize">
791 <property name="styleSheet">
792 <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>
794 <layout class="QHBoxLayout" name="horizontalLayout_2">
795 <property name="spacing">
798 <property name="margin">
802 <spacer name="bhorizontalSpacer_0">
803 <property name="orientation">
804 <enum>Qt::Horizontal</enum>
806 <property name="sizeHint" stdset="0">
815 <spacer name="bhorizontalSpacer_1">
816 <property name="orientation">
817 <enum>Qt::Horizontal</enum>
819 <property name="sizeHint" stdset="0">
828 <spacer name="bhorizontalSpacer_2">
829 <property name="orientation">
830 <enum>Qt::Horizontal</enum>
832 <property name="sizeHint" stdset="0">
841 <spacer name="bhorizontalSpacer_3">
842 <property name="orientation">
843 <enum>Qt::Horizontal</enum>
845 <property name="sizeHint" stdset="0">