Spiffed up progress dialog visuals a little

This commit is contained in:
Aruki 2017-06-26 20:41:17 -06:00
parent 46b65a5bcd
commit 2081835ae6
1 changed files with 78 additions and 42 deletions

View File

@ -7,12 +7,35 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>609</width> <width>609</width>
<height>110</height> <height>89</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Dialog</string> <string>Dialog</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<property name="maximumSize">
<size>
<width>40</width>
<height>40</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="Icons.qrc">:/icons/AppIcon.ico</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QLabel" name="TaskLabel"> <widget class="QLabel" name="TaskLabel">
@ -22,7 +45,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>Task Text</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -34,10 +57,29 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string/> <string>Step Text</string>
</property> </property>
</widget> </widget>
</item> </item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QProgressBar" name="ProgressBar"> <widget class="QProgressBar" name="ProgressBar">
<property name="value"> <property name="value">
@ -45,21 +87,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<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> <item>
<widget class="QPushButton" name="CancelButton"> <widget class="QPushButton" name="CancelButton">
<property name="text"> <property name="text">
@ -70,7 +97,16 @@
</layout> </layout>
</item> </item>
</layout> </layout>
<zorder>TaskLabel</zorder>
<zorder>StepLabel</zorder>
<zorder>ProgressBar</zorder>
<zorder>label</zorder>
<zorder>CancelButton</zorder>
<zorder>CancelButton</zorder>
<zorder>verticalSpacer</zorder>
</widget> </widget>
<resources/> <resources>
<include location="Icons.qrc"/>
</resources>
<connections/> <connections/>
</ui> </ui>