2010-04-20 04:42:45 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>MessengerWindow</class>
|
|
|
|
<widget class="QMainWindow" name="MessengerWindow">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-10-05 19:18:27 -04:00
|
|
|
<width>258</width>
|
2010-05-23 20:59:12 -04:00
|
|
|
<height>482</height>
|
2010-04-20 04:42:45 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2010-09-12 10:10:28 -04:00
|
|
|
<string>RetroShare Messenger</string>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/rstray3.png</normaloff>:/images/rstray3.png</iconset>
|
|
|
|
</property>
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QFrame" name="messengerframetop">
|
2010-08-30 15:10:07 -04:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>82</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2010-04-20 04:42:45 -04:00
|
|
|
<property name="styleSheet">
|
2010-12-12 19:09:36 -05:00
|
|
|
<string notr="true"/>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
2010-08-30 15:10:07 -04:00
|
|
|
<enum>QFrame::NoFrame</enum>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
2010-08-30 15:10:07 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
|
|
<property name="margin">
|
2010-04-20 04:42:45 -04:00
|
|
|
<number>6</number>
|
|
|
|
</property>
|
2010-08-30 15:10:07 -04:00
|
|
|
<item row="0" column="0">
|
2011-09-05 17:19:07 -04:00
|
|
|
<widget class="AvatarWidget" name="avatar" native="true">
|
2010-08-30 15:10:07 -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">
|
|
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
2010-10-05 19:18:27 -04:00
|
|
|
<item row="1" column="0" colspan="2">
|
|
|
|
<widget class="QComboBox" name="messagelineEdit">
|
|
|
|
<property name="editable">
|
|
|
|
<bool>true</bool>
|
2010-09-11 14:08:38 -04:00
|
|
|
</property>
|
2010-10-05 19:18:27 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0" colspan="2">
|
|
|
|
<widget class="QPushButton" name="statusButton">
|
2010-04-20 04:42:45 -04:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
2010-10-02 14:17:05 -04:00
|
|
|
<width>0</width>
|
2010-10-05 19:18:27 -04:00
|
|
|
<height>16</height>
|
2010-04-20 04:42:45 -04:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
2010-10-05 19:18:27 -04:00
|
|
|
<string notr="true">QPushButton {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
QPushButton:hover {
|
2010-08-30 15:10:07 -04:00
|
|
|
border: 2px solid #8f8f91;
|
|
|
|
border-radius: 6px;
|
|
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
|
|
stop: 0 #f6f7fa, stop: 1 #dadbde);
|
|
|
|
min-width: 80px;
|
|
|
|
|
2010-10-05 19:18:27 -04:00
|
|
|
}
|
|
|
|
QPushButton:pressed {
|
2010-08-30 15:10:07 -04:00
|
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
|
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
2010-10-05 19:18:27 -04:00
|
|
|
}
|
2010-08-30 15:10:07 -04:00
|
|
|
|
2010-10-05 19:18:27 -04:00
|
|
|
QPushButton:flat {
|
2010-08-30 15:10:07 -04:00
|
|
|
border: none; /* no border for a flat push button */
|
2010-10-05 19:18:27 -04:00
|
|
|
}
|
2010-08-30 15:10:07 -04:00
|
|
|
|
2010-10-05 19:18:27 -04:00
|
|
|
QPushButton:default {
|
2010-08-30 15:10:07 -04:00
|
|
|
border-color: navy; /* make the default button prominent */
|
2010-10-05 19:18:27 -04:00
|
|
|
}</string>
|
2010-08-30 15:10:07 -04:00
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
2010-08-30 15:10:07 -04:00
|
|
|
</widget>
|
|
|
|
</item>
|
2010-04-20 04:42:45 -04:00
|
|
|
</layout>
|
|
|
|
</item>
|
2010-08-30 15:10:07 -04:00
|
|
|
<item row="1" column="1">
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2010-04-20 04:42:45 -04:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QFrame" name="frame">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2010-10-05 19:18:27 -04:00
|
|
|
<height>32</height>
|
2010-04-20 04:42:45 -04:00
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">#frame {
|
|
|
|
border-image:none;
|
|
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0.0, y2: 1.0,
|
|
|
|
stop: 0 #ffffff,
|
|
|
|
stop: 0.4 #eeeeee,
|
|
|
|
stop: 0.401 #e2e2e2,
|
|
|
|
stop: 1 #dddddd);
|
|
|
|
color: #CCCCCC;
|
|
|
|
border-top: 1px solid #606060;
|
|
|
|
border-bottom: 1px solid #CCCCCC;
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
<property name="margin">
|
2010-10-05 19:18:27 -04:00
|
|
|
<number>2</number>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
2010-12-12 18:41:45 -05:00
|
|
|
<item row="0" column="1">
|
2010-04-20 04:42:45 -04:00
|
|
|
<widget class="QToolButton" name="addIMAccountButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>32</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2010-09-13 16:05:55 -04:00
|
|
|
<string>Add a Friend</string>
|
2010-04-20 04:42:45 -04:00
|
|
|
</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>
|
2010-12-12 18:41:45 -05:00
|
|
|
<item row="0" column="2">
|
2010-04-20 04:42:45 -04:00
|
|
|
<widget class="QToolButton" name="shareButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Share Files for your Friends</string>
|
|
|
|
</property>
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true"/>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2010-09-12 10:10:28 -04:00
|
|
|
<string/>
|
2010-04-20 04:42:45 -04:00
|
|
|
</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>
|
2010-12-12 18:41:45 -05:00
|
|
|
<item row="0" column="3">
|
2010-04-20 04:42:45 -04:00
|
|
|
<widget class="QPushButton" name="displaypushButton">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QPushButton::menu-indicator {
|
|
|
|
subcontrol-origin: padding;
|
|
|
|
subcontrol-position: bottom right;
|
|
|
|
}
|
|
|
|
|
|
|
|
</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="images.qrc">
|
|
|
|
<normaloff>:/images/looknfeel.png</normaloff>:/images/looknfeel.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="flat">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2010-05-23 20:59:12 -04:00
|
|
|
<item row="0" column="0">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
<property name="text">
|
|
|
|
<string/>
|
|
|
|
</property>
|
|
|
|
<property name="pixmap">
|
|
|
|
<pixmap resource="images.qrc">:/images/find-16.png</pixmap>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-04-05 17:03:03 -04:00
|
|
|
<widget class="LineEditClear" name="filterLineEdit">
|
2010-05-23 20:59:12 -04:00
|
|
|
<property name="toolTip">
|
2010-09-13 16:05:55 -04:00
|
|
|
<string>Search Friends</string>
|
2010-05-23 20:59:12 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2010-12-12 18:41:45 -05:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QFrame" name="logoframe">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QFrame#logoframe{
|
|
|
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
|
|
|
stop:0 #FEFEFE, stop:1 #E8E8E8);
|
|
|
|
|
|
|
|
border: 1px solid #CCCCCC;}</string>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>QFrame::Raised</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
|
|
|
<widget class="QFrame" name="frame_2">
|
|
|
|
<property name="styleSheet">
|
|
|
|
<string notr="true">QFrame#frame_2{
|
|
|
|
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,
|
|
|
|
stop:0 #FEFEFE, stop:1 #E8E8E8);
|
|
|
|
}</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
2010-05-23 20:59:12 -04:00
|
|
|
<item row="1" column="0">
|
2011-10-20 17:34:44 -04:00
|
|
|
<widget class="FriendList" name="friendList" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
2010-04-20 04:42:45 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2010-10-05 19:18:27 -04:00
|
|
|
<width>258</width>
|
2010-08-30 15:10:07 -04:00
|
|
|
<height>20</height>
|
2010-04-20 04:42:45 -04:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</widget>
|
2011-09-05 17:19:07 -04:00
|
|
|
<customwidgets>
|
2012-04-05 17:03:03 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>LineEditClear</class>
|
|
|
|
<extends>QLineEdit</extends>
|
|
|
|
<header>gui/common/LineEditClear.h</header>
|
|
|
|
</customwidget>
|
2011-09-05 17:19:07 -04:00
|
|
|
<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>
|
2011-10-20 17:34:44 -04:00
|
|
|
<customwidget>
|
|
|
|
<class>FriendList</class>
|
|
|
|
<extends>QWidget</extends>
|
|
|
|
<header>gui/common/FriendList.h</header>
|
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
2011-09-05 17:19:07 -04:00
|
|
|
</customwidgets>
|
2010-04-20 04:42:45 -04:00
|
|
|
<resources>
|
|
|
|
<include location="images.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|