mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 19:04:25 -05:00
1f01c08de4
* Addition of new FeedItems (MsgItem / ChanNewItem ) * Removed CheckBoxes at the top of NewsFeed (should be in config) * Enabled subscribe/unsubscribeButtons in ChannelFeed. * Enabled ChanNewItem and MsgItem in NewsFeeds. * Remove Goto Section Button from FeedItems. * Disabled PlayMedia button - if no attachments. * Enabled Drag from Search Window (with new class SearchTreeWidget) * Enabled Drag from SharedFiles Dialog (mods to RemoteDirModel). * Enabled Drop in GeneralMsgDialog from Search/SharedFiles. * Updated Rs Interface (64 bits for filesize) * Other bits and bobs. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
325 lines
8.0 KiB
XML
325 lines
8.0 KiB
XML
<ui version="4.0" >
|
|
<class>GeneralMsgDialog</class>
|
|
<widget class="QDialog" name="GeneralMsgDialog" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>455</width>
|
|
<height>516</height>
|
|
</rect>
|
|
</property>
|
|
<property name="acceptDrops" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QComboBox" name="typeComboBox" >
|
|
<property name="acceptDrops" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Friend</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Channel</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Forum</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text" >
|
|
<string>Blog</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>20</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="destIdComboBox" />
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="addButton" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Add Message Destination</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="icon" >
|
|
<iconset resource="images.qrc" >:/images/loadcert16.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="destFrame" >
|
|
<property name="acceptDrops" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape" >
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow" >
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_2" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap" >
|
|
<pixmap resource="images.qrc" >:/images/contacts24.png</pixmap>
|
|
</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>10</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label" >
|
|
<property name="font" >
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Message Destination</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>271</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="fileFrame" >
|
|
<property name="minimumSize" >
|
|
<size>
|
|
<width>16</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="acceptDrops" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Drag and Drop Files from Search Results</string>
|
|
</property>
|
|
<property name="frameShape" >
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow" >
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QVBoxLayout" >
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_3" >
|
|
<property name="text" >
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap" >
|
|
<pixmap resource="images.qrc" >:/images/attachment.png</pixmap>
|
|
</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>10</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label_4" >
|
|
<property name="font" >
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Attachments</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>271</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" >
|
|
<item>
|
|
<widget class="QLabel" name="label_5" >
|
|
<property name="font" >
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Subject :</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="subjectEdit" />
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTextEdit" name="msgEdit" />
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox" >
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons" >
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="images.qrc" />
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>GeneralMsgDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>GeneralMsgDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel" >
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel" >
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|