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

316 lines
9.1 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>
2015-01-02 18:14:50 +08:00
<width>532</width>
<height>90</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">
<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>
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">
<property name="spacing">
<number>6</number>
2014-11-18 03:08:55 +08:00
</property>
<property name="leftMargin">
<number>5</number>
</property>
<property name="topMargin">
<number>5</number>
</property>
2014-11-18 03:08:55 +08:00
<property name="rightMargin">
<number>2</number>
</property>
<property name="bottomMargin">
<number>5</number>
2014-11-18 03:08:55 +08:00
</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" stretch="0,0,0,0">
<property name="leftMargin">
<number>6</number>
</property>
2014-11-17 23:05:14 +08:00
<property name="topMargin">
2015-01-02 18:14:50 +08:00
<number>0</number>
2014-11-17 23:05:14 +08:00
</property>
<property name="rightMargin">
<number>6</number>
</property>
2014-11-17 23:05:14 +08:00
<property name="bottomMargin">
2015-01-02 18:14:50 +08:00
<number>0</number>
2014-11-17 23:05:14 +08:00
</property>
2014-11-12 21:11:25 +08:00
<item>
2015-01-02 18:36:24 +08:00
<widget class="CroppingLabel" name="filenameLabel">
2014-11-17 23:05:14 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
2014-11-17 23:05:14 +08:00
<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">
2014-12-08 03:52:01 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
2014-12-08 03:52:01 +08:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-17 23:05:14 +08:00
<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">
2014-12-08 03:52:01 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
2014-12-08 03:52:01 +08:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-17 23:05:14 +08:00
<property name="text">
2014-12-08 03:52:01 +08:00
<string>0kb/s</string>
2014-11-17 23:05:14 +08:00
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="etaLabel">
2014-12-08 03:52:01 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
2014-12-08 03:52:01 +08:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-17 23:05:14 +08:00
<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">
2015-01-02 18:14:50 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-17 23:05:14 +08:00
<property name="text">
<string/>
</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">
2015-01-02 18:14:50 +08:00
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2014-11-17 23:05:14 +08:00
<property name="text">
<string/>
</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>
2015-01-02 18:36:24 +08:00
<customwidgets>
<customwidget>
<class>CroppingLabel</class>
<extends>QLabel</extends>
<header>src/widget/croppinglabel.h</header>
</customwidget>
</customwidgets>
2015-01-02 18:14:50 +08:00
<resources/>
2014-11-12 21:11:25 +08:00
<connections/>
</ui>