Implemented playback.
[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>800</width>
10     <height>480</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="QStackedWidget" name="stackedWidget">
25      <property name="currentIndex">
26       <number>1</number>
27      </property>
28      <widget class="QWidget" name="page">
29       <layout class="QVBoxLayout" name="verticalLayout_4">
30        <property name="spacing">
31         <number>0</number>
32        </property>
33        <property name="margin">
34         <number>0</number>
35        </property>
36        <item>
37         <widget class="QListView" name="playlistView">
38          <property name="editTriggers">
39           <set>QAbstractItemView::NoEditTriggers</set>
40          </property>
41          <property name="textElideMode">
42           <enum>Qt::ElideLeft</enum>
43          </property>
44          <property name="uniformItemSizes">
45           <bool>true</bool>
46          </property>
47          <property name="wordWrap">
48           <bool>true</bool>
49          </property>
50         </widget>
51        </item>
52       </layout>
53      </widget>
54      <widget class="QWidget" name="page_2">
55       <layout class="QGridLayout" name="gridLayout">
56        <item row="0" column="0">
57         <widget class="QWidget" name="widget" native="true">
58          <layout class="QVBoxLayout" name="verticalLayout_2">
59           <item>
60            <layout class="QHBoxLayout" name="horizontalLayout_5">
61             <item>
62              <spacer name="horizontalSpacer_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              <widget class="QLabel" name="countLabel">
76               <property name="text">
77                <string>0/0</string>
78               </property>
79               <property name="alignment">
80                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
81               </property>
82              </widget>
83             </item>
84            </layout>
85           </item>
86           <item>
87            <widget class="QLabel" name="titleLabel">
88             <property name="text">
89              <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
90             </property>
91             <property name="alignment">
92              <set>Qt::AlignCenter</set>
93             </property>
94            </widget>
95           </item>
96           <item>
97            <layout class="QHBoxLayout" name="progressLayout">
98             <item>
99              <widget class="QLabel" name="doneTimeLabel">
100               <property name="text">
101                <string>00:00</string>
102               </property>
103              </widget>
104             </item>
105             <item>
106              <widget class="QLabel" name="allTimeLabel">
107               <property name="text">
108                <string>00:00</string>
109               </property>
110              </widget>
111             </item>
112            </layout>
113           </item>
114           <item>
115            <widget class="QLabel" name="artistAlbumLabel">
116             <property name="text">
117              <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
118 &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
119 p, li { white-space: pre-wrap; }
120 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Droid Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
121 &lt;p style=&quot; margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:large; font-weight:600;&quot;&gt;Artist&lt;/span&gt;&lt;/p&gt;
122 &lt;p style=&quot; margin-top:14px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:large;&quot;&gt;album&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
123             </property>
124             <property name="alignment">
125              <set>Qt::AlignCenter</set>
126             </property>
127            </widget>
128           </item>
129          </layout>
130         </widget>
131        </item>
132       </layout>
133      </widget>
134     </widget>
135    </item>
136    <item>
137     <layout class="QHBoxLayout" name="horizontalLayout">
138      <property name="spacing">
139       <number>0</number>
140      </property>
141      <item>
142       <widget class="QPushButton" name="libraryButton">
143        <property name="minimumSize">
144         <size>
145          <width>0</width>
146          <height>70</height>
147         </size>
148        </property>
149        <property name="maximumSize">
150         <size>
151          <width>16777215</width>
152          <height>70</height>
153         </size>
154        </property>
155        <property name="text">
156         <string>Library</string>
157        </property>
158        <property name="flat">
159         <bool>true</bool>
160        </property>
161       </widget>
162      </item>
163      <item>
164       <spacer name="horizontalSpacer">
165        <property name="orientation">
166         <enum>Qt::Horizontal</enum>
167        </property>
168        <property name="sizeHint" stdset="0">
169         <size>
170          <width>40</width>
171          <height>20</height>
172         </size>
173        </property>
174       </spacer>
175      </item>
176      <item>
177       <widget class="QPushButton" name="viewButton">
178        <property name="sizePolicy">
179         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
180          <horstretch>0</horstretch>
181          <verstretch>0</verstretch>
182         </sizepolicy>
183        </property>
184        <property name="minimumSize">
185         <size>
186          <width>70</width>
187          <height>70</height>
188         </size>
189        </property>
190        <property name="maximumSize">
191         <size>
192          <width>70</width>
193          <height>70</height>
194         </size>
195        </property>
196        <property name="text">
197         <string>^</string>
198        </property>
199        <property name="checkable">
200         <bool>true</bool>
201        </property>
202        <property name="flat">
203         <bool>true</bool>
204        </property>
205       </widget>
206      </item>
207      <item>
208       <spacer name="horizontalSpacer_3">
209        <property name="orientation">
210         <enum>Qt::Horizontal</enum>
211        </property>
212        <property name="sizeHint" stdset="0">
213         <size>
214          <width>40</width>
215          <height>20</height>
216         </size>
217        </property>
218       </spacer>
219      </item>
220      <item>
221       <widget class="QPushButton" name="prevButton">
222        <property name="sizePolicy">
223         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
224          <horstretch>0</horstretch>
225          <verstretch>0</verstretch>
226         </sizepolicy>
227        </property>
228        <property name="minimumSize">
229         <size>
230          <width>70</width>
231          <height>70</height>
232         </size>
233        </property>
234        <property name="maximumSize">
235         <size>
236          <width>70</width>
237          <height>70</height>
238         </size>
239        </property>
240        <property name="text">
241         <string>&lt;|</string>
242        </property>
243        <property name="flat">
244         <bool>true</bool>
245        </property>
246       </widget>
247      </item>
248      <item>
249       <widget class="QPushButton" name="playButton">
250        <property name="sizePolicy">
251         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
252          <horstretch>0</horstretch>
253          <verstretch>0</verstretch>
254         </sizepolicy>
255        </property>
256        <property name="minimumSize">
257         <size>
258          <width>70</width>
259          <height>70</height>
260         </size>
261        </property>
262        <property name="maximumSize">
263         <size>
264          <width>70</width>
265          <height>70</height>
266         </size>
267        </property>
268        <property name="text">
269         <string>&gt;</string>
270        </property>
271        <property name="flat">
272         <bool>true</bool>
273        </property>
274       </widget>
275      </item>
276      <item>
277       <widget class="QPushButton" name="pauseButton">
278        <property name="sizePolicy">
279         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
280          <horstretch>0</horstretch>
281          <verstretch>0</verstretch>
282         </sizepolicy>
283        </property>
284        <property name="minimumSize">
285         <size>
286          <width>70</width>
287          <height>70</height>
288         </size>
289        </property>
290        <property name="maximumSize">
291         <size>
292          <width>70</width>
293          <height>70</height>
294         </size>
295        </property>
296        <property name="text">
297         <string>||</string>
298        </property>
299        <property name="flat">
300         <bool>true</bool>
301        </property>
302       </widget>
303      </item>
304      <item>
305       <widget class="QPushButton" name="stopButton">
306        <property name="sizePolicy">
307         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
308          <horstretch>0</horstretch>
309          <verstretch>0</verstretch>
310         </sizepolicy>
311        </property>
312        <property name="minimumSize">
313         <size>
314          <width>70</width>
315          <height>70</height>
316         </size>
317        </property>
318        <property name="maximumSize">
319         <size>
320          <width>70</width>
321          <height>70</height>
322         </size>
323        </property>
324        <property name="text">
325         <string>[]</string>
326        </property>
327        <property name="flat">
328         <bool>true</bool>
329        </property>
330       </widget>
331      </item>
332      <item>
333       <widget class="QPushButton" name="nextButton">
334        <property name="sizePolicy">
335         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
336          <horstretch>0</horstretch>
337          <verstretch>0</verstretch>
338         </sizepolicy>
339        </property>
340        <property name="minimumSize">
341         <size>
342          <width>70</width>
343          <height>70</height>
344         </size>
345        </property>
346        <property name="maximumSize">
347         <size>
348          <width>70</width>
349          <height>70</height>
350         </size>
351        </property>
352        <property name="text">
353         <string>|&gt;</string>
354        </property>
355        <property name="flat">
356         <bool>true</bool>
357        </property>
358       </widget>
359      </item>
360     </layout>
361    </item>
362   </layout>
363  </widget>
364  <resources/>
365  <connections/>
366 </ui>