Settings dialog: set port range to 1-65535 and right-align.
[debian/confclerk.git] / src / gui / settingsdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>SettingsDialog</class>
4  <widget class="QDialog" name="SettingsDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>500</width>
10     <height>152</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>500</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Settings</string>
27   </property>
28   <layout class="QVBoxLayout" name="verticalLayout">
29    <item>
30     <widget class="QGroupBox" name="groupBox">
31      <property name="title">
32       <string>HTTP proxy settings</string>
33      </property>
34      <layout class="QVBoxLayout" name="verticalLayout_2">
35       <item>
36        <widget class="QCheckBox" name="directConnection">
37         <property name="text">
38          <string>Direct connection</string>
39         </property>
40         <property name="checked">
41          <bool>true</bool>
42         </property>
43        </widget>
44       </item>
45       <item>
46        <widget class="QFrame" name="proxyWidget">
47         <layout class="QHBoxLayout" name="horizontalLayout_3">
48          <item>
49           <widget class="QLabel" name="label">
50            <property name="text">
51             <string>Address: </string>
52            </property>
53           </widget>
54          </item>
55          <item>
56           <widget class="QLineEdit" name="address"/>
57          </item>
58          <item>
59           <widget class="QLabel" name="label_2">
60            <property name="text">
61             <string>Port:</string>
62            </property>
63           </widget>
64          </item>
65          <item>
66           <widget class="QSpinBox" name="port">
67            <property name="alignment">
68             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
69            </property>
70            <property name="minimum">
71             <number>1</number>
72            </property>
73            <property name="maximum">
74             <number>65535</number>
75            </property>
76            <property name="value">
77             <number>8080</number>
78            </property>
79           </widget>
80          </item>
81         </layout>
82        </widget>
83       </item>
84      </layout>
85     </widget>
86    </item>
87    <item>
88     <widget class="QDialogButtonBox" name="buttonBox">
89      <property name="orientation">
90       <enum>Qt::Horizontal</enum>
91      </property>
92      <property name="standardButtons">
93       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
94      </property>
95     </widget>
96    </item>
97   </layout>
98  </widget>
99  <resources/>
100  <connections>
101   <connection>
102    <sender>buttonBox</sender>
103    <signal>accepted()</signal>
104    <receiver>SettingsDialog</receiver>
105    <slot>accept()</slot>
106    <hints>
107     <hint type="sourcelabel">
108      <x>288</x>
109      <y>128</y>
110     </hint>
111     <hint type="destinationlabel">
112      <x>325</x>
113      <y>147</y>
114     </hint>
115    </hints>
116   </connection>
117   <connection>
118    <sender>buttonBox</sender>
119    <signal>rejected()</signal>
120    <receiver>SettingsDialog</receiver>
121    <slot>reject()</slot>
122    <hints>
123     <hint type="sourcelabel">
124      <x>202</x>
125      <y>130</y>
126     </hint>
127     <hint type="destinationlabel">
128      <x>226</x>
129      <y>147</y>
130     </hint>
131    </hints>
132   </connection>
133  </connections>
134 </ui>