f85698d710135279996632b240f45f7286a5df20
[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    <item>
18     <widget class="QStackedWidget" name="stackedWidget">
19      <property name="currentIndex">
20       <number>1</number>
21      </property>
22      <widget class="QWidget" name="page">
23       <layout class="QVBoxLayout" name="verticalLayout_4">
24        <property name="spacing">
25         <number>0</number>
26        </property>
27        <property name="margin">
28         <number>0</number>
29        </property>
30        <item>
31         <widget class="QListView" name="playlistView">
32          <property name="contextMenuPolicy">
33           <enum>Qt::CustomContextMenu</enum>
34          </property>
35          <property name="editTriggers">
36           <set>QAbstractItemView::NoEditTriggers</set>
37          </property>
38          <property name="textElideMode">
39           <enum>Qt::ElideLeft</enum>
40          </property>
41          <property name="uniformItemSizes">
42           <bool>true</bool>
43          </property>
44          <property name="wordWrap">
45           <bool>true</bool>
46          </property>
47         </widget>
48        </item>
49       </layout>
50      </widget>
51      <widget class="QWidget" name="page_2">
52       <layout class="QGridLayout" name="gridLayout">
53        <item row="0" column="0">
54         <widget class="QWidget" name="widget" native="true">
55          <layout class="QVBoxLayout" name="verticalLayout_2">
56           <item>
57            <layout class="QHBoxLayout" name="horizontalLayout_5">
58             <item>
59              <spacer name="horizontalSpacer_2">
60               <property name="orientation">
61                <enum>Qt::Horizontal</enum>
62               </property>
63               <property name="sizeHint" stdset="0">
64                <size>
65                 <width>40</width>
66                 <height>20</height>
67                </size>
68               </property>
69              </spacer>
70             </item>
71             <item>
72              <widget class="QLabel" name="countLabel">
73               <property name="text">
74                <string>0/0</string>
75               </property>
76               <property name="alignment">
77                <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
78               </property>
79              </widget>
80             </item>
81            </layout>
82           </item>
83           <item>
84            <widget class="QLabel" name="titleLabel">
85             <property name="text">
86              <string>&lt;h3&gt;Title&lt;/h3&gt;</string>
87             </property>
88             <property name="alignment">
89              <set>Qt::AlignCenter</set>
90             </property>
91            </widget>
92           </item>
93           <item>
94            <layout class="QHBoxLayout" name="progressLayout">
95             <item>
96              <widget class="QLabel" name="doneTimeLabel">
97               <property name="text">
98                <string>00:00</string>
99               </property>
100              </widget>
101             </item>
102             <item>
103              <widget class="QLabel" name="allTimeLabel">
104               <property name="text">
105                <string>00:00</string>
106               </property>
107              </widget>
108             </item>
109            </layout>
110           </item>
111           <item>
112            <widget class="QLabel" name="artistAlbumLabel">
113             <property name="text">
114              <string>&lt;b&gt;Artist&lt;/b&gt;&lt;br/&gt;album</string>
115             </property>
116             <property name="alignment">
117              <set>Qt::AlignCenter</set>
118             </property>
119            </widget>
120           </item>
121          </layout>
122         </widget>
123        </item>
124       </layout>
125      </widget>
126     </widget>
127    </item>
128    <item>
129     <layout class="QHBoxLayout" name="horizontalLayout">
130      <property name="spacing">
131       <number>0</number>
132      </property>
133      <item>
134       <widget class="QPushButton" name="libraryButton">
135        <property name="sizePolicy">
136         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
137          <horstretch>0</horstretch>
138          <verstretch>0</verstretch>
139         </sizepolicy>
140        </property>
141        <property name="minimumSize">
142         <size>
143          <width>70</width>
144          <height>70</height>
145         </size>
146        </property>
147        <property name="maximumSize">
148         <size>
149          <width>70</width>
150          <height>70</height>
151         </size>
152        </property>
153        <property name="text">
154         <string/>
155        </property>
156        <property name="icon">
157         <iconset resource="../../resources/resources.qrc">
158          <normaloff>:/icons/library.png</normaloff>:/icons/library.png</iconset>
159        </property>
160        <property name="flat">
161         <bool>true</bool>
162        </property>
163       </widget>
164      </item>
165      <item>
166       <spacer name="horizontalSpacer">
167        <property name="orientation">
168         <enum>Qt::Horizontal</enum>
169        </property>
170        <property name="sizeHint" stdset="0">
171         <size>
172          <width>40</width>
173          <height>20</height>
174         </size>
175        </property>
176       </spacer>
177      </item>
178      <item>
179       <widget class="QPushButton" name="viewButton">
180        <property name="sizePolicy">
181         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
182          <horstretch>0</horstretch>
183          <verstretch>0</verstretch>
184         </sizepolicy>
185        </property>
186        <property name="minimumSize">
187         <size>
188          <width>70</width>
189          <height>70</height>
190         </size>
191        </property>
192        <property name="maximumSize">
193         <size>
194          <width>70</width>
195          <height>70</height>
196         </size>
197        </property>
198        <property name="text">
199         <string/>
200        </property>
201        <property name="icon">
202         <iconset resource="../../resources/resources.qrc">
203          <normaloff>:/icons/playlist.png</normaloff>:/icons/playlist.png</iconset>
204        </property>
205        <property name="checkable">
206         <bool>false</bool>
207        </property>
208        <property name="flat">
209         <bool>true</bool>
210        </property>
211       </widget>
212      </item>
213      <item>
214       <spacer name="horizontalSpacer_3">
215        <property name="orientation">
216         <enum>Qt::Horizontal</enum>
217        </property>
218        <property name="sizeHint" stdset="0">
219         <size>
220          <width>40</width>
221          <height>20</height>
222         </size>
223        </property>
224       </spacer>
225      </item>
226      <item>
227       <widget class="QPushButton" name="randomButton">
228        <property name="sizePolicy">
229         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
230          <horstretch>0</horstretch>
231          <verstretch>0</verstretch>
232         </sizepolicy>
233        </property>
234        <property name="minimumSize">
235         <size>
236          <width>70</width>
237          <height>70</height>
238         </size>
239        </property>
240        <property name="maximumSize">
241         <size>
242          <width>70</width>
243          <height>70</height>
244         </size>
245        </property>
246        <property name="text">
247         <string/>
248        </property>
249        <property name="icon">
250         <iconset resource="../../resources/resources.qrc">
251          <normaloff>:/icons/random_inactive.png</normaloff>:/icons/random_inactive.png</iconset>
252        </property>
253        <property name="iconSize">
254         <size>
255          <width>48</width>
256          <height>48</height>
257         </size>
258        </property>
259        <property name="checkable">
260         <bool>false</bool>
261        </property>
262        <property name="flat">
263         <bool>true</bool>
264        </property>
265       </widget>
266      </item>
267      <item>
268       <widget class="QPushButton" name="repeatButton">
269        <property name="sizePolicy">
270         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
271          <horstretch>0</horstretch>
272          <verstretch>0</verstretch>
273         </sizepolicy>
274        </property>
275        <property name="minimumSize">
276         <size>
277          <width>70</width>
278          <height>70</height>
279         </size>
280        </property>
281        <property name="maximumSize">
282         <size>
283          <width>70</width>
284          <height>70</height>
285         </size>
286        </property>
287        <property name="text">
288         <string/>
289        </property>
290        <property name="icon">
291         <iconset resource="../../resources/resources.qrc">
292          <normaloff>:/icons/repeat_inactive.png</normaloff>:/icons/repeat_inactive.png</iconset>
293        </property>
294        <property name="iconSize">
295         <size>
296          <width>48</width>
297          <height>58</height>
298         </size>
299        </property>
300        <property name="checkable">
301         <bool>false</bool>
302        </property>
303        <property name="flat">
304         <bool>true</bool>
305        </property>
306       </widget>
307      </item>
308      <item>
309       <spacer name="horizontalSpacer_4">
310        <property name="orientation">
311         <enum>Qt::Horizontal</enum>
312        </property>
313        <property name="sizeHint" stdset="0">
314         <size>
315          <width>40</width>
316          <height>20</height>
317         </size>
318        </property>
319       </spacer>
320      </item>
321      <item>
322       <widget class="QPushButton" name="prevButton">
323        <property name="sizePolicy">
324         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
325          <horstretch>0</horstretch>
326          <verstretch>0</verstretch>
327         </sizepolicy>
328        </property>
329        <property name="minimumSize">
330         <size>
331          <width>70</width>
332          <height>70</height>
333         </size>
334        </property>
335        <property name="maximumSize">
336         <size>
337          <width>70</width>
338          <height>70</height>
339         </size>
340        </property>
341        <property name="text">
342         <string/>
343        </property>
344        <property name="icon">
345         <iconset resource="../../resources/resources.qrc">
346          <normaloff>:/icons/prev.png</normaloff>:/icons/prev.png</iconset>
347        </property>
348        <property name="flat">
349         <bool>true</bool>
350        </property>
351       </widget>
352      </item>
353      <item>
354       <widget class="QPushButton" name="playpauseButton">
355        <property name="sizePolicy">
356         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
357          <horstretch>0</horstretch>
358          <verstretch>0</verstretch>
359         </sizepolicy>
360        </property>
361        <property name="minimumSize">
362         <size>
363          <width>70</width>
364          <height>70</height>
365         </size>
366        </property>
367        <property name="maximumSize">
368         <size>
369          <width>70</width>
370          <height>70</height>
371         </size>
372        </property>
373        <property name="text">
374         <string/>
375        </property>
376        <property name="icon">
377         <iconset resource="../../resources/resources.qrc">
378          <normaloff>:/icons/play.png</normaloff>:/icons/play.png</iconset>
379        </property>
380        <property name="flat">
381         <bool>true</bool>
382        </property>
383       </widget>
384      </item>
385      <item>
386       <widget class="QPushButton" name="stopButton">
387        <property name="sizePolicy">
388         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
389          <horstretch>0</horstretch>
390          <verstretch>0</verstretch>
391         </sizepolicy>
392        </property>
393        <property name="minimumSize">
394         <size>
395          <width>70</width>
396          <height>70</height>
397         </size>
398        </property>
399        <property name="maximumSize">
400         <size>
401          <width>70</width>
402          <height>70</height>
403         </size>
404        </property>
405        <property name="text">
406         <string/>
407        </property>
408        <property name="icon">
409         <iconset resource="../../resources/resources.qrc">
410          <normaloff>:/icons/stop.png</normaloff>:/icons/stop.png</iconset>
411        </property>
412        <property name="flat">
413         <bool>true</bool>
414        </property>
415       </widget>
416      </item>
417      <item>
418       <widget class="QPushButton" name="nextButton">
419        <property name="sizePolicy">
420         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
421          <horstretch>0</horstretch>
422          <verstretch>0</verstretch>
423         </sizepolicy>
424        </property>
425        <property name="minimumSize">
426         <size>
427          <width>70</width>
428          <height>70</height>
429         </size>
430        </property>
431        <property name="maximumSize">
432         <size>
433          <width>70</width>
434          <height>70</height>
435         </size>
436        </property>
437        <property name="text">
438         <string/>
439        </property>
440        <property name="icon">
441         <iconset resource="../../resources/resources.qrc">
442          <normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
443        </property>
444        <property name="flat">
445         <bool>true</bool>
446        </property>
447       </widget>
448      </item>
449     </layout>
450    </item>
451   </layout>
452  </widget>
453  <resources>
454   <include location="../../resources/resources.qrc"/>
455  </resources>
456  <connections/>
457 </ui>