PageRenderTime 125ms CodeModel.GetById 80ms app.highlight 6ms RepoModel.GetById 35ms app.codeStats 0ms

/src/audiocontrols.ui

http://github.com/tomahawk-player/tomahawk
Unknown | 610 lines | 610 code | 0 blank | 0 comment | 0 complexity | 0b64ef1406a8805b2e495528c53ae84d MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>AudioControls</class>
  4 <widget class="QWidget" name="AudioControls">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>929</width>
 10    <height>80</height>
 11   </rect>
 12  </property>
 13  <property name="sizePolicy">
 14   <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
 15    <horstretch>0</horstretch>
 16    <verstretch>0</verstretch>
 17   </sizepolicy>
 18  </property>
 19  <property name="minimumSize">
 20   <size>
 21    <width>0</width>
 22    <height>80</height>
 23   </size>
 24  </property>
 25  <property name="maximumSize">
 26   <size>
 27    <width>16777215</width>
 28    <height>80</height>
 29   </size>
 30  </property>
 31  <layout class="QHBoxLayout" name="horizontalLayout_4">
 32   <property name="topMargin">
 33    <number>0</number>
 34   </property>
 35   <property name="bottomMargin">
 36    <number>0</number>
 37   </property>
 38   <item>
 39    <widget class="QWidget" name="buttonArea" native="true">
 40     <property name="sizePolicy">
 41      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
 42       <horstretch>0</horstretch>
 43       <verstretch>0</verstretch>
 44      </sizepolicy>
 45     </property>
 46     <property name="minimumSize">
 47      <size>
 48       <width>254</width>
 49       <height>0</height>
 50      </size>
 51     </property>
 52     <property name="maximumSize">
 53      <size>
 54       <width>254</width>
 55       <height>16777215</height>
 56      </size>
 57     </property>
 58     <layout class="QHBoxLayout" name="buttonAreaLayout">
 59      <item>
 60       <spacer name="horizontalSpacer_2">
 61        <property name="orientation">
 62         <enum>Qt::Horizontal</enum>
 63        </property>
 64        <property name="sizeHint" stdset="0">
 65         <size>
 66          <width>40</width>
 67          <height>20</height>
 68         </size>
 69        </property>
 70       </spacer>
 71      </item>
 72      <item>
 73       <widget class="ImageButton" name="prevButton">
 74        <property name="text">
 75         <string>Prev</string>
 76        </property>
 77       </widget>
 78      </item>
 79      <item>
 80       <layout class="QStackedLayout" name="stackedLayout">
 81        <property name="spacing">
 82         <number>0</number>
 83        </property>
 84        <item>
 85         <widget class="ImageButton" name="playPauseButton">
 86          <property name="text">
 87           <string>Play</string>
 88          </property>
 89         </widget>
 90        </item>
 91        <item>
 92         <widget class="ImageButton" name="pauseButton">
 93          <property name="text">
 94           <string>Pause</string>
 95          </property>
 96         </widget>
 97        </item>
 98       </layout>
 99      </item>
