summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-20 13:28:07 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-20 13:28:07 (GMT)
commit0ced6917acc8d5d58e62bb2503d1c9967d22cb18 (patch)
treede9ab4253ca05b544e09cc28c23586d359423bc2 /Swift/QtUI/MUCSearch
parentbe51ba59e7e7cf199bb6f71a4b82cb003d6f1263 (diff)
downloadswift-0ced6917acc8d5d58e62bb2503d1c9967d22cb18.zip
swift-0ced6917acc8d5d58e62bb2503d1c9967d22cb18.tar.bz2
Allow the Find Room window to resize.
Resolves: #424
Diffstat (limited to 'Swift/QtUI/MUCSearch')
-rw-r--r--Swift/QtUI/MUCSearch/QtMUCSearchWindow.ui371
1 files changed, 195 insertions, 176 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.ui b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.ui
index 11c4df2..134807f 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.ui
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.ui
@@ -6,12 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
- <width>502</width>
- <height>526</height>
+ <width>523</width>
+ <height>531</height>
</rect>
</property>
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -19,179 +19,198 @@
<property name="windowTitle">
<string>Find Room</string>
</property>
- <widget class="QTreeView" name="results_">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>30</y>
- <width>256</width>
- <height>441</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>251</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Available Rooms</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="service_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>140</y>
- <width>211</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>120</y>
- <width>201</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Search another service:</string>
- </property>
- </widget>
- <widget class="QLabel" name="filterLabel_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>260</y>
- <width>211</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Only show rooms matching:</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="filter_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>280</y>
- <width>211</width>
- <height>26</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>380</y>
- <width>211</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Join Room Directly:</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_5">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>10</y>
- <width>211</width>
- <height>18</height>
- </rect>
- </property>
- <property name="text">
- <string>Your nickname:</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="nickName_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>30</y>
- <width>211</width>
- <height>26</height>
- </rect>
- </property>
- </widget>
- <widget class="QLineEdit" name="room_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>400</y>
- <width>201</width>
- <height>26</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton" name="joinButton_">
- <property name="geometry">
- <rect>
- <x>210</x>
- <y>480</y>
- <width>92</width>
- <height>28</height>
- </rect>
- </property>
- <property name="text">
- <string>Join Room</string>
- </property>
- </widget>
- <widget class="QCheckBox" name="showEmptyRooms_">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>310</y>
- <width>201</width>
- <height>23</height>
- </rect>
- </property>
- <property name="text">
- <string>Show Empty Rooms</string>
- </property>
- </widget>
- <widget class="QPushButton" name="searchButton_">
- <property name="geometry">
- <rect>
- <x>410</x>
- <y>170</y>
- <width>80</width>
- <height>26</height>
- </rect>
- </property>
- <property name="text">
- <string>Search</string>
- </property>
- </widget>
- <widget class="QCheckBox" name="joinAutomatically_">
- <property name="geometry">
- <rect>
- <x>280</x>
- <y>440</y>
- <width>211</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>Join automatically in future</string>
- </property>
- </widget>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
+ </property>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Available Rooms</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QTreeView" name="results_"/>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Your nickname:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="nickName_"/>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>Search another service:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="service_">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="searchButton_">
+ <property name="text">
+ <string>Search</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="filterLabel_">
+ <property name="text">
+ <string>Only show rooms matching:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="filter_"/>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="showEmptyRooms_">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Show Empty Rooms</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>18</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Join Room Directly:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="room_"/>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="joinAutomatically_">
+ <property name="text">
+ <string>Join automatically in future</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="joinButton_">
+ <property name="text">
+ <string>Join Room</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ </layout>
</widget>
<resources/>
<connections/>