summaryrefslogtreecommitdiff
path: root/src/leap/gui/ui/statuspanel.ui
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-07-25 17:38:28 +0200
committerKali Kaneko <kali@leap.se>2013-07-25 18:12:09 +0200
commitb9c3fcd9ea6469185f7e7f483eeffb7b346e9dad (patch)
treef88f96806306760966f4b73c98697a8dd8e4b239 /src/leap/gui/ui/statuspanel.ui
parentdb18ad67d4149b5f5a6f68db1f52abd91f6f9373 (diff)
Make the rates clickable to alternate between rates and totals.
Closes: #3249, #3232
Diffstat (limited to 'src/leap/gui/ui/statuspanel.ui')
-rw-r--r--src/leap/gui/ui/statuspanel.ui63
1 files changed, 54 insertions, 9 deletions
diff --git a/src/leap/gui/ui/statuspanel.ui b/src/leap/gui/ui/statuspanel.ui
index fd675d35..3482ac7c 100644
--- a/src/leap/gui/ui/statuspanel.ui
+++ b/src/leap/gui/ui/statuspanel.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>542</width>
+ <width>384</width>
<height>477</height>
</rect>
</property>
@@ -140,9 +140,33 @@
</widget>
</item>
<item>
- <widget class="QLabel" name="lblUpload">
+ <widget class="QPushButton" name="btnDownload">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>120</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="cursor">
+ <cursorShape>PointingHandCursor</cursorShape>
+ </property>
<property name="text">
- <string>0.0 KB/s</string>
+ <string>0.0 KB/s</string>
+ </property>
+ <property name="flat">
+ <bool>true</bool>
</property>
</widget>
</item>
@@ -172,10 +196,34 @@
</property>
</widget>
</item>
- <item>
- <widget class="QLabel" name="lblDownload">
+ <item alignment="Qt::AlignLeft">
+ <widget class="QPushButton" name="btnUpload">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>120</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="cursor">
+ <cursorShape>PointingHandCursor</cursorShape>
+ </property>
<property name="text">
- <string>0.0 KB/s</string>
+ <string>0.0 KB/s</string>
+ </property>
+ <property name="flat">
+ <bool>true</bool>
</property>
</widget>
</item>
@@ -233,9 +281,6 @@
</spacer>
</item>
</layout>
- <zorder>lblProvider</zorder>
- <zorder>status_rows</zorder>
- <zorder>globalStatusBox</zorder>
</widget>
<resources>
<include location="../../../../data/resources/icons.qrc"/>