aboutsummaryrefslogtreecommitdiff
path: root/src/lib/downloads/widgets/downloaditemform.ui
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-01-01 13:48:31 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2018-01-01 13:48:31 +0100
commit83d1f0c0c3a78101fbe174a02b17a950c496e635 (patch)
treeed3dba7c1a01e5916e1c146e69d7d86f7cd7e0d0 /src/lib/downloads/widgets/downloaditemform.ui
parentUrlCompleter searches the bookmarks tree (folder href) (diff)
downloadsmolbote-83d1f0c0c3a78101fbe174a02b17a950c496e635.tar.xz
Download items' width should no longer exceed the list width
Diffstat (limited to 'src/lib/downloads/widgets/downloaditemform.ui')
-rw-r--r--src/lib/downloads/widgets/downloaditemform.ui53
1 files changed, 26 insertions, 27 deletions
diff --git a/src/lib/downloads/widgets/downloaditemform.ui b/src/lib/downloads/widgets/downloaditemform.ui
index 7e63211..17f1d6a 100644
--- a/src/lib/downloads/widgets/downloaditemform.ui
+++ b/src/lib/downloads/widgets/downloaditemform.ui
@@ -7,11 +7,11 @@
<x>0</x>
<y>0</y>
<width>500</width>
- <height>100</height>
+ <height>122</height>
</rect>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
+ <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -24,44 +24,36 @@
<number>0</number>
</property>
<item>
- <widget class="QLabel" name="url_label">
+ <widget class="ElidedLabel" name="url_label">
<property name="text">
<string>[url]</string>
</property>
</widget>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="status_label">
- <property name="text">
- <string>Un&amp;known</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="filesize_label">
- <property name="text">
- <string>&amp;x MiB / y MiB</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QProgressBar" name="progressBar">
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QProgressBar" name="progressBar">
+ <property name="value">
+ <number>24</number>
+ </property>
+ </widget>
</item>
<item>
<widget class="QWidget" name="detailsWidget" native="true">
<layout class="QVBoxLayout" name="detailsLayout">
<item>
+ <widget class="QLabel" name="status_label">
+ <property name="text">
+ <string>status_label</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QLabel" name="path_label">
<property name="text">
- <string>TextLabel</string>
+ <string>path_label</string>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
</property>
</widget>
</item>
@@ -70,6 +62,13 @@
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>ElidedLabel</class>
+ <extends>QLabel</extends>
+ <header>widgets/elidedlabel.h</header>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>