- UI changes to Message Toaster to display Subject and Content for the messages

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
ruchijain 2010-06-13 10:22:55 +00:00
parent 39c6af6638
commit 61f2c14663

View File

@ -1,306 +1,282 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>MessageToaster</class> <class>MessageToaster</class>
<widget class="QWidget" name="MessageToaster"> <widget class="QWidget" name="MessageToaster">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>304</width> <width>304</width>
<height>113</height> <height>125</height>
</rect> </rect>
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string/> <string/>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout">
<property name="margin"> <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QFrame#frame{ <string notr="true">QFrame#frame{
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #FEFEFE, stop:1 #E8E8E8); stop:0 #FEFEFE, stop:1 #E8E8E8);
border: 2px solid #CCCCCC;}</string> border: 2px solid #CCCCCC;}</string>
</property> </property>
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::StyledPanel</enum> <enum>QFrame::StyledPanel</enum>
</property> </property>
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
<widget class="QToolButton" name="openmessagetoolButton"> <widget class="QToolButton" name="openmessagetoolButton">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>10</x> <x>10</x>
<y>30</y> <y>30</y>
<width>61</width> <width>61</width>
<height>61</height> <height>61</height>
</rect> </rect>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>64</width> <width>64</width>
<height>64</height> <height>64</height>
</size> </size>
</property> </property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../images.qrc"> <iconset resource="../images.qrc">
<normaloff>:/images/folder_inbox64.png</normaloff>:/images/folder_inbox64.png</iconset> <normaloff>:/images/folder_inbox64.png</normaloff>:/images/folder_inbox64.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>64</width> <width>64</width>
<height>64</height> <height>64</height>
</size> </size>
</property> </property>
<property name="autoRaise"> <property name="autoRaise">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</widget> <widget class="QLineEdit" name="subjectline">
</item> <property name="enabled">
</layout> <bool>false</bool>
<widget class="QLabel" name="messagelabel"> </property>
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>80</x> <x>85</x>
<y>30</y> <y>30</y>
<width>171</width> <width>161</width>
<height>61</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="palette"> <property name="autoFillBackground">
<palette> <bool>false</bool>
<active> </property>
<colorrole role="WindowText"> </widget>
<brush brushstyle="SolidPattern"> <widget class="QTextBrowser" name="contentBrowser">
<color alpha="255"> <property name="enabled">
<red>0</red> <bool>false</bool>
<green>0</green> </property>
<blue>127</blue> <property name="geometry">
</color> <rect>
</brush> <x>85</x>
</colorrole> <y>50</y>
<colorrole role="Window"> <width>161</width>
<brush brushstyle="SolidPattern"> <height>60</height>
<color alpha="255"> </rect>
<red>255</red> </property>
<green>247</green> <property name="autoFillBackground">
<blue>221</blue> <bool>false</bool>
</color> </property>
</brush> <property name="verticalScrollBarPolicy">
</colorrole> <enum>Qt::ScrollBarAlwaysOff</enum>
</active> </property>
<inactive> <property name="horizontalScrollBarPolicy">
<colorrole role="WindowText"> <enum>Qt::ScrollBarAlwaysOff</enum>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> </widget>
<red>0</red> <widget class="QFrame" name="frame_2">
<green>0</green> <property name="geometry">
<blue>127</blue> <rect>
</color> <x>84</x>
</brush> <y>29</y>
</colorrole> <width>161</width>
<colorrole role="Window"> <height>81</height>
<brush brushstyle="SolidPattern"> </rect>
<color alpha="255"> </property>
<red>255</red> <property name="autoFillBackground">
<green>247</green> <bool>false</bool>
<blue>221</blue> </property>
</color> <property name="styleSheet">
</brush> <string notr="true">border: 2.3px solid #CCCCCC;
</colorrole> </string>
</inactive> </property>
<disabled> <property name="frameShape">
<colorrole role="WindowText"> <enum>QFrame::StyledPanel</enum>
<brush brushstyle="SolidPattern"> </property>
<color alpha="255"> <property name="frameShadow">
<red>117</red> <enum>QFrame::Raised</enum>
<green>116</green> </property>
<blue>118</blue> <property name="lineWidth">
</color> <number>5</number>
</brush> </property>
</colorrole> </widget>
<colorrole role="Window"> </widget>
<brush brushstyle="SolidPattern"> </item>
<color alpha="255"> </layout>
<red>255</red> <widget class="QToolButton" name="openmessagebtn">
<green>247</green> <property name="geometry">
<blue>221</blue> <rect>
</color> <x>260</x>
</brush> <y>43</y>
</colorrole> <width>31</width>
</disabled> <height>31</height>
</palette> </rect>
</property> </property>
<property name="styleSheet"> <property name="focusPolicy">
<string notr="true">QLabel#messagelabel{ <enum>Qt::NoFocus</enum>
</property>
border: 2px solid #CCCCCC; <property name="toolTip">
border-radius: 10px }</string> <string>Play video</string>
</property> </property>
<property name="text"> <property name="whatsThis">
<string/> <string/>
</property> </property>
<property name="wordWrap"> <property name="accessibleName">
<bool>true</bool> <string>Play button</string>
</property> </property>
</widget> <property name="accessibleDescription">
<widget class="QToolButton" name="openmessagebtn"> <string>Play the downloaded video</string>
<property name="geometry"> </property>
<rect> <property name="text">
<x>260</x> <string/>
<y>43</y> </property>
<width>31</width> <property name="icon">
<height>31</height> <iconset resource="../images.qrc">
</rect> <normaloff>:/images/evolution.png</normaloff>:/images/evolution.png</iconset>
</property> </property>
<property name="focusPolicy"> <property name="iconSize">
<enum>Qt::NoFocus</enum> <size>
</property> <width>22</width>
<property name="toolTip"> <height>22</height>
<string>Play video</string> </size>
</property> </property>
<property name="whatsThis"> <property name="autoRaise">
<string/> <bool>true</bool>
</property> </property>
<property name="accessibleName"> </widget>
<string>Play button</string> <widget class="QLabel" name="lblTitle">
</property> <property name="geometry">
<property name="accessibleDescription"> <rect>
<string>Play the downloaded video</string> <x>28</x>
</property> <y>1</y>
<property name="text"> <width>121</width>
<string/> <height>20</height>
</property> </rect>
<property name="icon"> </property>
<iconset resource="../images.qrc"> <property name="text">
<normaloff>:/images/evolution.png</normaloff>:/images/evolution.png</iconset> <string>&lt;b&gt;1 new Message from&lt;/b&gt;</string>
</property> </property>
<property name="iconSize"> </widget>
<size> <widget class="QLabel" name="label">
<width>22</width> <property name="geometry">
<height>22</height> <rect>
</size> <x>4</x>
</property> <y>3</y>
<property name="autoRaise"> <width>16</width>
<bool>true</bool> <height>16</height>
</property> </rect>
</widget> </property>
<widget class="QLabel" name="lblTitle"> <property name="text">
<property name="geometry"> <string/>
<rect> </property>
<x>28</x> <property name="pixmap">
<y>1</y> <pixmap resource="../images.qrc">:/images/rstray3.png</pixmap>
<width>121</width> </property>
<height>20</height> <property name="scaledContents">
</rect> <bool>true</bool>
</property> </property>
<property name="text"> </widget>
<string>&lt;b&gt;1 new Message from&lt;/b&gt;</string> <widget class="QToolButton" name="closebtn">
</property> <property name="geometry">
</widget> <rect>
<widget class="QLabel" name="label"> <x>279</x>
<property name="geometry"> <y>1</y>
<rect> <width>20</width>
<x>4</x> <height>20</height>
<y>3</y> </rect>
<width>16</width> </property>
<height>16</height> <property name="focusPolicy">
</rect> <enum>Qt::NoFocus</enum>
</property> </property>
<property name="text"> <property name="toolTip">
<string/> <string>Close</string>
</property> </property>
<property name="pixmap"> <property name="accessibleName">
<pixmap resource="../images.qrc">:/images/rstray3.png</pixmap> <string>Close button</string>
</property> </property>
<property name="scaledContents"> <property name="accessibleDescription">
<bool>true</bool> <string>Close the information dialog</string>
</property> </property>
</widget> <property name="text">
<widget class="QToolButton" name="closebtn"> <string/>
<property name="geometry"> </property>
<rect> <property name="icon">
<x>279</x> <iconset resource="../images.qrc">
<y>1</y> <normaloff>:/images/delete.png</normaloff>:/images/delete.png</iconset>
<width>20</width> </property>
<height>20</height> <property name="autoRaise">
</rect> <bool>true</bool>
</property> </property>
<property name="focusPolicy"> </widget>
<enum>Qt::NoFocus</enum> <widget class="QLabel" name="namelabel">
</property> <property name="geometry">
<property name="toolTip"> <rect>
<string>Close</string> <x>150</x>
</property> <y>0</y>
<property name="accessibleName"> <width>111</width>
<string>Close button</string> <height>21</height>
</property> </rect>
<property name="accessibleDescription"> </property>
<string>Close the information dialog</string> <property name="text">
</property> <string/>
<property name="text"> </property>
<string/> </widget>
</property> <zorder>frame</zorder>
<property name="icon"> <zorder>openmessagebtn</zorder>
<iconset resource="../images.qrc"> <zorder>lblTitle</zorder>
<normaloff>:/images/delete.png</normaloff>:/images/delete.png</iconset> <zorder>label</zorder>
</property> <zorder>closebtn</zorder>
<property name="autoRaise"> <zorder>namelabel</zorder>
<bool>true</bool> </widget>
</property> <tabstops>
</widget> <tabstop>openmessagebtn</tabstop>
<widget class="QLabel" name="namelabel"> <tabstop>closebtn</tabstop>
<property name="geometry"> </tabstops>
<rect> <resources>
<x>150</x> <include location="../images.qrc"/>
<y>0</y> </resources>
<width>111</width> <connections/>
<height>21</height> </ui>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<zorder>frame</zorder>
<zorder>messagelabel</zorder>
<zorder>openmessagebtn</zorder>
<zorder>lblTitle</zorder>
<zorder>label</zorder>
<zorder>closebtn</zorder>
<zorder>namelabel</zorder>
</widget>
<tabstops>
<tabstop>openmessagebtn</tabstop>
<tabstop>closebtn</tabstop>
</tabstops>
<resources>
<include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources>
<connections/>
</ui>