diff options
author | Ken Moore <ken@ixsystems.com> | 2017-03-31 12:32:46 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-03-31 12:32:46 -0400 |
commit | 0fe16b3717588219f6294876f55eb8e6270cad22 (patch) | |
tree | a092e01355e847b634eac598b63d3982dd01d93e /src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-0fe16b3717588219f6294876f55eb8e6270cad22.tar.gz lumina-0fe16b3717588219f6294876f55eb8e6270cad22.tar.bz2 lumina-0fe16b3717588219f6294876f55eb8e6270cad22.zip |
Get the new lumina-mediaplayer semi-working. If pianobar is installed, it can now use it to play Pandora radio stations - but most of the interactive buttons have not been hooked up to the backend process yet.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui')
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui | 310 |
1 files changed, 306 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui index d662b20c..9c8dd46a 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui +++ b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.ui @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> - <class>MainWindow</class> - <widget class="QMainWindow" name="MainWindow"> + <class>MainUI</class> + <widget class="QMainWindow" name="MainUI"> <property name="geometry"> <rect> <x>0</x> @@ -33,11 +33,20 @@ <item> <widget class="QFrame" name="frame_type"> <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="topMargin"> + <number>1</number> + </property> + <property name="bottomMargin"> + <number>1</number> + </property> <item> <widget class="QRadioButton" name="radio_local"> <property name="text"> <string>Local Files</string> </property> + <property name="checked"> + <bool>true</bool> + </property> </widget> </item> <item> @@ -52,11 +61,14 @@ </item> <item> <widget class="QStackedWidget" name="stackedWidget"> + <property name="currentIndex"> + <number>1</number> + </property> <widget class="QWidget" name="page_local"/> <widget class="QWidget" name="page_pandora"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> - <widget class="QTabWidget" name="tabWidget"> + <widget class="QTabWidget" name="tabWidget_pandora"> <property name="currentIndex"> <number>0</number> </property> @@ -64,11 +76,269 @@ <attribute name="title"> <string>Now Playing</string> </attribute> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Current Song</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QLabel" name="label_pandora_title"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>10</pointsize> + <weight>75</weight> + <bold>true</bold> + </font> + </property> + <property name="text"> + <string>TITLE</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + <property name="openExternalLinks"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_pandora_artist"> + <property name="text"> + <string>ARTIST</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_pandora_album"> + <property name="text"> + <string>ALBUM</string> + </property> + </widget> + </item> + <item> + <widget class="QProgressBar" name="progress_pandora"> + <property name="value"> + <number>24</number> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QToolButton" name="tool_pandora_love"> + <property name="text"> + <string notr="true">love</string> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="tool_pandora_tired"> + <property name="text"> + <string notr="true">tired</string> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="tool_pandora_ban"> + <property name="text"> + <string notr="true">ban</string> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="Line" name="line"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item> + <widget class="QToolButton" name="tool_pandora_info"> + <property name="text"> + <string notr="true">info</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QLabel" name="label_6"> + <property name="text"> + <string>Current Station</string> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="combo_pandora_station"/> + </item> + </layout> + </item> + </layout> </widget> <widget class="QWidget" name="tab_pandora_settings"> <attribute name="title"> <string>Settings</string> </attribute> + <layout class="QFormLayout" name="formLayout_2"> + <property name="labelAlignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <item row="0" column="0" colspan="2"> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Pandora Account Login</string> + </property> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Email</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="line_pandora_email"/> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Password</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="line_pandora_pass"> + <property name="echoMode"> + <enum>QLineEdit::Password</enum> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Audio Quality</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="combo_pandora_quality"/> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Proxy URL</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLineEdit" name="line_pandora_proxy"/> + </item> + <item row="3" column="0"> + <widget class="QLabel" name="label_5"> + <property name="text"> + <string>Control Proxy URL</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QLineEdit" name="line_pandora_cproxy"/> + </item> + <item row="5" column="0" colspan="2"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="push_pandora_apply"> + <property name="text"> + <string>Apply Settings</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item row="4" column="0"> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> </widget> </widget> </item> @@ -84,9 +354,19 @@ <x>0</x> <y>0</y> <width>385</width> - <height>22</height> + <height>20</height> </rect> </property> + <widget class="QMenu" name="menuFile"> + <property name="title"> + <string>File</string> + </property> + <addaction name="separator"/> + <addaction name="actionClose_to_tray_when_running"/> + <addaction name="separator"/> + <addaction name="actionClose"/> + </widget> + <addaction name="menuFile"/> </widget> <widget class="QStatusBar" name="statusbar"/> <widget class="QToolBar" name="toolBar"> @@ -151,6 +431,28 @@ <string>VolDown</string> </property> </action> + <action name="actionClose"> + <property name="text"> + <string>Close</string> + </property> + <property name="shortcut"> + <string>Ctrl+Q</string> + </property> + <property name="shortcutContext"> + <enum>Qt::ApplicationShortcut</enum> + </property> + </action> + <action name="actionClose_to_tray_when_running"> + <property name="checkable"> + <bool>true</bool> + </property> + <property name="checked"> + <bool>true</bool> + </property> + <property name="text"> + <string>Close to tray when active</string> + </property> + </action> </widget> <resources/> <connections/> |