diff options
Diffstat (limited to 'qtspotify.ui')
-rw-r--r-- | qtspotify.ui | 243 |
1 files changed, 151 insertions, 92 deletions
diff --git a/qtspotify.ui b/qtspotify.ui index 6f665b0..72bfb57 100644 --- a/qtspotify.ui +++ b/qtspotify.ui @@ -16,78 +16,170 @@ <widget class="QWidget" name="centralwidget"> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> - <widget class="QLabel" name="artistLabel"> - <property name="toolTip"> - <string>Currently playing artist</string> + <widget class="QTabWidget" name="topLevelTabs"> + <property name="currentIndex"> + <number>2</number> </property> - <property name="text"> - <string>Artist</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="songLabel"> - <property name="toolTip"> - <string>Currently playing song</string> - </property> - <property name="text"> - <string>Song</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="albumLabel"> - <property name="toolTip"> - <string>Currently playing album</string> - </property> - <property name="text"> - <string>Album</string> - </property> - </widget> - </item> - <item row="1" column="0" colspan="3"> - <widget class="QTreeWidget" name="playList"> - <column> - <property name="text"> - <string>Artist</string> - </property> - </column> - <column> - <property name="text"> - <string>Song</string> - </property> - </column> - <column> - <property name="text"> - <string>Album</string> - </property> - </column> + <widget class="QWidget" name="tab"> + <attribute name="title"> + <string>Current playlist</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QTreeWidget" name="playList"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + <column> + <property name="text"> + <string>Artist</string> + </property> + </column> + <column> + <property name="text"> + <string>Song</string> + </property> + </column> + <column> + <property name="text"> + <string>Album</string> + </property> + </column> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_2"> + <attribute name="title"> + <string>Playlists</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <widget class="QGroupBox" name="storedPlaylistsGroupBox"> + <property name="title"> + <string>Stored playlists</string> + </property> + <layout class="QGridLayout" name="gridLayout_6"> + <item row="0" column="0"> + <widget class="QListView" name="storedPlaylists"> + <property name="font"> + <font> + <pointsize>12</pointsize> + </font> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="1" column="0"> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Searches</string> + </property> + <layout class="QGridLayout" name="gridLayout_5"> + <item row="0" column="0"> + <widget class="QListView" name="listView"/> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <widget class="QWidget" name="tab_3"> + <attribute name="title"> + <string>Now playing</string> + </attribute> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0" colspan="2"> + <widget class="QLabel" name="coverArtLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Cover art</string> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0" colspan="2"> + <widget class="QLabel" name="songLabel"> + <property name="font"> + <font> + <pointsize>22</pointsize> + </font> + </property> + <property name="text"> + <string>Song</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="artistLabel"> + <property name="text"> + <string>Artist</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QLabel" name="albumLabel"> + <property name="text"> + <string>(Album)</string> + </property> + </widget> + </item> + </layout> + </widget> </widget> </item> - <item row="2" column="0" colspan="3"> + <item row="1" column="0"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> - <widget class="QLabel" name="label"> + <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="playButton"> <property name="text"> - <string>Search:</string> + <string>Play</string> </property> </widget> </item> <item> - <widget class="QComboBox" name="searchComboBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <widget class="QPushButton" name="skipSongButton"> + <property name="text"> + <string>Skip</string> </property> - <property name="toolTip"> - <string>Select playlist or enter search term</string> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="editable"> - <bool>true</bool> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> </layout> </item> @@ -116,7 +208,6 @@ <string>&Playlist</string> </property> <addaction name="actionSearch"/> - <addaction name="actionRetrieveStoredPlaylists"/> </widget> <widget class="QMenu" name="menuPlayback"> <property name="title"> @@ -154,14 +245,6 @@ <string>Ctrl+S</string> </property> </action> - <action name="actionLogOut"> - <property name="text"> - <string>Log &out</string> - </property> - <property name="shortcut"> - <string>Ctrl+X</string> - </property> - </action> <action name="actionPlayOrStop"> <property name="text"> <string>&Play / stop</string> @@ -178,14 +261,6 @@ <string>Space</string> </property> </action> - <action name="actionRetrieveStoredPlaylists"> - <property name="text"> - <string>&Retrieve stored playlists</string> - </property> - <property name="shortcut"> - <string>Ctrl+R</string> - </property> - </action> <action name="actionDebuggingOutput"> <property name="checkable"> <bool>true</bool> @@ -216,21 +291,5 @@ </hint> </hints> </connection> - <connection> - <sender>actionSearch</sender> - <signal>triggered()</signal> - <receiver>searchComboBox</receiver> - <slot>setFocus()</slot> - <hints> - <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> - </hint> - <hint type="destinationlabel"> - <x>195</x> - <y>641</y> - </hint> - </hints> - </connection> </connections> </ui> |