fixed Contacts DockWidget to not resize

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1989 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-09 23:32:43 +00:00
parent 3fc74316f4
commit ffddff8cbb

View File

@ -1,7 +1,8 @@
<ui version="4.0" > <?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ChanMsgDialog</class> <class>ChanMsgDialog</class>
<widget class="QMainWindow" name="ChanMsgDialog" > <widget class="QMainWindow" name="ChanMsgDialog">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
@ -9,79 +10,80 @@
<height>528</height> <height>528</height>
</rect> </rect>
</property> </property>
<property name="contextMenuPolicy" > <property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum> <enum>Qt::NoContextMenu</enum>
</property> </property>
<property name="windowTitle" > <property name="windowTitle">
<string>Compose</string> <string>Compose</string>
</property> </property>
<property name="windowIcon" > <property name="windowIcon">
<iconset resource="../images.qrc" >:/images/folder-draft.png</iconset> <iconset resource="../images.qrc">
<normaloff>:/images/folder-draft.png</normaloff>:/images/folder-draft.png</iconset>
</property> </property>
<widget class="QWidget" name="centralwidget" > <widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="0" column="0" > <item row="0" column="0">
<widget class="QDockWidget" name="contactsdockWidget" > <widget class="QDockWidget" name="contactsdockWidget">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Preferred" hsizetype="Fixed" > <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>16777215</width> <width>160</width>
<height>16777215</height> <height>524287</height>
</size> </size>
</property> </property>
<property name="windowTitle" > <property name="sizeIncrement">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="baseSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>Contacts</string> <string>Contacts</string>
</property> </property>
<widget class="QWidget" name="dockWidgetContents" > <widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" > <layout class="QGridLayout">
<property name="leftMargin" > <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<property name="topMargin" > <property name="spacing">
<number>0</number> <number>0</number>
</property> </property>
<property name="rightMargin" > <item row="0" column="0">
<number>0</number> <widget class="QTreeWidget" name="msgSendList">
</property> <property name="sizePolicy">
<property name="bottomMargin" > <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>0</number>
</property>
<property name="verticalSpacing" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QTreeWidget" name="msgSendList" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>4</verstretch> <verstretch>4</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>20</width> <width>20</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>160</width> <width>160</width>
<height>16777215</height> <height>16777215</height>
</size> </size>
</property> </property>
<property name="sortingEnabled" > <property name="sortingEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<column> <column>
<property name="text" > <property name="text">
<string>Send To:</string> <string>Send To:</string>
</property> </property>
</column> </column>
@ -91,189 +93,180 @@
</widget> </widget>
</widget> </widget>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QSplitter" name="splitter" > <widget class="QSplitter" name="splitter">
<property name="orientation" > <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Vertical</enum>
</property> </property>
<widget class="QWidget" name="layoutWidget" > <widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="0" column="0" > <item row="0" column="0">
<layout class="QHBoxLayout" > <layout class="QHBoxLayout">
<property name="spacing" > <property name="spacing">
<number>6</number> <number>6</number>
</property> </property>
<property name="leftMargin" > <property name="margin">
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QLabel" name="label" > <widget class="QLabel" name="label">
<property name="font" > <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="text" > <property name="text">
<string>Subject:</string> <string>Subject:</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QLineEdit" name="titleEdit" /> <widget class="QLineEdit" name="titleEdit"/>
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<layout class="QGridLayout" > <layout class="QGridLayout">
<item row="0" column="0" > <item row="0" column="0">
<widget class="QComboBox" name="comboStyle" /> <widget class="QComboBox" name="comboStyle"/>
</item> </item>
<item row="0" column="1" > <item row="0" column="1">
<widget class="QFontComboBox" name="comboFont" /> <widget class="QFontComboBox" name="comboFont"/>
</item> </item>
<item row="0" column="2" > <item row="0" column="2">
<widget class="QComboBox" name="comboSize" > <widget class="QComboBox" name="comboSize">
<property name="toolTip" > <property name="toolTip">
<string>Font size</string> <string>Font size</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="3" > <item row="0" column="3">
<widget class="QPushButton" name="boldbtn" > <widget class="QPushButton" name="boldbtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Bold</string> <string>Bold</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
<property name="checkable" > <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="4" > <item row="0" column="4">
<widget class="QPushButton" name="underlinebtn" > <widget class="QPushButton" name="underlinebtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Underline</string> <string>Underline</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
<property name="checkable" > <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="5" > <item row="0" column="5">
<widget class="QPushButton" name="italicbtn" > <widget class="QPushButton" name="italicbtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Italic</string> <string>Italic</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
<property name="checkable" > <property name="checkable">
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="6" > <item row="0" column="6">
<widget class="QPushButton" name="colorbtn" > <widget class="QPushButton" name="colorbtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Color</string> <string>Color</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="7" > <item row="0" column="7">
<widget class="QPushButton" name="textalignmentbtn" > <widget class="QPushButton" name="textalignmentbtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Alignment</string> <string>Alignment</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="11" > <item row="0" column="11">
<spacer> <spacer>
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="sizeHint" > <property name="sizeHint" stdset="0">
<size> <size>
<width>20</width> <width>20</width>
<height>24</height> <height>24</height>
@ -281,113 +274,101 @@
</property> </property>
</spacer> </spacer>
</item> </item>
<item row="0" column="8" > <item row="0" column="8">
<widget class="QPushButton" name="imagebtn" > <widget class="QPushButton" name="imagebtn">
<property name="minimumSize" > <property name="minimumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="maximumSize" > <property name="maximumSize">
<size> <size>
<width>24</width> <width>24</width>
<height>24</height> <height>24</height>
</size> </size>
</property> </property>
<property name="toolTip" > <property name="toolTip">
<string>Add a Image</string> <string>Add a Image</string>
</property> </property>
<property name="text" > <property name="text">
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</item> </item>
<item row="2" column="0" > <item row="2" column="0">
<widget class="QTextEdit" name="msgText" > <widget class="QTextEdit" name="msgText">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" > <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
<horstretch>4</horstretch> <horstretch>4</horstretch>
<verstretch>4</verstretch> <verstretch>4</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="textInteractionFlags" > <property name="textInteractionFlags">
<set>Qt::TextEditorInteraction</set> <set>Qt::TextEditorInteraction</set>
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QWidget" name="layoutWidget" > <widget class="QWidget" name="layoutWidget">
<layout class="QGridLayout" > <layout class="QGridLayout">
<property name="leftMargin" > <property name="margin">
<number>0</number> <number>0</number>
</property> </property>
<property name="topMargin" > <property name="spacing">
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>6</number> <number>6</number>
</property> </property>
<property name="verticalSpacing" > <item row="0" column="0">
<number>6</number> <widget class="QLabel" name="label_13">
</property> <property name="sizePolicy">
<item row="0" column="0" > <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<widget class="QLabel" name="label_13" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="font" > <property name="font">
<font> <font>
<pointsize>10</pointsize> <pointsize>10</pointsize>
<weight>75</weight> <weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
<property name="text" > <property name="text">
<string>Recommended Files</string> <string>Recommended Files</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" > <item row="1" column="0">
<widget class="QTreeWidget" name="msgFileList" > <widget class="QTreeWidget" name="msgFileList">
<property name="sizePolicy" > <property name="sizePolicy">
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" > <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="sortingEnabled" > <property name="sortingEnabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<column> <column>
<property name="text" > <property name="text">
<string>File Name</string> <string>File Name</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text" > <property name="text">
<string>Size</string> <string>Size</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text" > <property name="text">
<string>Sources</string> <string>Sources</string>
</property> </property>
</column> </column>
<column> <column>
<property name="text" > <property name="text">
<string>Hash</string> <string>Hash</string>
</property> </property>
</column> </column>
@ -399,64 +380,66 @@
</item> </item>
</layout> </layout>
</widget> </widget>
<widget class="QMenuBar" name="menubar" > <widget class="QMenuBar" name="menubar">
<property name="geometry" > <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>770</width> <width>770</width>
<height>24</height> <height>21</height>
</rect> </rect>
</property> </property>
</widget> </widget>
<widget class="QStatusBar" name="statusbar" /> <widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar" > <widget class="QToolBar" name="toolBar">
<property name="contextMenuPolicy" > <property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum> <enum>Qt::NoContextMenu</enum>
</property> </property>
<property name="movable" > <property name="movable">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="orientation" > <property name="orientation">
<enum>Qt::Horizontal</enum> <enum>Qt::Horizontal</enum>
</property> </property>
<property name="toolButtonStyle" > <property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum> <enum>Qt::ToolButtonTextUnderIcon</enum>
</property> </property>
<attribute name="toolBarArea" > <attribute name="toolBarArea">
<enum>TopToolBarArea</enum> <enum>TopToolBarArea</enum>
</attribute> </attribute>
<attribute name="toolBarBreak" > <attribute name="toolBarBreak">
<bool>false</bool> <bool>false</bool>
</attribute> </attribute>
<addaction name="actionSend" /> <addaction name="actionSend"/>
<addaction name="actionContactsView" /> <addaction name="actionContactsView"/>
<addaction name="separator" /> <addaction name="separator"/>
<addaction name="actionSaveas" /> <addaction name="actionSaveas"/>
</widget> </widget>
<action name="actionSend" > <action name="actionSend">
<property name="icon" > <property name="icon">
<iconset resource="../images.qrc" >:/images/send24.png</iconset> <iconset resource="../images.qrc">
<normaloff>:/images/send24.png</normaloff>:/images/send24.png</iconset>
</property> </property>
<property name="text" > <property name="text">
<string>Send</string> <string>Send</string>
</property> </property>
</action> </action>
<action name="actionReply" > <action name="actionReply">
<property name="icon" > <property name="icon">
<iconset resource="../images.qrc" >:/images/replymail24.png</iconset> <iconset resource="../images.qrc">
<normaloff>:/images/replymail24.png</normaloff>:/images/replymail24.png</iconset>
</property> </property>
<property name="text" > <property name="text">
<string>Reply</string> <string>Reply</string>
</property> </property>
</action> </action>
<action name="actionContactsView" > <action name="actionContactsView">
<property name="text" > <property name="text">
<string>Contacts</string> <string>Contacts</string>
</property> </property>
</action> </action>
<action name="actionSaveas" > <action name="actionSaveas">
<property name="text" > <property name="text">
<string>Save</string> <string>Save</string>
</property> </property>
</action> </action>
@ -468,7 +451,8 @@
<tabstop>msgFileList</tabstop> <tabstop>msgFileList</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../images.qrc" /> <include location="../images.qrc"/>
<include location="../images.qrc"/>
</resources> </resources>
<connections/> <connections/>
</ui> </ui>