100      <item>
101       <widget class="ImageButton" name="nextButton">
102        <property name="text">
103         <string>Next</string>
104        </property>
105       </widget>
106      </item>
107      <item>
108       <spacer name="horizontalSpacer">
109        <property name="orientation">
110         <enum>Qt::Horizontal</enum>
111        </property>
112        <property name="sizeHint" stdset="0">
113         <size>
114          <width>40</width>
115          <height>20</height>
116         </size>
117        </property>
118       </spacer>
119      </item>
120     </layout>
121    </widget>
122   </item>
123   <item>
124    <widget class="QWidget" name="metaDataArea" native="true">
125     <property name="maximumSize">
126      <size>
127       <width>16777215</width>
128       <height>74</height>
129      </size>
130     </property>
131     <layout class="QHBoxLayout" name="horizontalLayout_3">
132      <property name="leftMargin">
133       <number>10</number>
134      </property>
135      <property name="topMargin">
136       <number>0</number>
137      </property>
138      <property name="rightMargin">
139       <number>12</number>
140      </property>
141      <property name="bottomMargin">
142       <number>0</number>
143      </property>
144      <item>
145       <widget class="FadingPixmap" name="coverImage">
146        <property name="sizePolicy">
147         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
148          <horstretch>0</horstretch>
149          <verstretch>0</verstretch>
150         </sizepolicy>
151        </property>
152        <property name="minimumSize">
153         <size>
154          <width>60</width>
155          <height>60</height>
156         </size>
157        </property>
158        <property name="maximumSize">
159         <size>
160          <width>60</width>
161          <height>60</height>
162         </size>
163        </property>
164        <property name="alignment">
165         <set>Qt::AlignCenter</set>
166        </property>
167       </widget>
168      </item>
169      <item>
170       <layout class="QVBoxLayout" name="verticalLayout">
171        <property name="leftMargin">
172         <number>4</number>
173        </property>
174        <property name="topMargin">
175         <number>6</number>
176        </property>
177        <property name="bottomMargin">
178         <number>2</number>
179        </property>
180        <property name="rightMargin">
181         <number>0</number>
182        </property>
183        <item>
184         <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0,0">
185          <property name="topMargin">
186           <number>0</number>
187          </property>
188          <property name="bottomMargin">
189           <number>0</number>
190          </property>
191          <property name="leftMargin">
192           <number>0</number>
193          </property>
194          <property name="rightMargin">
195           <number>0</number>
196          </property>
197          <item>
198           <layout class="QVBoxLayout" name="trackLabelLayout">
199            <property name="topMargin">
200             <number>0</number>
201            </property>
202            <property name="bottomMargin">
203             <number>0</number>
204            </property>
205            <property name="leftMargin">
206             <number>0</number>
207            </property>
208            <property name="rightMargin">
209             <number>0</number>
210            </property>
211            <property name="spacing">
212             <number>3</number>
213            </property>
214            <item>
215             <widget class="QueryLabel" name="artistTrackLabel">
216              <property name="sizePolicy">
217               <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
218                <horstretch>0</horstretch>
219                <verstretch>0</verstretch>
220               </sizepolicy>
221              </property>
222              <property name="minimumSize">
223               <size>
224                <width>0</width>
225                <height>16</height>
226               </size>
227              </property>
228              <property name="text">
229               <string>Artist</string>
230              </property>
231             </widget>
232            </item>
233            <item>
234             <widget class="QueryLabel" name="albumLabel">
235              <property name="sizePolicy">
236               <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
237                <horstretch>0</horstretch>
238                <verstretch>0</verstretch>
239               </sizepolicy>
240              </property>
241              <property name="minimumSize">
242               <size>
243                <width>0</width>
244                <height>16</height>
245               </size>
246              </property>
247              <property name="text">
248               <string>Album</string>
249              </property>
250             </widget>
251            </item>
252           </layout>
253          </item>
254          <item>
255           <spacer name="horizontalSpacer_3">
256            <property name="orientation">
257             <enum>Qt::Horizontal</enum>
258            </property>
259            <property name="sizeHint" stdset="0">
260             <size>
261              <width>4</width>
262              <height>8</height>
263             </size>
264            </property>
265           </spacer>
266          </item>
267          <item>
268           <layout class="QVBoxLayout" name="verticalLayout_2">
269            <item>
270             <layout class="QHBoxLayout" name="socialLayout">
271              <item>
272               <spacer name="socialSpacer">
273                <property name="orientation">
274                 <enum>Qt::Horizontal</enum>
275                </property>
276                <property name="sizeHint" stdset="0">
277                 <size>
278                  <width>20</width>
279                  <height>1</height>
280                 </size>
281                </property>
282               </spacer>
283              </item>
284              <item>
285               <widget class="ImageButton" name="socialButton">
286                <property name="sizePolicy">
287                 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
288                  <horstretch>0</horstretch>
289                  <verstretch>0</verstretch>
290                 </sizepolicy>
291                </property>
292                <property name="cursor">
293                 <cursorShape>PointingHandCursor</cursorShape>
294                </property>
295                <property name="text">
296                 <string>social</string>
297                </property>
298               </widget>
299              </item>
300              <item>
301               <widget class="ImageButton" name="loveButton">
302                <property name="sizePolicy">
303                 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
304                  <horstretch>0</horstretch>
305                  <verstretch>0</verstretch>
306                 </sizepolicy>
307                </property>
308                <property name="cursor">
309                 <cursorShape>PointingHandCursor</cursorShape>
310                </property>
311                <property name="text">
312                 <string>love</string>
313                </property>
314               </widget>
315              </item>
316             </layout>
317            </item>
318            <item>
319             <spacer name="verticalSpacer_2">
320              <property name="orientation">
321               <enum>Qt::Vertical</enum>
322              </property>
323              <property name="sizeHint" stdset="0">
324               <size>
325                <width>20</width>
326                <height>1</height>
327               </size>
328              </property>
329             </spacer>
330            </item>
331           </layout>    
332          </item>
333          <item>
334           <widget class="ImageButton" name="ownerButton">
335            <property name="sizePolicy">
336             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
337              <horstretch>0</horstretch>
338              <verstretch>0</verstretch>
339             </sizepolicy>
340            </property>
341            <property name="cursor">
342             <cursorShape>PointingHandCursor</cursorShape>
343            </property>
344            <property name="text">
345             <string>resolver</string>
346            </property>
347           </widget>
348          </item>
349         </layout>
350        </item>
351        <item>
352         <spacer name="verticalSpacer">
353          <property name="orientation">
354           <enum>Qt::Vertical</enum>
355          </property>
356          <property name="sizeHint" stdset="0">
357           <size>
358            <width>20</width>
359            <height>4</height>
360           </size>
361          </property>
362         </spacer>
363        </item>
364        <item>
365         <layout class="QHBoxLayout" name="horizontalLayout">
366          <property name="leftMargin">
367           <number>4</number>
368          </property>
369          <property name="rightMargin">
370           <number>0</number>
371          </property>
372          <property name="topMargin">
373           <number>0</number>
374          </property>
375          <property name="bottomMargin">
376           <number>0</number>
377          </property>
378          <item>
379           <widget class="QLabel" name="timeLabel">
380            <property name="text">
381             <string>Time</string>
382            </property>
383            <property name="alignment">
384             <set>Qt::AlignLeft|Qt::AlignVCenter</set>
385            </property>
386           </widget>
387          </item>
388          <item>
389           <widget class="SeekSlider" name="seekSlider">
390            <property name="minimumSize">
391             <size>
392              <width>0</width>
393              <height>20</height>
394             </size>
395            </property>
396            <property name="maximumSize">
397             <size>
398              <width>16777215</width>
399              <height>20</height>
400             </size>
401            </property>
402            <property name="orientation">
403             <enum>Qt::Horizontal</enum>
404            </property>
405           </widget>
406          </item>
407          <item>
408           <widget class="QLabel" name="timeLeftLabel">
409            <property name="text">
410             <string>Time Left</string>
411            </property>
412            <property name="alignment">
413             <set>Qt::AlignRight|Qt::AlignVCenter</set>
414            </property>
415           </widget>
416          </item>
417         </layout>
418        </item>
419       </layout>
420      </item>
421     </layout>
422    </widget>
423   </item>
424   <item>
425    <widget class="QWidget" name="widget_4" native="true">
426     <property name="sizePolicy">
427      <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
428       <horstretch>0</horstretch>
429       <verstretch>0</verstretch>
430      </sizepolicy>
431     </property>
432     <property name="minimumSize">
433      <size>
434       <width>200</width>
435       <height>0</height>
436      </size>
437     </property>
438     <property name="maximumSize">
439      <size>
440       <width>200</width>
441       <height>66</height>
442      </size>
443     </property>
444     <layout class="QVBoxLayout" name="verticalLayout_3">
445      <property name="spacing">
446       <number>2</number>
447      </property>
448      <property name="topMargin">
449       <number>0</number>
450      </property>
451      <property name="rightMargin">
452       <number>2</number>
453      </property>
454      <property name="leftMargin">
455       <number>0</number>
456      </property>
457      <property name="bottomMargin">
458       <number>0</number>
459      </property>
460      <item>
461       <widget class="QWidget" name="widget_6" native="true">
462        <layout class="QHBoxLayout" name="horizontalLayout_7">
463         <property name="spacing">
464          <number>2</number>
465         </property>
466         <property name="margin">
467          <number>2</number>
468         </property>
469         <item>
470          <spacer name="horizontalSpacer_6">
471           <property name="orientation">
472            <enum>Qt::Horizontal</enum>
473           </property>
474           <property name="sizeHint" stdset="0">
475            <size>
476             <width>40</width>
477             <height>20</height>
478            </size>
479           </property>
480          </spacer>
481         </item>
482         <item>
483          <widget class="ImageButton" name="shuffleButton">
484           <property name="sizePolicy">
485            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
486             <horstretch>0</horstretch>
487             <verstretch>0</verstretch>
488            </sizepolicy>
489           </property>
490           <property name="text">
491            <string>Shuffle</string>
492           </property>
493          </widget>
494         </item>
495         <item>
496          <widget class="ImageButton" name="repeatButton">
497           <property name="sizePolicy">
498            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
499             <horstretch>0</horstretch>
500             <verstretch>0</verstretch>
501            </sizepolicy>
502           </property>
503           <property name="text">
504            <string>Repeat</string>
505           </property>
506          </widget>
507         </item>
508         <item>
509          <spacer name="horizontalSpacer_7">
510           <property name="orientation">
511            <enum>Qt::Horizontal</enum>
512           </property>
513           <property name="sizeHint" stdset="0">
514            <size>
515             <width>40</width>
516             <height>20</height>
517            </size>
518           </property>
519          </spacer>
520         </item>
521        </layout>
522       </widget>
523      </item>
524      <item>
525       <widget class="QWidget" name="widget_5" native="true">
526        <layout class="QHBoxLayout" name="horizontalLayout_6">
527         <property name="spacing">
528          <number>2</number>
529         </property>
530         <property name="margin">
531          <number>2</number>
532         </property>
533         <item>
534          <widget class="ImageButton" name="volumeLowButton">
535           <property name="sizePolicy">
536            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
537             <horstretch>0</horstretch>
538             <verstretch>0</verstretch>
539            </sizepolicy>
540           </property>
541           <property name="text">
542            <string>Low</string>
543           </property>
544          </widget>
545         </item>
546         <item>
547          <widget class="SeekSlider" name="volumeSlider">
548           <property name="minimumSize">
549            <size>
550             <width>0</width>
551             <height>20</height>
552            </size>
553           </property>
554           <property name="maximumSize">
555            <size>
556             <width>16777215</width>
557             <height>20</height>
558            </size>
559           </property>
560           <property name="orientation">
561            <enum>Qt::Horizontal</enum>
562           </property>
563          </widget>
564         </item>
565         <item>
566          <widget class="ImageButton" name="volumeHighButton">
567           <property name="sizePolicy">
568            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
569             <horstretch>0</horstretch>
570             <verstretch>0</verstretch>
571            </sizepolicy>
572           </property>
573           <property name="text">
574            <string>High</string>
575           </property>
576          </widget>
577         </item>
578        </layout>
579       </widget>
580      </item>
581     </layout>
582    </widget>
583   </item>
584  </layout>
585 </widget>
586 <customwidgets>
587  <customwidget>
588   <class>SeekSlider</class>
589   <extends>QSlider</extends>
590   <header location="global">widgets/SeekSlider.h</header>
591  </customwidget>
592  <customwidget>
593   <class>ImageButton</class>
594   <extends>QPushButton</extends>
595   <header>widgets/ImageButton.h</header>
596  </customwidget>
597  <customwidget>
598   <class>QueryLabel</class>
599   <extends>QLabel</extends>
600   <header>widgets/QueryLabel.h</header>
601  </customwidget>
602  <customwidget>
603   <class>FadingPixmap</class>
604   <extends>QLabel</extends>
605   <header>widgets/FadingPixmap.h</header>
606  </customwidget>
607 </customwidgets>
608 <resources/>
609 <connections/>
610</ui>