mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
25547d0ea8
changed base-class of AvatarWidget to QLabel git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5179 b45a01b8-16f6-495d-af2f-9b41ad6348cc
365 lines
11 KiB
XML
365 lines
11 KiB
XML
<?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>
|
|
<width>258</width>
|
|
<height>482</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">
|
|
<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">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>82</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<property name="margin">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="AvatarWidget" name="avatar" native="true">
|
|
<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">
|
|
<item row="1" column="0" colspan="2">
|
|
<widget class="QComboBox" name="messagelineEdit">
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QPushButton" name="statusButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
text-align: left;
|
|
}
|
|
QPushButton:hover {
|
|
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;
|
|
|
|
}
|
|
QPushButton:pressed {
|
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
|
stop: 0 #dadbde, stop: 1 #f6f7fa);
|
|
}
|
|
|
|
QPushButton:flat {
|
|
border: none; /* no border for a flat push button */
|
|
}
|
|
|
|
QPushButton:default {
|
|
border-color: navy; /* make the default button prominent */
|
|
}</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QFrame" name="frame">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>32</height>
|
|
</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">
|
|
<number>2</number>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<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">
|
|
<string>Add a Friend</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>
|
|
<item row="0" column="2">
|
|
<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">
|
|
<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="0" column="3">
|
|
<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>
|
|
<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>
|
|
<widget class="LineEditClear" name="filterLineEdit">
|
|
<property name="toolTip">
|
|
<string>Search Friends</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</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">
|
|
<item row="1" column="0">
|
|
<widget class="FriendList" name="friendList" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>258</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>LineEditClear</class>
|
|
<extends>QLineEdit</extends>
|
|
<header>gui/common/LineEditClear.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>AvatarWidget</class>
|
|
<extends>QLabel</extends>
|
|
<header>gui/common/AvatarWidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>FriendList</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/common/FriendList.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|