mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
5a53927b44
- Removed fix font size from ui. - Added elided label for message title. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
307 lines
10 KiB
XML
307 lines
10 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>FeedReaderMessageWidget</class>
|
|
<widget class="QWidget" name="FeedReaderMessageWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>658</width>
|
|
<height>414</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QSplitter" name="msgSplitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<layout class="QGridLayout" name="msgFrame">
|
|
<item row="1" column="0">
|
|
<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_5">
|
|
<property name="leftMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="msgReadButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Mark messages as read</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/FeedMsgRead.png</normaloff>:/images/FeedMsgRead.png</iconset>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="msgUnreadButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Mark messages as unread</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/FeedMsgUnread.png</normaloff>:/images/FeedMsgUnread.png</iconset>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="msgReadAllButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Mark all messages as read</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/FeedMsgReadAll.png</normaloff>:/images/FeedMsgReadAll.png</iconset>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="msgRemoveButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Remove messages</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/FeedMsgDelete.png</normaloff>:/images/FeedMsgDelete.png</iconset>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="feedProcessButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Update feed</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/FeedProcess.png</normaloff>:/images/FeedProcess.png</iconset>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LineEditClear" name="filterLineEdit">
|
|
<property name="toolTip">
|
|
<string>Search forums</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="RSTreeWidget" name="msgTreeWidget">
|
|
<property name="contextMenuPolicy">
|
|
<enum>Qt::CustomContextMenu</enum>
|
|
</property>
|
|
<property name="editTriggers">
|
|
<set>QAbstractItemView::NoEditTriggers</set>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::ExtendedSelection</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="allColumnsShowFocus">
|
|
<bool>true</bool>
|
|
</property>
|
|
<column>
|
|
<property name="text">
|
|
<string>Title</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../retroshare-gui/src/gui/images.qrc">
|
|
<normaloff>:/images/message-state-header.png</normaloff>:/images/message-state-header.png</iconset>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Date</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>Author</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="leftMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="ElidedLabel" name="msgTitle">
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="linkButton">
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="FeedReader_images.qrc">
|
|
<normaloff>:/images/Link.png</normaloff>:/images/Link.png</iconset>
|
|
</property>
|
|
<property name="popupMode">
|
|
<enum>QToolButton::MenuButtonPopup</enum>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="expandButton">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::NoFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../retroshare-gui/src/gui/images.qrc">
|
|
<normaloff>:/images/edit_remove24.png</normaloff>:/images/edit_remove24.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="RSTextBrowser" name="msgText">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>10</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="textInteractionFlags">
|
|
<set>Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse</set>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>RSTextBrowser</class>
|
|
<extends>QTextBrowser</extends>
|
|
<header>gui/common/RSTextBrowser.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>LineEditClear</class>
|
|
<extends>QLineEdit</extends>
|
|
<header location="global">gui/common/LineEditClear.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>RSTreeWidget</class>
|
|
<extends>QTreeWidget</extends>
|
|
<header>gui/common/RSTreeWidget.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ElidedLabel</class>
|
|
<extends>QLabel</extends>
|
|
<header location="global">gui/common/ElidedLabel.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="FeedReader_images.qrc"/>
|
|
<include location="../../../retroshare-gui/src/gui/images.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|