redesign ChannelsDialog, hope its bether then before when can show aviable Channels in a listview/listwidget.

only what was usefull too to show the Messages Text for each Message in ChanMsgDialog.ui , then can remove in future the widget for Message Text.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2007-12-18 18:47:06 +00:00
parent beb7612c35
commit 046d09ae0c

View File

@ -5,8 +5,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>555</width> <width>672</width>
<height>310</height> <height>439</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy" > <property name="sizePolicy" >
@ -503,25 +503,87 @@
<property name="windowIcon" > <property name="windowIcon" >
<iconset resource="images.qrc" >:/images/channels.png</iconset> <iconset resource="images.qrc" >:/images/channels.png</iconset>
</property> </property>
<layout class="QVBoxLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>1</number> <number>0</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>1</number> <number>0</number>
</property> </property>
<item> <item row="0" column="0" >
<widget class="QSplitter" name="splitter_2" > <widget class="QSplitter" name="splitter_4" >
<property name="orientation" > <property name="orientation" >
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<widget class="QToolBox" name="toolBox" >
<property name="maximumSize" >
<size>
<width>160</width>
<height>16777215</height>
</size>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="page" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>160</width>
<height>380</height>
</rect>
</property>
<attribute name="label" >
<string>Channels</string>
</attribute>
<attribute name="icon" >
<iconset resource="images.qrc" >:/images/channels.png</iconset>
</attribute>
<attribute name="toolTip" >
<string>Channels</string>
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QListWidget" name="channelslistWidget" />
</item>
</layout>
</widget>
<widget class="QWidget" name="page_2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>160</width>
<height>380</height>
</rect>
</property>
<attribute name="label" >
<string>Page 2</string>
</attribute>
</widget>
</widget>
<widget class="QSplitter" name="splitter_3" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<widget class="QSplitter" name="splitter_2" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<widget class="QWidget" name="layoutWidget" > <widget class="QWidget" name="layoutWidget" >
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
<number>0</number> <number>0</number>
</property> </property>
<property name="spacing" > <property name="spacing" >
<number>0</number> <number>6</number>
</property> </property>
<item row="0" column="0" > <item row="0" column="0" >
<widget class="QLabel" name="label" > <widget class="QLabel" name="label" >
@ -535,6 +597,14 @@ p, li { white-space: pre-wrap; }
</item> </item>
<item row="1" column="0" > <item row="1" column="0" >
<widget class="QTreeWidget" name="msgWidget" > <widget class="QTreeWidget" name="msgWidget" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="contextMenuPolicy" > <property name="contextMenuPolicy" >
<enum>Qt::CustomContextMenu</enum> <enum>Qt::CustomContextMenu</enum>
</property> </property>
@ -654,6 +724,8 @@ p, li { white-space: pre-wrap; }
</widget> </widget>
</widget> </widget>
</widget> </widget>
</widget>
</widget>
</item> </item>
</layout> </layout>
</widget> </widget>