Corrected expanding widget issue.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@567 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
mysd 2008-05-30 15:55:31 +00:00
parent 9f64df3f20
commit a904284bd6

View File

@ -5,269 +5,247 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>790</width> <width>740</width>
<height>492</height> <height>540</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>Form</string>
</property> </property>
<widget class="QTabWidget" name="tab_calendar" > <layout class="QGridLayout" >
<property name="geometry" > <item row="0" column="0" >
<rect> <widget class="QTabWidget" name="tab_calendar" >
<x>10</x> <property name="tabShape" >
<y>10</y> <enum>QTabWidget::Rounded</enum>
<width>771</width>
<height>469</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Maximum" hsizetype="Maximum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tabShape" >
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<property name="elideMode" >
<enum>Qt::ElideNone</enum>
</property>
<widget class="QWidget" name="localCal" >
<attribute name="title" >
<string>Local Calendars</string>
</attribute>
<widget class="QWidget" name="gridLayoutWidget_2" >
<property name="geometry" >
<rect>
<x>9</x>
<y>9</y>
<width>201</width>
<height>421</height>
</rect>
</property> </property>
<layout class="QGridLayout" > <property name="currentIndex" >
<property name="sizeConstraint" > <number>0</number>
<enum>QLayout::SetMaximumSize</enum>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="lbl_calList" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Shared Calendar List</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QListWidget" name="lst_calList" />
</item>
</layout>
</widget>
<widget class="QWidget" name="formLayoutWidget" >
<property name="geometry" >
<rect>
<x>220</x>
<y>70</y>
<width>540</width>
<height>301</height>
</rect>
</property> </property>
<layout class="QGridLayout" > <property name="elideMode" >
<property name="sizeConstraint" > <enum>Qt::ElideNone</enum>
<enum>QLayout::SetMaximumSize</enum> </property>
</property> <widget class="QWidget" name="localCal" >
<item row="0" column="0" > <attribute name="title" >
<widget class="QLabel" name="lbl_name" > <string>Local Calendars</string>
<property name="text" > </attribute>
<string>Name:</string> <layout class="QGridLayout" >
</property> <item rowspan="3" row="0" column="0" >
</widget> <layout class="QGridLayout" >
</item> <property name="sizeConstraint" >
<item row="0" column="1" > <enum>QLayout::SetMaximumSize</enum>
<widget class="QLineEdit" name="lne_name" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lbl_location" >
<property name="text" >
<string>Location:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<layout class="QGridLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
<item row="0" column="0" >
<widget class="QLineEdit" name="lne_location" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="btn_addFile" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text" >
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lbl_status" >
<property name="text" >
<string>Status:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cbx_status" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text" >
<string>Private</string>
</property> </property>
</item> <item row="0" column="0" >
<item> <widget class="QLabel" name="lbl_calList" >
<property name="text" > <property name="font" >
<string>Public</string> <font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Shared Calendar List</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QListWidget" name="lst_calList" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Fixed" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>289</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="lbl_calDetail" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property> </property>
</item>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lbl_allow" >
<property name="text" >
<string>Allow List:</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QListWidget" name="lst_allow" >
<item>
<property name="text" > <property name="text" >
<string>&lt;Disabled></string> <string>Share Details</string>
</property> </property>
</item> </widget>
</widget> </item>
</item> <item row="1" column="1" >
</layout> <layout class="QGridLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="lbl_name" >
<property name="text" >
<string>Name:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="lne_name" />
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lbl_location" >
<property name="text" >
<string>Location:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<layout class="QGridLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
<item row="0" column="0" >
<widget class="QLineEdit" name="lne_location" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="btn_addFile" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Minimum" hsizetype="Minimum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize" >
<size>
<width>30</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<property name="baseSize" >
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text" >
<string>...</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="lbl_status" >
<property name="text" >
<string>Status:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cbx_status" >
<property name="minimumSize" >
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>0</width>
<height>16777215</height>
</size>
</property>
<item>
<property name="text" >
<string>Private</string>
</property>
</item>
<item>
<property name="text" >
<string>Public</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0" >
<widget class="QLabel" name="lbl_allow" >
<property name="text" >
<string>Allow List:</string>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
<item row="3" column="1" >
<widget class="QListWidget" name="lst_allow" >
<item>
<property name="text" >
<string>&lt;Disabled></string>
</property>
</item>
</widget>
</item>
</layout>
</item>
<item row="2" column="1" >
<layout class="QHBoxLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btn_add" >
<property name="text" >
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_remove" >
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="peerCal" >
<attribute name="title" >
<string>Peer Calendars</string>
</attribute>
</widget>
</widget> </widget>
<widget class="QWidget" name="horizontalLayoutWidget" > </item>
<property name="geometry" > </layout>
<rect>
<x>220</x>
<y>372</y>
<width>540</width>
<height>33</height>
</rect>
</property>
<layout class="QHBoxLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btn_add" >
<property name="text" >
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btn_remove" >
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="lbl_calDetail" >
<property name="geometry" >
<rect>
<x>220</x>
<y>51</y>
<width>121</width>
<height>21</height>
</rect>
</property>
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Share Details</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="peerCal" >
<attribute name="title" >
<string>Peer Calendars</string>
</attribute>
</widget>
</widget>
</widget> </widget>
<resources> <resources>
<include location="images.qrc" /> <include location="images.qrc" />