2014-11-12 21:11:25 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>FileTransferWidget</class>
|
|
|
|
<widget class="QWidget" name="FileTransferWidget">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2014-11-17 23:05:14 +08:00
|
|
|
<width>544</width>
|
|
|
|
<height>207</height>
|
2014-11-12 21:11:25 +08:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Form</string>
|
|
|
|
</property>
|
2014-11-18 03:08:55 +08:00
|
|
|
<layout class="QHBoxLayout" name="mainHorizontalLayout">
|
2014-11-12 21:11:25 +08:00
|
|
|
<item>
|
2014-11-17 03:01:37 +08:00
|
|
|
<widget class="QFrame" name="frame_3">
|
2014-11-17 23:05:14 +08:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2014-11-12 21:11:25 +08:00
|
|
|
<property name="styleSheet">
|
2014-11-17 23:05:14 +08:00
|
|
|
<string notr="true"/>
|
2014-11-12 21:11:25 +08:00
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
2014-11-17 03:01:37 +08:00
|
|
|
<enum>QFrame::NoFrame</enum>
|
2014-11-12 21:11:25 +08:00
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
2014-11-17 03:01:37 +08:00
|
|
|
<enum>QFrame::Plain</enum>
|
2014-11-12 21:11:25 +08:00
|
|
|
</property>
|
2014-11-17 03:01:37 +08:00
|
|
|
<property name="lineWidth">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2014-11-17 23:05:14 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
2014-11-18 03:08:55 +08:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="previewLabel">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>80</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>[preview]</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-11-12 21:11:25 +08:00
|
|
|
<item>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2014-11-17 23:05:14 +08:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2014-11-12 21:11:25 +08:00
|
|
|
<item>
|
2014-11-17 03:01:37 +08:00
|
|
|
<widget class="QLabel" name="filenameLabel">
|
2014-11-17 23:05:14 +08:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2014-11-12 21:11:25 +08:00
|
|
|
<property name="text">
|
2014-11-17 03:01:37 +08:00
|
|
|
<string>Filename</string>
|
2014-11-12 21:11:25 +08:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-11-17 23:05:14 +08:00
|
|
|
<widget class="QWidget" name="statusWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="fileSizeLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>10Mb</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="progressLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>24%</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="etaLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>ETA:10:10</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-11-12 21:11:25 +08:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QProgressBar" name="progressBar">
|
2014-11-17 03:01:37 +08:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2014-11-17 23:05:14 +08:00
|
|
|
<height>10</height>
|
2014-11-17 03:01:37 +08:00
|
|
|
</size>
|
|
|
|
</property>
|
2014-11-12 21:11:25 +08:00
|
|
|
<property name="styleSheet">
|
2014-11-17 23:05:14 +08:00
|
|
|
<string notr="true"/>
|
2014-11-12 21:11:25 +08:00
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>24</number>
|
|
|
|
</property>
|
2014-11-17 03:01:37 +08:00
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="invertedAppearance">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="format">
|
|
|
|
<string/>
|
|
|
|
</property>
|
2014-11-12 21:11:25 +08:00
|
|
|
</widget>
|
|
|
|
</item>
|
2014-11-17 03:01:37 +08:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2014-11-12 21:11:25 +08:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2014-11-17 23:05:14 +08:00
|
|
|
<widget class="QWidget" name="buttonWidget" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="topButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../res.qrc">
|
|
|
|
<normaloff>:/ui/fileTransferInstance/pause_2x.png</normaloff>:/ui/fileTransferInstance/pause_2x.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>25</width>
|
|
|
|
<height>28</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>92</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="bottomButton">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../../../res.qrc">
|
|
|
|
<normaloff>:/ui/fileTransferInstance/arrow_white_2x.png</normaloff>:/ui/fileTransferInstance/arrow_white_2x.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>25</width>
|
|
|
|
<height>28</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-11-12 21:11:25 +08:00
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2014-11-17 03:01:37 +08:00
|
|
|
<resources>
|
|
|
|
<include location="../../../res.qrc"/>
|
|
|
|
</resources>
|
2014-11-12 21:11:25 +08:00
|
|
|
<connections/>
|
|
|
|
</ui>
|