restored open messenger to main window left hand panel

replaced messenger peer icons with avatars




git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2735 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-04-20 08:42:45 +00:00
parent 38463c905e
commit ab477885c3
3 changed files with 490 additions and 469 deletions

View File

@ -96,7 +96,7 @@ void MessengerWindow::releaseInstance()
/** Constructor */ /** Constructor */
MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags) MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
: RWindow("MessengerWindow", parent, flags) : RWindow("MessengerWindow", parent, flags)
{ {
/* Invoke the Qt Designer generated object setup routine */ /* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this); ui.setupUi(this);
@ -115,11 +115,6 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
connect(ui.messagelineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(savestatusmessage())); connect(ui.messagelineEdit, SIGNAL(textChanged(const QString &)), this, SLOT(savestatusmessage()));
QTimer *timer = new QTimer(this);
timer->connect(timer, SIGNAL(timeout()), this, SLOT(savestatus()));
timer->start(1000); /* one second */
/* to hide the header */ /* to hide the header */
ui.messengertreeWidget->header()->hide(); ui.messengertreeWidget->header()->hide();
@ -165,6 +160,7 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
#endif #endif
} }
void MessengerWindow::messengertreeWidgetCostumPopupMenu( QPoint point ) void MessengerWindow::messengertreeWidgetCostumPopupMenu( QPoint point )
{ {
QTreeWidgetItem *c = getCurrentPeer(); QTreeWidgetItem *c = getCurrentPeer();
@ -457,7 +453,6 @@ void MessengerWindow::insertPeers()
} }
} }
RsPeerDetails ssl_details;
int i = 0; int i = 0;
if (gpg_connected) { if (gpg_connected) {
@ -466,23 +461,45 @@ void MessengerWindow::insertPeers()
std::list<StatusInfo>::iterator it = statusInfo.begin(); std::list<StatusInfo>::iterator it = statusInfo.begin();
for(; it != statusInfo.end(); it++){
rsPeers->getPeerDetails(it->id, ssl_details); for(; it != statusInfo.end() ; it++){
if(detail.id == ssl_details.gpg_id){
std::list<std::string>::iterator cont_it = sslContacts.begin();
// don't forget the kids
for(; cont_it != sslContacts.end(); cont_it++){
if((it->id == *cont_it) && (rsPeers->isOnline(*cont_it))){
std::string status; std::string status;
rsStatus->getStatusString(it->status, status); rsStatus->getStatusString(it->status, status);
gpg_item -> setText(1, QString::fromStdString(status)); gpg_item -> setText(1, QString::fromStdString(status));
if(it->status == RS_STATUS_ONLINE) unsigned char *data = NULL;
gpg_item -> setIcon(0,(QIcon(IMAGE_ONLINE))); int size = 0 ;
else rsMsgs->getAvatarData(it->id ,data,size);
if(it->status == RS_STATUS_AWAY)
gpg_item -> setIcon(0,(QIcon(IMAGE_AWAY)));
else
if(it->status == RS_STATUS_BUSY)
gpg_item -> setIcon(0,(QIcon(IMAGE_BUSY)));
if(size != 0){
QPixmap avatar ;
avatar.loadFromData(data,size,"PNG") ;
QIcon avatar_icon(avatar);
QSize av_icon_size(100, 100);
gpg_item-> setIcon(0, avatar_icon);
delete[] data;
}else
if(it->status == RS_STATUS_ONLINE)
gpg_item -> setIcon(0,(QIcon(IMAGE_ONLINE)));
else
if(it->status == RS_STATUS_AWAY)
gpg_item -> setIcon(0,(QIcon(IMAGE_AWAY)));
else
if(it->status == RS_STATUS_BUSY)
gpg_item -> setIcon(0,(QIcon(IMAGE_BUSY)));
} }
}
} }

View File

@ -29,6 +29,7 @@
#include <gui/settings/rsharesettings.h> #include <gui/settings/rsharesettings.h>
#include <gui/common/rwindow.h> #include <gui/common/rwindow.h>
#include "chat/PopupChatDialog.h" #include "chat/PopupChatDialog.h"
#include "RsAutoUpdatePage.h"
class LogoBar; class LogoBar;

View File

@ -1,451 +1,454 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0"> <ui version="4.0">
<class>MessengerWindow</class> <class>MessengerWindow</class>
<widget class="QMainWindow" name="MessengerWindow"> <widget class="QMainWindow" name="MessengerWindow">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>295</width> <width>295</width>
<height>507</height> <height>507</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>RetroShare Messenger</string> <string>RetroShare Messenger</string>
</property> </property>
<property name="windowIcon"> <property name="windowIcon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset> <normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<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="messengerframetop"> <widget class="QFrame" name="messengerframetop">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#messengerframetop { <string notr="true">#messengerframetop {
border: none; border: none;
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
stop: 0 #a6a6a6, stop: 0.08 #7f7f7f, stop: 0 #a6a6a6, stop: 0.08 #7f7f7f,
stop: 0.39999 #717171, stop: 0.4 #626262, stop: 0.39999 #717171, stop: 0.4 #626262,
stop: 0.9 #4c4c4c, stop: 1 #333333); stop: 0.9 #4c4c4c, stop: 1 #333333);
} }
</string> </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>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="leftMargin"> <property name="leftMargin">
<number>6</number> <number>6</number>
</property> </property>
<property name="topMargin"> <property name="topMargin">
<number>6</number> <number>6</number>
</property> </property>
<property name="rightMargin"> <property name="rightMargin">
<number>6</number> <number>6</number>
</property> </property>
<property name="bottomMargin"> <property name="bottomMargin">
<number>2</number> <number>2</number>
</property> </property>
<property name="spacing"> <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<item row="0" column="0" colspan="2"> <item row="0" column="0" colspan="2">
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QToolButton" name="avatarButton"> <widget class="QToolButton" name="avatarButton">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>70</width> <width>70</width>
<height>70</height> <height>70</height>
</size> </size>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>70</width> <width>70</width>
<height>70</height> <height>70</height>
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Click to Change your Avatar</string> <string>Click to Change your Avatar</string>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QToolButton#avatarButton{border-image: url(:/images/mystatus_bg.png);}</string> <string notr="true">QToolButton#avatarButton{border-image: url(:/images/mystatus_bg.png);}</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/user/personal64.png</normaloff>:/images/user/personal64.png</iconset> <normaloff>:/images/user/personal64.png</normaloff>:/images/user/personal64.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>50</width> <width>50</width>
<height>50</height> <height>50</height>
</size> </size>
</property> </property>
<property name="autoRaise"> <property name="autoRaise">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="margin">
<number>4</number> <number>4</number>
</property> </property>
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QComboBox" name="statuscomboBox"> <widget class="QComboBox" name="statuscomboBox">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Change your Status and your display&lt;/p&gt; &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Change your Status and your display&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;picture here.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;picture here.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="insertPolicy"> <property name="insertPolicy">
<enum>QComboBox::NoInsert</enum> <enum>QComboBox::NoInsert</enum>
</property> </property>
<property name="frame"> <property name="frame">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="modelColumn"> <property name="modelColumn">
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<property name="text"> <property name="text">
<string>Online</string> <string>Online</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/im-user.png</normaloff>:/images/im-user.png</iconset> <normaloff>:/images/im-user.png</normaloff>:/images/im-user.png</iconset>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>Busy</string> <string>Busy</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/im-user-busy.png</normaloff>:/images/im-user-busy.png</iconset> <normaloff>:/images/im-user-busy.png</normaloff>:/images/im-user-busy.png</iconset>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>Away</string> <string>Away</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/im-user-away.png</normaloff>:/images/im-user-away.png</iconset> <normaloff>:/images/im-user-away.png</normaloff>:/images/im-user-away.png</iconset>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLineEdit" name="messagelineEdit"> <widget class="QLineEdit" name="messagelineEdit">
<property name="toolTip"> <property name="toolTip">
<string>Change your Personal Status here...</string> <string>Change your Personal Status here...</string>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">border: 1px solid #CCCCCC;</string> <string notr="true">border: 1px solid #CCCCCC;</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="nicklabel"> <widget class="QLabel" name="nicklabel">
<property name="text"> <property name="text">
<string>TextLabel</string> <string>TextLabel</string>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
</layout> </layout>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QFrame" name="frame"> <widget class="QFrame" name="frame">
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>16777215</width>
<height>38</height> <height>38</height>
</size> </size>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#frame { <string notr="true">#frame {
border-image:none; border-image:none;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0.0, y2: 1.0, background-color: qlineargradient(x1: 0, y1: 0, x2: 0.0, y2: 1.0,
stop: 0 #ffffff, stop: 0 #ffffff,
stop: 0.4 #eeeeee, stop: 0.4 #eeeeee,
stop: 0.401 #e2e2e2, stop: 0.401 #e2e2e2,
stop: 1 #dddddd); stop: 1 #dddddd);
color: #CCCCCC; color: #CCCCCC;
border-top: 1px solid #606060; border-top: 1px solid #606060;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
}</string> }</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>
<layout class="QGridLayout" name="gridLayout_2"> <layout class="QGridLayout" name="gridLayout_2">
<property name="margin"> <property name="margin">
<number>6</number> <number>6</number>
</property> </property>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QToolButton" name="addIMAccountButton"> <widget class="QToolButton" name="addIMAccountButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>32</width> <width>32</width>
<height>32</height> <height>32</height>
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; <string>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt; &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Arial'; font-size:8pt; font-weight:400; font-style:normal; text-decoration:none;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Add a Friend&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Add a Friend&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</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/user/add_user24.png</normaloff>:/images/user/add_user24.png</iconset> <normaloff>:/images/user/add_user24.png</normaloff>:/images/user/add_user24.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolButtonStyle"> <property name="toolButtonStyle">
<enum>Qt::ToolButtonTextBesideIcon</enum> <enum>Qt::ToolButtonTextBesideIcon</enum>
</property> </property>
<property name="autoRaise"> <property name="autoRaise">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QToolButton" name="shareButton"> <widget class="QToolButton" name="shareButton">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Expanding"> <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>Share Files for your Friends</string> <string>Share Files for your Friends</string>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>...</string> <string>...</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="images.qrc"> <iconset resource="images.qrc">
<normaloff>:/images/friendsfolder24.png</normaloff>:/images/friendsfolder24.png</iconset> <normaloff>:/images/friendsfolder24.png</normaloff>:/images/friendsfolder24.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="autoRaise"> <property name="autoRaise">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="0" column="2">
<widget class="QPushButton" name="displaypushButton"> <widget class="QPushButton" name="displaypushButton">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QPushButton::menu-indicator { <string notr="true">QPushButton::menu-indicator {
subcontrol-origin: padding; subcontrol-origin: padding;
subcontrol-position: bottom right; subcontrol-position: bottom right;
} }
</string> </string>
</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/looknfeel.png</normaloff>:/images/looknfeel.png</iconset> <normaloff>:/images/looknfeel.png</normaloff>:/images/looknfeel.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="flat"> <property name="flat">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<spacer name="horizontalSpacer"> <spacer name="horizontalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
<width>161</width> <width>161</width>
<height>20</height> <height>20</height>
</size> </size>
</property> </property>
</spacer> </spacer>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="3" column="0"> <item row="3" column="0">
<widget class="QFrame" name="logoframe"> <widget class="QFrame" name="logoframe">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QFrame#logoframe{ <string notr="true">QFrame#logoframe{
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: 1px solid #CCCCCC;}</string> border: 1px solid #CCCCCC;}</string>
</property> </property>
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::NoFrame</enum> <enum>QFrame::NoFrame</enum>
</property> </property>
<property name="frameShadow"> <property name="frameShadow">
<enum>QFrame::Raised</enum> <enum>QFrame::Raised</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QFrame" name="frame_2"> <widget class="QFrame" name="frame_2">
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QFrame#frame_2{ <string notr="true">QFrame#frame_2{
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);
}</string> }</string>
</property> </property>
<layout class="QGridLayout"> <layout class="QGridLayout">
<property name="margin"> <property name="margin">
<number>9</number> <number>9</number>
</property> </property>
<property name="spacing"> <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<item row="1" column="0" colspan="2"> <item row="1" column="0" colspan="2">
<widget class="QTreeWidget" name="messengertreeWidget"> <widget class="QTreeWidget" name="messengertreeWidget">
<property name="contextMenuPolicy"> <property name="contextMenuPolicy">
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">border: 1px solid #CCCCCC;</string> <string notr="true">border: 1px solid #CCCCCC;</string>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
<width>18</width> <width>40</width>
<height>18</height> <height>40</height>
</size> </size>
</property> </property>
<property name="indentation"> <property name="indentation">
<number>22</number> <number>22</number>
</property> </property>
<property name="columnCount"> <property name="columnCount">
<number>0</number> <number>0</number>
</property> </property>
<attribute name="headerShowSortIndicator" stdset="0"> <attribute name="headerShowSortIndicator" stdset="0">
<bool>false</bool> <bool>false</bool>
</attribute> </attribute>
</widget> <attribute name="headerShowSortIndicator" stdset="0">
</item> <bool>false</bool>
</layout> </attribute>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QMenuBar" name="menubar"> </item>
<property name="geometry"> </layout>
<rect> </widget>
<x>0</x> <widget class="QMenuBar" name="menubar">
<y>0</y> <property name="geometry">
<width>295</width> <rect>
<height>27</height> <x>0</x>
</rect> <y>0</y>
</property> <width>295</width>
</widget> <height>21</height>
<action name="actionSort_Peers_Descending_Order"> </rect>
<property name="icon"> </property>
<iconset resource="images.qrc"> </widget>
<normaloff>:/images/sort_decrease.png</normaloff>:/images/sort_decrease.png</iconset> <action name="actionSort_Peers_Descending_Order">
</property> <property name="icon">
<property name="text"> <iconset resource="images.qrc">
<string>Sort Descending Order</string> <normaloff>:/images/sort_decrease.png</normaloff>:/images/sort_decrease.png</iconset>
</property> </property>
<property name="toolTip"> <property name="text">
<string>Sort Descending Order</string> <string>Sort Descending Order</string>
</property> </property>
</action> <property name="toolTip">
<action name="actionSort_Peers_Ascending_Order"> <string>Sort Descending Order</string>
<property name="icon"> </property>
<iconset resource="images.qrc"> </action>
<normaloff>:/images/sort_incr.png</normaloff>:/images/sort_incr.png</iconset> <action name="actionSort_Peers_Ascending_Order">
</property> <property name="icon">
<property name="text"> <iconset resource="images.qrc">
<string>Sort Ascending Order</string> <normaloff>:/images/sort_incr.png</normaloff>:/images/sort_incr.png</iconset>
</property> </property>
<property name="toolTip"> <property name="text">
<string>Sort Ascending Order</string> <string>Sort Ascending Order</string>
</property> </property>
</action> <property name="toolTip">
<action name="actionRoot_is_decorated"> <string>Sort Ascending Order</string>
<property name="text"> </property>
<string>Set root is Decorated</string> </action>
</property> <action name="actionRoot_is_decorated">
<property name="toolTip"> <property name="text">
<string>Set Root Decorated</string> <string>Set root is Decorated</string>
</property> </property>
</action> <property name="toolTip">
<action name="actionRoot_isnot_decorated"> <string>Set Root Decorated</string>
<property name="text"> </property>
<string>Set Root is not Decorated</string> </action>
</property> <action name="actionRoot_isnot_decorated">
</action> <property name="text">
<action name="actionHide_Offline_Friends"> <string>Set Root is not Decorated</string>
<property name="checkable"> </property>
<bool>true</bool> </action>
</property> <action name="actionHide_Offline_Friends">
<property name="text"> <property name="checkable">
<string>Hide Offline Friends</string> <bool>true</bool>
</property> </property>
</action> <property name="text">
</widget> <string>Hide Offline Friends</string>
<resources> </property>
<include location="images.qrc"/> </action>
</resources> </widget>
<connections/> <resources>
</ui> <include location="images.qrc"/>
</resources>
<connections/>
</ui>