1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/chatlog/content/filetransferwidget.ui

212 lines
5.8 KiB
Plaintext
Raw Normal View History

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 03:01:37 +08:00
<width>619</width>
<height>86</height>
2014-11-12 21:11:25 +08:00
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">background-color:transparent;</string>
</property>
2014-11-17 03:01:37 +08:00
<layout class="QHBoxLayout" name="horizontalLayout">
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-12 21:11:25 +08:00
<property name="styleSheet">
<string notr="true">QFrame {
2014-11-17 03:01:37 +08:00
border-image: url(:/ui/fileTransferInstance/background_red.png);
border-left:25;padding-top:-30;
border-top:28;
border-right:25; padding-right:-28;
border-bottom:28;padding-bottom:-30;
color:white;
}
QPushButton {
margin:0;
2014-11-12 21:11:25 +08:00
}</string>
</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>
<layout class="QHBoxLayout" name="horizontalLayout_3">
2014-11-12 21:11:25 +08:00
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
2014-11-17 03:01:37 +08:00
<widget class="QLabel" name="filenameLabel">
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 03:01:37 +08:00
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label">
<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="label_2">
<property name="text">
<string>24%</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="progressLabel">
<property name="text">
<string>ETA:10:10</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
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>
<height>14</height>
</size>
</property>
2014-11-12 21:11:25 +08:00
<property name="styleSheet">
2014-11-17 03:01:37 +08:00
<string notr="true">QProgressBar {
border: 2px solid black;
border-radius: 0px;
color: white;
background-color:white;
}
QProgressBar::chunk {
background-color: black;
width: 20px;
}</string>
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>
<layout class="QVBoxLayout" name="verticalLayout">
2014-11-17 03:01:37 +08:00
<property name="spacing">
<number>0</number>
</property>
2014-11-12 21:11:25 +08:00
<item>
2014-11-17 03:01:37 +08:00
<widget class="QPushButton" name="pushButton">
<property name="text">
<string/>
2014-11-12 21:11:25 +08:00
</property>
2014-11-17 03:01:37 +08:00
<property name="icon">
<iconset resource="../../../res.qrc">
<normaloff>:/ui/fileTransferInstance/pause_2x.png</normaloff>:/ui/fileTransferInstance/pause_2x.png</iconset>
</property>
<property name="iconSize">
2014-11-12 21:11:25 +08:00
<size>
2014-11-17 03:01:37 +08:00
<width>25</width>
<height>28</height>
2014-11-12 21:11:25 +08:00
</size>
</property>
2014-11-17 03:01:37 +08:00
<property name="flat">
<bool>true</bool>
2014-11-12 21:11:25 +08:00
</property>
</widget>
</item>
<item>
2014-11-17 03:01:37 +08:00
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
2014-11-12 21:11:25 +08:00
</property>
2014-11-17 03:01:37 +08:00
<property name="sizeHint" stdset="0">
2014-11-12 21:11:25 +08:00
<size>
2014-11-17 03:01:37 +08:00
<width>20</width>
<height>40</height>
2014-11-12 21:11:25 +08:00
</size>
</property>
2014-11-17 03:01:37 +08:00
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
2014-11-12 21:11:25 +08:00
<property name="text">
2014-11-17 03:01:37 +08:00
<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>
2014-11-12 21:11:25 +08:00
</property>
</widget>
</item>
</layout>
</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>