mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
e45d6e8853
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5690 b45a01b8-16f6-495d-af2f-9b41ad6348cc
756 lines
21 KiB
XML
756 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ChatWidget</class>
|
|
<widget class="QWidget" name="ChatWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>646</width>
|
|
<height>296</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="titleLayout">
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="titleLabel">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>11</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">Title</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="statusMessageLabel">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">Status</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="infoFrame">
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>178</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>178</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>178</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>178</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="margin">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="infoPixmap">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="../images.qrc">:/images/info16.png</pixmap>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="infoLabel">
|
|
<property name="text">
|
|
<string notr="true">TextLabel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="closeInfoFrameButton">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QToolButton
|
|
{
|
|
border-image: url(:/images/closenormal.png)
|
|
}
|
|
|
|
QToolButton:hover
|
|
{
|
|
border-image: url(:/images/closehover.png)
|
|
}
|
|
|
|
QToolButton:pressed {
|
|
border-image: url(:/images/closepressed.png)
|
|
}</string>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSplitter" name="chatsplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="handleWidth">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="childrenCollapsible">
|
|
<bool>false</bool>
|
|
</property>
|
|
<widget class="LinkTextBrowser" name="textBrowser">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="typingpixmapLabel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>18</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>18</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">T</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="statusLabel">
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="indent">
|
|
<number>3</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" rowspan="2">
|
|
<widget class="MimeTextEdit" name="chatTextEdit">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>30</height>
|
|
</size>
|
|
</property>
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QPushButton" name="sendButton">
|
|
<property name="text">
|
|
<string>Send</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>38</width>
|
|
<height>18</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="toolBarFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="margin">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="emoteiconButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/emoticons/kopete/kopete020.png</normaloff>:/images/emoticons/kopete/kopete020.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>
|
|
<widget class="QToolButton" name="textboldButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Bold</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/edit-bold.png</normaloff>:/images/edit-bold.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="textunderlineButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Underline</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/edit-underline.png</normaloff>:/images/edit-underline.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="textitalicButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Italic</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/edit-italic.png</normaloff>:/images/edit-italic.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="fontButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Font</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/fonts.png</normaloff>:/images/fonts.png</iconset>
|
|
</property>
|
|
<property name="popupMode">
|
|
<enum>QToolButton::InstantPopup</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="colorButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Text Color</string>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="attachPictureButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Attach a Picture</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/add_image24.png</normaloff>:/images/add_image24.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>
|
|
<widget class="QToolButton" name="addFileButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Add a File for your Friend</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/add-share24.png</normaloff>:/images/add-share24.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>
|
|
<widget class="QToolButton" name="pushtoolsButton">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>28</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/configure.png</normaloff>:/images/configure.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>22</width>
|
|
<height>22</height>
|
|
</size>
|
|
</property>
|
|
<property name="popupMode">
|
|
<enum>QToolButton::InstantPopup</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>190</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="HashBox" name="hashBox">
|
|
<property name="widgetResizable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionBold">
|
|
<property name="text">
|
|
<string>Bold</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionItalic">
|
|
<property name="text">
|
|
<string>Italic</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionUnderline">
|
|
<property name="text">
|
|
<string>Underline</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionStrike">
|
|
<property name="text">
|
|
<string>Strike</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionClearChatHistory">
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/edit-clear-history.png</normaloff>:/images/edit-clear-history.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Clear Chat History</string>
|
|
</property>
|
|
</action>
|
|
<action name="action_Disable_Emoticons">
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Disable Emoticons</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSaveChatHistory">
|
|
<property name="text">
|
|
<string>Save Chat History</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Save Chat History</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionMessageHistory">
|
|
<property name="text">
|
|
<string>Browse Message History</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Browse History</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDeleteChatHistory">
|
|
<property name="icon">
|
|
<iconset resource="../images.qrc">
|
|
<normaloff>:/images/edit-clear-history.png</normaloff>:/images/edit-clear-history.png</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Delete Chat History</string>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Deletes all stored and displayed chat history</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChooseFont">
|
|
<property name="text">
|
|
<string>Choose font</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionResetFont">
|
|
<property name="text">
|
|
<string>Reset font to default</string>
|
|
</property>
|
|
</action>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>LinkTextBrowser</class>
|
|
<extends>QTextBrowser</extends>
|
|
<header>gui/common/LinkTextBrowser.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>HashBox</class>
|
|
<extends>QScrollArea</extends>
|
|
<header location="global">gui/common/HashBox.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>MimeTextEdit</class>
|
|
<extends>QTextEdit</extends>
|
|
<header location="global">gui/common/MimeTextEdit.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
<include location="../images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|