mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
2ba752fbfb
* Major Work on SubFileItem to display possible attachment/file states. * Added Download / Save buttons to SubFileItem. * Enabled Correct Name / Transfer state display in SubFileItem. * Disabled 'Local' Checks temporarily in SubFileItem. (for demo) * Disabled 'Remote' Drops temporarily in GeneralMsgDialog. (for demo) * Added File Details to TransferFeed. * Add 'Online' List to PeersFeed. * extended Msg Attachments to handle local/remote, and check for attachment errors. * enabled Attachment removal. * Updated RS Interface files. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@637 b45a01b8-16f6-495d-af2f-9b41ad6348cc
268 lines
7.3 KiB
XML
268 lines
7.3 KiB
XML
<ui version="4.0" >
|
|
<class>SubFileItem</class>
|
|
<widget class="QWidget" name="SubFileItem" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>607</width>
|
|
<height>57</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<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>
|
|
<property name="horizontalSpacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="verticalSpacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QFrame" name="frame" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape" >
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow" >
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" >
|
|
<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="fileLabel" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize" >
|
|
<size>
|
|
<width>300</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="font" >
|
|
<font>
|
|
<weight>75</weight>
|
|
<italic>true</italic>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text" >
|
|
<string>File Name</string>
|
|
</property>
|
|
<property name="wordWrap" >
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>100</width>
|
|
<height>26</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QProgressBar" name="progressBar" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="MinimumExpanding" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>50</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="value" >
|
|
<number>24</number>
|
|
</property>
|
|
<property name="format" >
|
|
<string>%p Kb</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="expandButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Expand</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/textedit/zoomin.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="saveButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Save File</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/save24.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="cancelButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Cancel Download</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/delete.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="downloadButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Download File</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/download.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="playButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Play File</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/start.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="images.qrc" />
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|