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>
<x>0</x>
<y>0</y>
<width>555</width>
<height>310</height>
<width>672</width>
<height>439</height>
</rect>
</property>
<property name="sizePolicy" >
@ -503,25 +503,87 @@
<property name="windowIcon" >
<iconset resource="images.qrc" >:/images/channels.png</iconset>
</property>
<layout class="QVBoxLayout" >
<layout class="QGridLayout" >
<property name="margin" >
<number>1</number>
<number>0</number>
</property>
<property name="spacing" >
<number>1</number>
<number>0</number>
</property>
<item>
<widget class="QSplitter" name="splitter_2" >
<item row="0" column="0" >
<widget class="QSplitter" name="splitter_4" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</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" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>0</number>
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label" >
@ -535,6 +597,14 @@ p, li { white-space: pre-wrap; }
</item>
<item row="1" column="0" >
<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" >
<enum>Qt::CustomContextMenu</enum>
</property>
@ -654,6 +724,8 @@ p, li { white-space: pre-wrap; }
</widget>
</widget>
</widget>
</widget>
</widget>
</item>
</layout>
</widget>