2010-08-31 13:13:52 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>ChatMsgItem</class>
|
|
|
|
<widget class="QWidget" name="ChatMsgItem">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-09-08 18:46:26 -04:00
|
|
|
<width>543</width>
|
2012-03-04 17:00:28 -05:00
|
|
|
<height>201</height>
|
2010-08-31 13:13:52 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
2010-08-31 18:42:40 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_1">
|
2010-08-31 13:13:52 -04:00
|
|
|
<property name="margin">
|
2012-03-04 17:00:28 -05:00
|
|
|
<number>0</number>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
<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">
|
|
|
|
<red>254</red>
|
|
|
|
<green>246</green>
|
|
|
|
<blue>222</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</active>
|
|
|
|
<inactive>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="255">
|
|
|
|
<red>254</red>
|
|
|
|
<green>246</green>
|
|
|
|
<blue>222</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</inactive>
|
|
|
|
<disabled>
|
|
|
|
<colorrole role="Window">
|
|
|
|
<brush brushstyle="SolidPattern">
|
|
|
|
<color alpha="255">
|
|
|
|
<red>254</red>
|
|
|
|
<green>246</green>
|
|
|
|
<blue>222</blue>
|
|
|
|
</color>
|
|
|
|
</brush>
|
|
|
|
</colorrole>
|
|
|
|
</disabled>
|
|
|
|
</palette>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Box</enum>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
2012-09-07 13:30:23 -04:00
|
|
|
<enum>QFrame::Sunken</enum>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
2010-08-31 16:55:40 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2010-08-31 13:13:52 -04:00
|
|
|
<item row="0" column="0" rowspan="2">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2010-08-31 16:55:40 -04:00
|
|
|
<item row="0" column="0">
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="AvatarWidget" name="avatar">
|
2010-08-31 13:13:52 -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>
|
2010-08-31 16:55:40 -04:00
|
|
|
<item row="1" column="0">
|
|
|
|
<spacer name="verticalSpacer">
|
2010-08-31 13:13:52 -04:00
|
|
|
<property name="orientation">
|
2010-08-31 16:55:40 -04:00
|
|
|
<enum>Qt::Vertical</enum>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2010-08-31 16:55:40 -04:00
|
|
|
<width>20</width>
|
|
|
|
<height>1</height>
|
2010-08-31 13:13:52 -04:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2010-08-31 16:55:40 -04:00
|
|
|
<item row="0" column="1">
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="QLabel" name="peerNameLabel">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>14</pointsize>
|
|
|
|
</font>
|
2010-08-31 16:55:40 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-09-12 16:27:03 -04:00
|
|
|
<string notr="true">Peer Name</string>
|
2010-08-31 16:55:40 -04:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>267</width>
|
|
|
|
<height>21</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QLabel" name="timestampLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-09-12 16:27:03 -04:00
|
|
|
<string notr="true">TextLabel</string>
|
2010-08-31 16:55:40 -04:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="4">
|
|
|
|
<widget class="QPushButton" name="clearButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Remove Item</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/close_normal.png</normaloff>:/images/close_normal.png</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1" colspan="4">
|
|
|
|
<widget class="QLabel" name="chatTextlabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-09-12 16:27:03 -04:00
|
|
|
<string notr="true">Text Label</string>
|
2010-08-31 16:55:40 -04:00
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
|
|
</property>
|
|
|
|
<property name="wordWrap">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2011-10-08 13:49:06 -04:00
|
|
|
<property name="openExternalLinks">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
2010-08-31 16:55:40 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0" colspan="5">
|
|
|
|
<widget class="QFrame" name="frame_2">
|
2010-09-08 12:27:13 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
2010-08-31 16:55:40 -04:00
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2010-09-08 18:46:26 -04:00
|
|
|
<item row="0" column="0" colspan="6">
|
2012-09-07 13:30:23 -04:00
|
|
|
<widget class="QFrame" name="messageFrame">
|
2010-09-08 12:27:13 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QTextEdit" name="quickmsgText">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>115</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QToolButton" name="quickmsgButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Write a quick Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/message-mail.png</normaloff>:/images/message-mail.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
|
</property>
|
|
|
|
<property name="autoRaise">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
2010-08-31 16:55:40 -04:00
|
|
|
<widget class="QToolButton" name="msgButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Send Mail</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Write Message</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/mail_send.png</normaloff>:/images/mail_send.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
|
</property>
|
|
|
|
<property name="autoRaise">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-09-08 12:27:13 -04:00
|
|
|
<item row="1" column="2">
|
2010-08-31 16:55:40 -04:00
|
|
|
<widget class="QToolButton" name="chatButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2010-09-12 16:27:03 -04:00
|
|
|
<string>Start Chat</string>
|
2010-08-31 16:55:40 -04:00
|
|
|
</property>
|
|
|
|
<property name="layoutDirection">
|
|
|
|
<enum>Qt::LeftToRight</enum>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Start Chat</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../images.qrc">
|
|
|
|
<normaloff>:/images/chat.png</normaloff>:/images/chat.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="toolButtonStyle">
|
|
|
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
|
|
|
</property>
|
|
|
|
<property name="autoRaise">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-09-08 12:27:13 -04:00
|
|
|
<item row="1" column="3">
|
2010-08-31 16:55:40 -04:00
|
|
|
<spacer name="horizontalSpacer_3">
|
2010-08-31 13:13:52 -04:00
|
|
|
<property name="orientation">
|
2010-08-31 16:55:40 -04:00
|
|
|
<enum>Qt::Horizontal</enum>
|
2010-08-31 13:13:52 -04:00
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
2010-08-31 16:55:40 -04:00
|
|
|
<width>347</width>
|
|
|
|
<height>17</height>
|
2010-08-31 13:13:52 -04:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2010-09-08 18:46:26 -04:00
|
|
|
<item row="1" column="5">
|
2010-09-08 12:27:13 -04:00
|
|
|
<widget class="QPushButton" name="sendButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Send</string>
|
|
|
|
</property>
|
2010-09-08 18:46:26 -04:00
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="4">
|
|
|
|
<widget class="QPushButton" name="cancelButton">
|
|
|
|
<property name="text">
|
|
|
|
<string>Cancel</string>
|
|
|
|
</property>
|
2010-09-08 12:27:13 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
2010-08-31 13:13:52 -04:00
|
|
|
</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>
|
2010-08-31 13:13:52 -04:00
|
|
|
<resources>
|
|
|
|
<include location="../images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|