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>
<x>0</x>
<y>0</y>
<width>790</width>
<height>492</height>
<width>740</width>
<height>540</height>
</rect>
</property>
<property name="windowTitle" >
<string>Form</string>
</property>
<widget class="QTabWidget" name="tab_calendar" >
<property name="geometry" >
<rect>
<x>10</x>
<y>10</y>
<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>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QTabWidget" name="tab_calendar" >
<property name="tabShape" >
<enum>QTabWidget::Rounded</enum>
</property>
<layout class="QGridLayout" >
<property name="sizeConstraint" >
<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 name="currentIndex" >
<number>0</number>
</property>
<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 name="elideMode" >
<enum>Qt::ElideNone</enum>
</property>
<widget class="QWidget" name="localCal" >
<attribute name="title" >
<string>Local Calendars</string>
</attribute>
<layout class="QGridLayout" >
<item rowspan="3" row="0" column="0" >
<layout class="QGridLayout" >
<property name="sizeConstraint" >
<enum>QLayout::SetMaximumSize</enum>
</property>
</item>
<item>
<property name="text" >
<string>Public</string>
<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" >
<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>
</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" >
<string>&lt;Disabled></string>
<string>Share Details</string>
</property>
</item>
</widget>
</item>
</layout>
</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="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 class="QWidget" name="horizontalLayoutWidget" >
<property name="geometry" >
<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>
</item>
</layout>
</widget>
<resources>
<include location="images.qrc" />