diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-29 12:32:11 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-29 12:32:11 +0100 |
| commit | 9dd8f6c856cf39cc1d228e171c1c81ff1d6e4b2f (patch) | |
| tree | b70a573c4577deeaa0e3bc8a7774e3d444b8ad42 /tidal_dl_ng/ui/main.ui | |
| parent | a53f63fbe9c8bbd6b46b9a631792a2a48d0d78e4 (diff) | |
| parent | ead4b8a905820891161e4cbd81cab6e07b51a8f0 (diff) | |
| download | tidal-dl-ng-9dd8f6c856cf39cc1d228e171c1c81ff1d6e4b2f.tar.gz | |
Merge branch '71-feature-show-queued-downloads'
* 71-feature-show-queued-downloads:
✨ Lists can also be downloaded using the "Download List" button.
👌 Reduced network traffic for covers.
✨ Display cover in info area.
✨ Use `Album.image()` to get cover url.
✨ Software named explicitly.
✨ Info pane will be initialized correctly.
✨ Added info pane to GUI.
# Conflicts:
# tidal_dl_ng/gui.py
Diffstat (limited to 'tidal_dl_ng/ui/main.ui')
| -rw-r--r-- | tidal_dl_ng/ui/main.ui | 895 |
1 files changed, 526 insertions, 369 deletions
diff --git a/tidal_dl_ng/ui/main.ui b/tidal_dl_ng/ui/main.ui index 8bfe727..1e83207 100644 --- a/tidal_dl_ng/ui/main.ui +++ b/tidal_dl_ng/ui/main.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>900</width> - <height>700</height> + <width>1200</width> + <height>800</height> </rect> </property> <property name="windowTitle"> @@ -38,16 +38,171 @@ <property name="accessibleDescription"> <string notr="true"/> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout" stretch="0,50,25"> <item> - <layout class="QHBoxLayout" name="lh_main" stretch="40,60"> - <property name="sizeConstraint"> - <enum>QLayout::SetNoConstraint</enum> + <layout class="QVBoxLayout" name="lv_list_user"> + <item> + <widget class="QTreeWidget" name="tr_lists_user"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="editTriggers"> + <set>QAbstractItemView::NoEditTriggers</set> + </property> + <property name="showDropIndicator" stdset="0"> + <bool>false</bool> + </property> + <property name="indentation"> + <number>10</number> + </property> + <property name="uniformRowHeights"> + <bool>true</bool> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + <attribute name="headerCascadingSectionResizes"> + <bool>true</bool> + </attribute> + <attribute name="headerHighlightSections"> + <bool>true</bool> + </attribute> + <attribute name="headerShowSortIndicator" stdset="0"> + <bool>true</bool> + </attribute> + <column> + <property name="text"> + <string notr="true">Name</string> + </property> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + </column> + <column> + <property name="text"> + <string>obj</string> + </property> + </column> + <column> + <property name="text"> + <string notr="true">Info</string> + </property> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + </column> + <item> + <property name="text"> + <string>Playlists</string> + </property> + <property name="text"> + <string/> + </property> + <property name="text"> + <string/> + </property> + <property name="flags"> + <set>ItemIsEnabled</set> + </property> + </item> + <item> + <property name="text"> + <string>Mixes</string> + </property> + <property name="text"> + <string/> + </property> + <property name="text"> + <string/> + </property> + <property name="flags"> + <set>ItemIsEnabled</set> + </property> + </item> + <item> + <property name="text"> + <string>Favorites</string> + </property> + <property name="text"> + <string/> + </property> + <property name="text"> + <string/> + </property> + <property name="flags"> + <set>ItemIsEnabled</set> + </property> + </item> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="lv_list_control"> + <item> + <widget class="QPushButton" name="pb_reload_user_lists"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Reload</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pb_download_list"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Download List</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="lv_search_result" stretch="0,0,0,0"> + <property name="spacing"> + <number>-1</number> </property> <item> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QHBoxLayout" name="lh_search"> <item> - <widget class="QTreeWidget" name="tr_lists_user"> + <widget class="QLineEdit" name="l_search"> + <property name="acceptDrops"> + <bool>false</bool> + </property> <property name="toolTip"> <string notr="true"/> </property> @@ -63,448 +218,450 @@ <property name="accessibleDescription"> <string notr="true"/> </property> - <property name="editTriggers"> - <set>QAbstractItemView::NoEditTriggers</set> + <property name="locale"> + <locale language="English" country="UnitedStates"/> </property> - <property name="showDropIndicator" stdset="0"> - <bool>false</bool> + <property name="text"> + <string notr="true"/> </property> - <property name="indentation"> - <number>10</number> + <property name="placeholderText"> + <string notr="true">Type and press ENTER to search...</string> </property> - <property name="uniformRowHeights"> + <property name="clearButtonEnabled"> <bool>true</bool> </property> - <property name="sortingEnabled"> - <bool>true</bool> + </widget> + </item> + <item> + <widget class="QComboBox" name="cb_search_type"> + <property name="toolTip"> + <string notr="true"/> </property> - <attribute name="headerCascadingSectionResizes"> - <bool>true</bool> - </attribute> - <attribute name="headerHighlightSections"> - <bool>true</bool> - </attribute> - <attribute name="headerShowSortIndicator" stdset="0"> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="currentText"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pb_search"> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="text"> + <string notr="true">Search</string> + </property> + <property name="shortcut"> + <string notr="true"/> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QTreeWidget" name="tr_results"> + <property name="editTriggers"> + <set>QAbstractItemView::NoEditTriggers</set> + </property> + <property name="showDropIndicator" stdset="0"> + <bool>false</bool> + </property> + <property name="dragDropOverwriteMode"> + <bool>false</bool> + </property> + <property name="alternatingRowColors"> + <bool>false</bool> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="indentation"> + <number>10</number> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + <attribute name="headerShowSortIndicator" stdset="0"> + <bool>true</bool> + </attribute> + <attribute name="headerStretchLastSection"> + <bool>false</bool> + </attribute> + <column> + <property name="text"> + <string>#</string> + </property> + </column> + <column> + <property name="text"> + <string>obj</string> + </property> + </column> + <column> + <property name="text"> + <string>Artist</string> + </property> + </column> + <column> + <property name="text"> + <string>Title</string> + </property> + </column> + <column> + <property name="text"> + <string>Album</string> + </property> + </column> + <column> + <property name="text"> + <string>Duration</string> + </property> + </column> + <column> + <property name="text"> + <string>Quality</string> + </property> + </column> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="lh_download" stretch="5,0,5,0,15"> + <item> + <widget class="QLabel" name="l_quality_audio"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="text"> + <string notr="true">Audio</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="cb_quality_audio"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="currentText"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + <property name="frame"> <bool>true</bool> - </attribute> - <column> - <property name="text"> - <string notr="true">Name</string> - </property> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - </column> - <column> - <property name="text"> - <string notr="true">Info</string> - </property> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - </column> - <column> - <property name="text"> - <string>obj</string> - </property> - </column> - <item> - <property name="text"> - <string>Playlists</string> - </property> - <property name="text"> - <string/> - </property> - <property name="text"> - <string/> - </property> - <property name="flags"> - <set>ItemIsEnabled</set> - </property> - </item> - <item> - <property name="text"> - <string>Mixes</string> - </property> - <property name="text"> - <string/> - </property> - <property name="text"> - <string/> - </property> - <property name="flags"> - <set>ItemIsEnabled</set> - </property> - </item> - <item> - <property name="text"> - <string>Favorites</string> - </property> - <property name="text"> - <string/> - </property> - <property name="text"> - <string/> - </property> - <property name="flags"> - <set>ItemIsEnabled</set> - </property> - </item> + </property> </widget> </item> <item> - <widget class="QPushButton" name="pb_reload_user_lists"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <widget class="QLabel" name="l_quality_video"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> </property> <property name="text"> - <string>Reload</string> + <string notr="true">Video</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QComboBox" name="cb_quality_video"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="currentText"> + <string notr="true"/> + </property> + <property name="placeholderText"> + <string notr="true"/> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pb_download"> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> + </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="text"> + <string notr="true">Download</string> + </property> + <property name="shortcut"> + <string notr="true"/> </property> </widget> </item> </layout> </item> <item> - <layout class="QVBoxLayout" name="lv_search_result" stretch="0,0,0,0"> - <property name="spacing"> - <number>-1</number> + <widget class="QPlainTextEdit" name="te_debug"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>16777215</height> + </size> + </property> + <property name="acceptDrops"> + <bool>false</bool> + </property> + <property name="toolTip"> + <string notr="true"/> + </property> + <property name="statusTip"> + <string notr="true"/> + </property> + <property name="whatsThis"> + <string notr="true"/> </property> + <property name="accessibleName"> + <string notr="true"/> + </property> + <property name="accessibleDescription"> + <string notr="true"/> + </property> + <property name="undoRedoEnabled"> + <bool>false</bool> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="placeholderText"> + <string>Logs...</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="lv_info"> + <item> + <layout class="QVBoxLayout" name="lv_info_item"> <item> - <layout class="QHBoxLayout" name="lh_search"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QLineEdit" name="l_search"> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> + <widget class="QLabel" name="l_pm_cover"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="accessibleName"> - <string notr="true"/> + <property name="maximumSize"> + <size> + <width>280</width> + <height>280</height> + </size> </property> - <property name="accessibleDescription"> - <string notr="true"/> + <property name="baseSize"> + <size> + <width>0</width> + <height>0</height> + </size> </property> - <property name="locale"> - <locale language="English" country="UnitedStates"/> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> </property> <property name="text"> - <string notr="true"/> + <string/> </property> - <property name="placeholderText"> - <string notr="true">Type and press ENTER to search...</string> + <property name="pixmap"> + <pixmap>default_album_image.png</pixmap> </property> - <property name="clearButtonEnabled"> + <property name="scaledContents"> <bool>true</bool> </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="cb_search_type"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="currentText"> - <string notr="true"/> - </property> - <property name="placeholderText"> - <string notr="true"/> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="pb_search"> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="text"> - <string notr="true">Search</string> - </property> - <property name="shortcut"> - <string notr="true"/> + <property name="alignment"> + <set>Qt::AlignHCenter|Qt::AlignTop</set> </property> </widget> </item> </layout> </item> + </layout> + </item> + <item> + <layout class="QVBoxLayout" name="lv_queue_dl"> + <item> + <widget class="QLabel" name="l_h_queue_dl"> + <property name="font"> + <font> + <italic>false</italic> + <bold>true</bold> + <kerning>true</kerning> + </font> + </property> + <property name="text"> + <string>Download Queue</string> + </property> + </widget> + </item> <item> - <widget class="QTreeWidget" name="tr_results"> + <widget class="QTableWidget" name="ta_queue_dl"> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> - <property name="showDropIndicator" stdset="0"> + <property name="tabKeyNavigation"> <bool>false</bool> </property> - <property name="dragDropOverwriteMode"> + <property name="showDropIndicator" stdset="0"> <bool>false</bool> </property> - <property name="alternatingRowColors"> + <property name="dragDropOverwriteMode"> <bool>false</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> - <property name="indentation"> - <number>10</number> + <property name="selectionBehavior"> + <enum>QAbstractItemView::SelectRows</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> - <attribute name="headerShowSortIndicator" stdset="0"> + <attribute name="verticalHeaderShowSortIndicator" stdset="0"> <bool>true</bool> </attribute> - <attribute name="headerStretchLastSection"> - <bool>false</bool> - </attribute> <column> <property name="text"> <string>#</string> </property> - </column> - <column> - <property name="text"> - <string>Artist</string> + <property name="textAlignment"> + <set>AlignLeading|AlignVCenter</set> </property> </column> <column> <property name="text"> - <string>Title</string> + <string>obj</string> </property> </column> <column> <property name="text"> - <string>Album</string> + <string>Name</string> + </property> + <property name="textAlignment"> + <set>AlignLeading|AlignVCenter</set> </property> </column> <column> <property name="text"> - <string>Duration</string> + <string>Type</string> + </property> + <property name="textAlignment"> + <set>AlignLeading|AlignVCenter</set> </property> </column> <column> <property name="text"> - <string>obj</string> + <string>Quality</string> + </property> + <property name="textAlignment"> + <set>AlignLeading|AlignVCenter</set> </property> </column> </widget> </item> <item> - <layout class="QHBoxLayout" name="lh_download" stretch="5,0,5,0,15"> - <item> - <widget class="QLabel" name="l_quality_audio"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="text"> - <string notr="true">Audio</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="cb_quality_audio"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="currentText"> - <string notr="true"/> - </property> - <property name="placeholderText"> - <string notr="true"/> - </property> - <property name="frame"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="l_quality_video"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="text"> - <string notr="true">Video</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="cb_quality_video"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="currentText"> - <string notr="true"/> - </property> - <property name="placeholderText"> - <string notr="true"/> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="pb_download"> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="text"> - <string notr="true">Download</string> - </property> - <property name="shortcut"> - <string notr="true"/> - </property> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QPlainTextEdit" name="te_debug"> + <widget class="QPushButton" name="pb_queue_item_remove"> <property name="enabled"> - <bool>true</bool> - </property> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Maximum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="acceptDrops"> - <bool>false</bool> - </property> - <property name="toolTip"> - <string notr="true"/> - </property> - <property name="statusTip"> - <string notr="true"/> - </property> - <property name="whatsThis"> - <string notr="true"/> - </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </property> - <property name="undoRedoEnabled"> <bool>false</bool> </property> - <property name="readOnly"> - <bool>true</bool> - </property> - <property name="placeholderText"> - <string>Logs...</string> + <property name="text"> + <string>Remove</string> </property> </widget> </item> @@ -519,7 +676,7 @@ <rect> <x>0</x> <y>0</y> - <width>900</width> + <width>1200</width> <height>24</height> </rect> </property> |
