05829f6e113f1cb5c5e93f04147021ed8a1263f4
[toast/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>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="maximum">
68             <number>9999</number>
69            </property>
70            <property name="value">
71             <number>8080</number>
72            </property>
73           </widget>
74          </item>
75         </layout>
76        </widget>
77       </item>
78      </layout>
79     </widget>
80    </item>
81    <item>
82     <widget class="QDialogButtonBox" name="buttonBox">
83      <property name="orientation">
84       <enum>Qt::Horizontal</enum>
85      </property>
86      <property name="standardButtons">
87       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
88      </property>
89     </widget>
90    </item>
91   </layout>
92  </widget>
93  <resources/>
94  <connections>
95   <connection>
96    <sender>buttonBox</sender>
97    <signal>accepted()</signal>
98    <receiver>SettingsDialog</receiver>
99    <slot>accept()</slot>
100    <hints>
101     <hint type="sourcelabel">
102      <x>288</x>
103      <y>128</y>
104     </hint>
105     <hint type="destinationlabel">
106      <x>325</x>
107      <y>147</y>
108     </hint>
109    </hints>
110   </connection>
111   <connection>
112    <sender>buttonBox</sender>
113    <signal>rejected()</signal>
114    <receiver>SettingsDialog</receiver>
115    <slot>reject()</slot>
116    <hints>
117     <hint type="sourcelabel">
118      <x>202</x>
119      <y>130</y>
120     </hint>
121     <hint type="destinationlabel">
122      <x>226</x>
123      <y>147</y>
124     </hint>
125    </hints>
126   </connection>
127  </connections>
128 </ui>