diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-03-23 14:00:33 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-03-23 14:00:33 +0100 |
| commit | 10e2f39196e020e1fe6f7cf2ae26f877be716b40 (patch) | |
| tree | c4c3945afe9ddb7bbb5b424f5a75ad4432294aef /tidal_dl_ng/ui/main.ui | |
| parent | 84c8036bddf9c613e6a13095b918ba0dcc5ae3ef (diff) | |
| download | tidal-dl-ng-10e2f39196e020e1fe6f7cf2ae26f877be716b40.tar.gz | |
✨ Added info pane to GUI.
Diffstat (limited to 'tidal_dl_ng/ui/main.ui')
| -rw-r--r-- | tidal_dl_ng/ui/main.ui | 878 |
1 files changed, 509 insertions, 369 deletions
diff --git a/tidal_dl_ng/ui/main.ui b/tidal_dl_ng/ui/main.ui index 26b7270..3077449 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,154 @@ <property name="accessibleDescription"> <string notr="true"/> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout" stretch="25,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> + <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> + </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 +201,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="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_reload_user_lists"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <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>Reload</string> + <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"/> + <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="statusTip"> - <string notr="true"/> + <property name="maximumSize"> + <size> + <width>280</width> + <height>280</height> + </size> </property> - <property name="whatsThis"> - <string notr="true"/> + <property name="baseSize"> + <size> + <width>0</width> + <height>0</height> + </size> </property> - <property name="accessibleName"> - <string notr="true"/> - </property> - <property name="accessibleDescription"> - <string notr="true"/> - </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>placeholder_cover.jpg</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 +659,7 @@ <rect> <x>0</x> <y>0</y> - <width>900</width> + <width>1200</width> <height>24</height> </rect> </property> |
