2010-09-12 16:27:03 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MsgItem</class>
|
|
|
|
<widget class="QWidget" name="MsgItem">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2014-01-16 19:40:28 -05:00
|
|
|
<width>643</width>
|
|
|
|
<height>140</height>
|
2010-09-12 16:27:03 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout">
|
2014-11-15 12:24:49 -05:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>1</number>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="sizePolicy">
|
2014-01-16 19:40:28 -05:00
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
2010-09-12 16:27:03 -04:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2012-09-07 13:30:23 -04:00
|
|
|
<property name="palette">
|
|
|
|
<palette>
|
|
|
|
<active>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="255">
|
2012-09-13 05:52:17 -04:00
|
|
|
<red>51</red>
|
|
|
|
<green>174</green>
|
|
|
|
<blue>255</blue>
|
2012-09-07 13:30:23 -04:00
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</active>
|
|
|
|
<inactive>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="255">
|
2012-09-13 05:52:17 -04:00
|
|
|
<red>51</red>
|
|
|
|
<green>174</green>
|
|
|
|
<blue>255</blue>
|
2012-09-07 13:30:23 -04:00
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</inactive>
|
|
|
|
<disabled>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="255">
|
2012-09-13 05:52:17 -04:00
|
|
|
<red>51</red>
|
|
|
|
<green>174</green>
|
|
|
|
<blue>255</blue>
|
2012-09-07 13:30:23 -04:00
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</disabled>
|
|
|
|
</palette>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Box</enum>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Sunken</enum>
|
2010-09-12 16:27:03 -04:00
|
|
|
</property>
|
2012-04-02 11:57:44 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
2010-09-12 16:27:03 -04:00
|
|
|
<item row="0" column="0">
|
2012-04-02 11:57:44 -04:00
|
|
|
<widget class="QFrame" name="frame_2">
|
2014-01-16 19:40:28 -05:00
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2012-04-02 11:57:44 -04:00
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0" rowspan="3">
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="AvatarWidget" name="avatar">
|
2012-04-02 11:57:44 -04:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>70</width>
|
|
|
|
<height>70</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>70</width>
|
|
|
|
<height>70</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="titleLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<italic>true</italic>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-16 19:40:28 -05:00
|
|
|
<item row="0" column="2">
|
2012-04-02 11:57:44 -04:00
|
|
|
<spacer>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>QSizePolicy::Preferred</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>557</width>
|
|
|
|
<height>18</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2014-01-16 19:40:28 -05:00
|
|
|
<item row="0" column="3">
|
2012-04-02 11:57:44 -04:00
|
|
|
<widget class="QLabel" name="timestampLabel">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2012-04-25 15:19:16 -04:00
|
|
|
<string notr="true">TextLabel</string>
|
2012-04-02 11:57:44 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-16 19:40:28 -05:00
|
|
|
<item row="1" column="1" colspan="2">
|
2012-04-02 11:57:44 -04:00
|
|
|
<widget class="QLabel" name="subjectLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">subjectLabel</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-01-16 19:40:28 -05:00
|
|
|
<item row="2" column="1" colspan="3">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QToolButton" name="replyButton">
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Reply to Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Reply Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/mail_reply.png</normaloff>:/images/mail_reply.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
|
</property>
|
|
|
|
<property name="autoRaise">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>424</width>
|
|
|
|
<height>20</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="deleteButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Delete Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/mail_delete.png</normaloff>:/images/mail_delete.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="playButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Play Media</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/startall.png</normaloff>:/images/startall.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="expandButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Expand</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/edit_add24.png</normaloff>:/images/edit_add24.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="clearButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="focusPolicy">
|
|
|
|
<enum>Qt::NoFocus</enum>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Remove Item</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/close_normal.png</normaloff>:/images/close_normal.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2012-04-02 11:57:44 -04:00
|
|
|
</item>
|
|
|
|
</layout>
|
2010-09-12 16:27:03 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
2012-04-02 11:57:44 -04:00
|
|
|
<item row="1" column="0">
|
2010-09-12 16:27:03 -04:00
|
|
|
<widget class="QFrame" name="expandFrame">
|
|
|
|
<layout class="QVBoxLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="msgLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string notr="true">Long
|
|
|
|
message here</string>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2011-01-13 17:19:20 -05:00
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2010-09-12 16:27:03 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
2011-09-05 17:19:07 -04:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>AvatarWidget</class>
|
2012-05-21 15:37:38 -04:00
|
|
|
<extends>QLabel</extends>
|
2011-09-05 17:19:07 -04:00
|
|
|
<header>gui/common/AvatarWidget.h</header>
|
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2011-01-26 18:09:25 -05:00
|
|
|
<resources>
|
|
|
|
<include location="../images.qrc"/>
|
|
|
|
</resources>
|
2010-09-12 16:27:03 -04:00
|
|
|
<connections/>
|
|
|
|
</ui>
|