RetroShare/retroshare-gui/src/gui/MessengerWindow.ui
defnax 171a5bef0d * set Qt::IgnoreAspectRatio for pictures
* added for MessengerWindow the new getAvatar and updateAvatar function


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@961 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2009-01-30 23:51:59 +00:00

335 lines
11 KiB
XML

<ui version="4.0" >
<class>MessengerWindow</class>
<widget class="QMainWindow" name="MessengerWindow" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>270</width>
<height>511</height>
</rect>
</property>
<property name="windowTitle" >
<string>RetroShare Messenger</string>
</property>
<property name="windowIcon" >
<iconset resource="images.qrc" >
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<property name="geometry" >
<rect>
<x>0</x>
<y>30</y>
<width>270</width>
<height>481</height>
</rect>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QFrame" name="messengerframetop" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" >
<property name="leftMargin" >
<number>6</number>
</property>
<property name="topMargin" >
<number>6</number>
</property>
<property name="rightMargin" >
<number>6</number>
</property>
<property name="bottomMargin" >
<number>2</number>
</property>
<property name="spacing" >
<number>0</number>
</property>
<item row="0" column="0" colspan="2" >
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QToolButton" name="avatarButton" >
<property name="minimumSize" >
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>70</width>
<height>70</height>
</size>
</property>
<property name="toolTip" >
<string>Click to Change your Avatar</string>
</property>
<property name="styleSheet" >
<string notr="true" >border-image: url(:/images/mystatus_bg.png);</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/user/personal64.png</normaloff>:/images/user/personal64.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" >
<layout class="QGridLayout" >
<property name="margin" >
<number>4</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QComboBox" name="statuscomboBox" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="toolTip" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Change your Status and your display&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">picture here.&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="insertPolicy" >
<enum>QComboBox::NoInsert</enum>
</property>
<property name="frame" >
<bool>true</bool>
</property>
<property name="modelColumn" >
<number>0</number>
</property>
<item>
<property name="text" >
<string>Online</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/donline.png</normaloff>:/images/donline.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>Busy</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/dbusy.png</normaloff>:/images/dbusy.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>Be right Back</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/dbrb.png</normaloff>:/images/dbrb.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>Away</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/daway.png</normaloff>:/images/daway.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>In a Call</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/dphone.png</normaloff>:/images/dphone.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>Out of lunch</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/dlunch.png</normaloff>:/images/dlunch.png</iconset>
</property>
</item>
<item>
<property name="text" >
<string>Apear Offline</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/dhidden.png</normaloff>:/images/dhidden.png</iconset>
</property>
</item>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QComboBox" name="messagecomboBox" >
<property name="toolTip" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Share a personal message with your contacts&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="editable" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="1" column="0" >
<widget class="QToolButton" name="shareButton" >
<property name="toolTip" >
<string>Share Files for your Friends</string>
</property>
<property name="styleSheet" >
<string notr="true" />
</property>
<property name="text" >
<string>...</string>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/friendsfolder24.png</normaloff>:/images/friendsfolder24.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>221</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" >
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" colspan="2" >
<widget class="QTreeWidget" name="messengertreeWidget" >
<property name="contextMenuPolicy" >
<enum>Qt::CustomContextMenu</enum>
</property>
<property name="iconSize" >
<size>
<width>18</width>
<height>18</height>
</size>
</property>
<property name="columnCount" >
<number>0</number>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLineEdit" name="searchlineEdit" />
</item>
<item row="0" column="1" >
<widget class="QToolButton" name="addIMAccountButton" >
<property name="toolTip" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Add a Friend&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="text" >
<string/>
</property>
<property name="icon" >
<iconset resource="images.qrc" >
<normaloff>:/images/user/add_user24.png</normaloff>:/images/user/add_user24.png</iconset>
</property>
<property name="iconSize" >
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
<property name="autoRaise" >
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QFrame" name="logoframe" >
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>270</width>
<height>30</height>
</rect>
</property>
</widget>
</widget>
<resources>
<include location="images.qrc" />
</resources>
<connections/>
</ui>