123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>406</width>
- <height>428</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>M3uPlayer PodCaster</string>
- </property>
- <property name="windowIcon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/projecticon.svg</normaloff>:/icons/projecticon.svg</iconset>
- </property>
- <widget class="QWidget" name="centralwidget">
- <layout class="QVBoxLayout" name="verticalLayout_3" stretch="0,1,0">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout"/>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3" stretch="1,0">
- <item>
- <widget class="QDeclarativeView" name="qmlView"/>
- </item>
- <item>
- <widget class="QGroupBox" name="volumeWidget_2">
- <property name="title">
- <string/>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string/>
- </property>
- <property name="pixmap">
- <pixmap resource="resources.qrc">:/icons/volume.png</pixmap>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSlider" name="volumeSlider">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Ignored" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>1</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Volume</string>
- </property>
- <property name="statusTip">
- <string>Volume</string>
- </property>
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QFrame" name="controlsWidget">
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- <property name="margin">
- <number>1</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>1</number>
- </property>
- <property name="sizeConstraint">
- <enum>QLayout::SetDefaultConstraint</enum>
- </property>
- <item>
- <widget class="QSlider" name="seekSlider">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>35</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="toolTip">
- <string>Seek Slider</string>
- </property>
- <property name="statusTip">
- <string>Seek Slider</string>
- </property>
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="durationButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>0</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Click to toggle elapsed/remaining</string>
- </property>
- <property name="text">
- <string>0:00</string>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="0,3,0">
- <property name="spacing">
- <number>0</number>
- </property>
- <item>
- <widget class="QToolButton" name="previousButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>0</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="toolTip">
- <string>Previous Track</string>
- </property>
- <property name="text">
- <string>Prev</string>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/prev.png</normaloff>
- <normalon>:/icons/rew.png</normalon>:/icons/prev.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="playButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>100</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>75</width>
- <height>45</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="toolTip">
- <string>Play / Pause</string>
- </property>
- <property name="text">
- <string>Play</string>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/play.png</normaloff>
- <normalon>:/icons/pause.png</normalon>:/icons/play.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="checkable">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="nextButton">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>50</width>
- <height>40</height>
- </size>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="toolTip">
- <string>Next Track</string>
- </property>
- <property name="text">
- <string>Next</string>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/next.png</normaloff>
- <normalon>:/icons/ff.png</normalon>:/icons/next.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>406</width>
- <height>25</height>
- </rect>
- </property>
- <widget class="QMenu" name="menuOpen">
- <property name="title">
- <string>&Player</string>
- </property>
- <addaction name="actionOpen"/>
- <addaction name="actionPlay_Pause"/>
- <addaction name="actionNextTrack"/>
- <addaction name="actionPreviousTrack"/>
- <addaction name="actionQuit"/>
- </widget>
- <widget class="QMenu" name="menuView">
- <property name="title">
- <string>&View</string>
- </property>
- <addaction name="actionVolumeToggle"/>
- <addaction name="actionControls"/>
- </widget>
- <widget class="QMenu" name="menu_Help">
- <property name="title">
- <string>&Help</string>
- </property>
- <addaction name="actionHelp"/>
- <addaction name="actionAbout"/>
- <addaction name="actionAboutQt"/>
- </widget>
- <widget class="QMenu" name="menuOptions">
- <property name="title">
- <string>&Options</string>
- </property>
- <addaction name="actionAdd_Playlist_Dir"/>
- <addaction name="actionAdd_Song_Dir"/>
- <addaction name="actionVolumeUp"/>
- <addaction name="actionVolumeDown"/>
- <addaction name="actionSet_Podcast_Dir"/>
- <addaction name="actionClear_Settings"/>
- </widget>
- <addaction name="menuOpen"/>
- <addaction name="menuView"/>
- <addaction name="menuOptions"/>
- <addaction name="menu_Help"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionOpen">
- <property name="text">
- <string>&Open</string>
- </property>
- <property name="toolTip">
- <string>Open Files or Playlist</string>
- </property>
- <property name="statusTip">
- <string>Open Files or Playlist</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+O</string>
- </property>
- </action>
- <action name="actionQuit">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/delete.png</normaloff>:/icons/delete.png</iconset>
- </property>
- <property name="text">
- <string>&Quit</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+Q</string>
- </property>
- </action>
- <action name="actionPlay_Pause">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/play.png</normaloff>
- <normalon>:/icons/pause.png</normalon>:/icons/play.png</iconset>
- </property>
- <property name="text">
- <string>&Play/Pause</string>
- </property>
- <property name="shortcut">
- <string>Space</string>
- </property>
- </action>
- <action name="actionAbout">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/projecticon.png</normaloff>:/icons/projecticon.png</iconset>
- </property>
- <property name="text">
- <string>&About M3uPlayer</string>
- </property>
- <property name="menuRole">
- <enum>QAction::AboutRole</enum>
- </property>
- </action>
- <action name="actionAboutQt">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/qt_icon.png</normaloff>:/icons/qt_icon.png</iconset>
- </property>
- <property name="text">
- <string>About &Qt</string>
- </property>
- <property name="menuRole">
- <enum>QAction::AboutQtRole</enum>
- </property>
- </action>
- <action name="actionVolumeToggle">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/volume.png</normaloff>:/icons/volume.png</iconset>
- </property>
- <property name="text">
- <string>&Volume Slider</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+V</string>
- </property>
- </action>
- <action name="actionVolumeUp">
- <property name="text">
- <string>Volume &Up</string>
- </property>
- <property name="shortcut">
- <string>Alt+Up</string>
- </property>
- </action>
- <action name="actionVolumeDown">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/player-volume.png</normaloff>:/icons/player-volume.png</iconset>
- </property>
- <property name="text">
- <string>Volume &Down</string>
- </property>
- <property name="shortcut">
- <string>Alt+Down</string>
- </property>
- </action>
- <action name="actionNextTrack">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
- </property>
- <property name="text">
- <string>&Next Track</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+N</string>
- </property>
- </action>
- <action name="actionPreviousTrack">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/prev.png</normaloff>:/icons/prev.png</iconset>
- </property>
- <property name="text">
- <string>Pre&vious Track</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+P</string>
- </property>
- </action>
- <action name="actionAdd_Playlist_Dir">
- <property name="text">
- <string>&Add Playlist Dir</string>
- </property>
- </action>
- <action name="actionAdd_Song_Dir">
- <property name="text">
- <string>Add &Tracks Dir</string>
- </property>
- </action>
- <action name="actionClear_Settings">
- <property name="text">
- <string>&Clear Settings</string>
- </property>
- </action>
- <action name="actionClose_Playlist">
- <property name="text">
- <string>&Close Playlist</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+W</string>
- </property>
- </action>
- <action name="actionShuffle">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/shuffle.png</normaloff>:/icons/shuffle.png</iconset>
- </property>
- <property name="text">
- <string>Shu&ffle</string>
- </property>
- <property name="shortcut">
- <string>Alt+S</string>
- </property>
- </action>
- <action name="actionControls">
- <property name="checkable">
- <bool>true</bool>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/menu.png</normaloff>:/icons/menu.png</iconset>
- </property>
- <property name="text">
- <string>&Controls</string>
- </property>
- <property name="toolTip">
- <string>View Player Controls</string>
- </property>
- </action>
- <action name="actionSet_Podcast_Dir">
- <property name="text">
- <string>Set &Podcast Dir</string>
- </property>
- </action>
- <action name="actionViewPodcasts">
- <property name="text">
- <string>Podcasts</string>
- </property>
- </action>
- <action name="actionViewTracks">
- <property name="text">
- <string>Tracks</string>
- </property>
- </action>
- <action name="actionViewPlaylists">
- <property name="text">
- <string>Playlists</string>
- </property>
- </action>
- <action name="actionSort_Playlist">
- <property name="icon">
- <iconset resource="resources.qrc">
- <normaloff>:/icons/sort.png</normaloff>:/icons/sort.png</iconset>
- </property>
- <property name="text">
- <string>&Sort Playlist</string>
- </property>
- </action>
- <action name="actionToggleView">
- <property name="text">
- <string>Parents / Tracks</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+L</string>
- </property>
- </action>
- <action name="actionAddFeed">
- <property name="icon">
- <iconset>
- <normaloff>:/icons/rss.jpg</normaloff>:/icons/rss.jpg</iconset>
- </property>
- <property name="text">
- <string>Add Podcast Feed</string>
- </property>
- <property name="shortcut">
- <string>Ctrl+A</string>
- </property>
- </action>
- <action name="actionElapsed_Remaining">
- <property name="text">
- <string>Elapsed/Remaining</string>
- </property>
- </action>
- <action name="actionHelp">
- <property name="text">
- <string>M3uPlayer Help</string>
- </property>
- <property name="shortcut">
- <string>F1</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>QDeclarativeView</class>
- <extends>QGraphicsView</extends>
- <header>QtDeclarative/QDeclarativeView</header>
- <container>1</container>
- </customwidget>
- </customwidgets>
- <resources>
- <include location="resources.qrc"/>
- </resources>
- <connections>
- <connection>
- <sender>actionControls</sender>
- <signal>toggled(bool)</signal>
- <receiver>controlsWidget</receiver>
- <slot>setVisible(bool)</slot>
- <hints>
- <hint type="sourcelabel">
- <x>-1</x>
- <y>-1</y>
- </hint>
- <hint type="destinationlabel">
- <x>176</x>
- <y>361</y>
- </hint>
- </hints>
- </connection>
- </connections>
- <slots>
- <slot>on_actionSort_Playlist_triggered()</slot>
- </slots>
- </ui>
|