2010-09-12 16:27:03 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>SubFileItem</class>
|
|
|
|
<widget class="QWidget" name="SubFileItem">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-10-10 12:43:37 -04:00
|
|
|
<width>464</width>
|
2011-07-06 19:46:16 -04:00
|
|
|
<height>71</height>
|
2010-09-12 16:27:03 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QWidget#SubFileItem{border: none;}</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QFrame#frame{border: 2px solid #238;
|
|
|
|
background: white;
|
|
|
|
border-radius: 10px;}
|
|
|
|
</string>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<item row="0" column="0">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="fileLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<italic>true</italic>
|
|
|
|
<bold>true</bold>
|
2010-10-10 12:43:37 -04:00
|
|
|
<stylestrategy>PreferAntialias</stylestrategy>
|
2010-09-12 16:27:03 -04:00
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">File Name</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QProgressBar" name="progressBar">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>50</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QProgressBar {
|
|
|
|
border: 1px solid black;
|
|
|
|
text-align: center;
|
|
|
|
color: white;
|
|
|
|
padding: 1px;
|
|
|
|
border-top-left-radius: 7px;
|
|
|
|
border-bottom-left-radius: 7px;
|
|
|
|
background: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1,
|
|
|
|
stop: 0 #fff,
|
|
|
|
stop: 0.4999 #eee,
|
|
|
|
stop: 0.5 #ddd,
|
|
|
|
stop: 1 #eee );
|
|
|
|
width: 15px;
|
|
|
|
}
|
|
|
|
QProgressBar::chunk {
|
|
|
|
background: QLinearGradient( x1: 0, y1: 0, x2: 1, y2: 0,
|
|
|
|
stop: 0 #78d,
|
|
|
|
stop: 0.4999 #46a,
|
|
|
|
stop: 0.5 #45a,
|
|
|
|
stop: 1 #238 );
|
|
|
|
border-top-left-radius: 7px;
|
|
|
|
border-bottom-left-radius: 7px;
|
|
|
|
border: 1px solid black;
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>24</number>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="format">
|
|
|
|
<string>%p Kb</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="cancelButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Cancel Download</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/delete.png</normaloff>:/images/delete.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-10-10 12:43:37 -04:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="downloadButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
2010-10-10 12:43:37 -04:00
|
|
|
<property name="minimumSize">
|
2010-09-12 16:27:03 -04:00
|
|
|
<size>
|
2010-10-10 12:43:37 -04:00
|
|
|
<width>0</width>
|
|
|
|
<height>26</height>
|
2010-09-12 16:27:03 -04:00
|
|
|
</size>
|
|
|
|
</property>
|
2010-10-10 12:43:37 -04:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>Download File</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Download</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/download.png</normaloff>:/images/download.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
2010-09-12 16:27:03 -04:00
|
|
|
</item>
|
2010-10-10 12:43:37 -04:00
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="playButton">
|
2010-09-12 16:27:03 -04:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2010-10-10 12:43:37 -04:00
|
|
|
<string>Play File</string>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-10-10 12:43:37 -04:00
|
|
|
<string>Play</string>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
2010-10-10 12:43:37 -04:00
|
|
|
<normaloff>:/images/player_play.png</normaloff>:/images/player_play.png</iconset>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2011-07-06 19:46:16 -04:00
|
|
|
<item>
|
2010-09-12 16:27:03 -04:00
|
|
|
<widget class="QPushButton" name="saveButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>26</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Save File</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/save24.png</normaloff>:/images/save24.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<resources>
|
|
|
|
<include location="../images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|