src/mvc/mvc.pro: add network module.
[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>168</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="QVBoxLayout" name="verticalLayout_3">
48          <item>
49           <layout class="QHBoxLayout" name="horizontalLayout">
50            <item>
51             <widget class="QLabel" name="label">
52              <property name="text">
53               <string>Address: </string>
54              </property>
55             </widget>
56            </item>
57            <item>
58             <widget class="QLineEdit" name="address"/>
59            </item>
60            <item>
61             <widget class="QLabel" name="label_2">
62              <property name="text">
63               <string>Port:</string>
64              </property>
65             </widget>
66            </item>
67            <item>
68             <widget class="QSpinBox" name="port">
69              <property name="alignment">
70               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
71              </property>
72              <property name="minimum">
73               <number>1</number>
74              </property>
75              <property name="maximum">
76               <number>65535</number>
77              </property>
78              <property name="value">
79               <number>8080</number>
80              </property>
81             </widget>
82            </item>
83           </layout>
84          </item>
85          <item>
86           <layout class="QHBoxLayout" name="horizontalLayout_2">
87            <item>
88             <widget class="QLabel" name="label_3">
89              <property name="text">
90               <string>Proxy type:</string>
91              </property>
92             </widget>
93            </item>
94            <item>
95             <widget class="QRadioButton" name="proxyTypeHTTP">
96              <property name="text">
97               <string>HTTP proxy</string>
98              </property>
99             </widget>
100            </item>
101            <item>
102             <widget class="QRadioButton" name="proxyTypeSOCKS5">
103              <property name="text">
104               <string>SOCKS5 proxy</string>
105              </property>
106             </widget>
107            </item>
108           </layout>
109          </item>
110           <item>
111            <layout class="QHBoxLayout" name="horizontalLayout_3">
112             <item>
113              <widget class="QLabel" name="label_4">
114               <property name="text">
115                <string>Optional: Username:</string>
116               </property>
117              </widget>
118             </item>
119             <item>
120              <widget class="QLineEdit" name="username">
121              </widget>
122             </item>
123             <item>
124              <widget class="QLabel" name="label_5">
125               <property name="text">
126                <string>Password:</string>
127               </property>
128              </widget>
129             </item>
130             <item>
131              <widget class="QLineEdit" name="password">
132               <property name="echoMode">
133                <enum>QLineEdit::Password</enum>
134               </property>
135              </widget>
136             </item>
137            </layout>
138           </item>
139         </layout>
140        </widget>
141       </item>
142      </layout>
143     </widget>
144    </item>
145    <item>
146     <widget class="QDialogButtonBox" name="buttonBox">
147      <property name="orientation">
148       <enum>Qt::Horizontal</enum>
149      </property>
150      <property name="standardButtons">
151       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
152      </property>
153     </widget>
154    </item>
155   </layout>
156  </widget>
157  <resources/>
158  <connections>
159   <connection>
160    <sender>buttonBox</sender>
161    <signal>accepted()</signal>
162    <receiver>SettingsDialog</receiver>
163    <slot>accept()</slot>
164    <hints>
165     <hint type="sourcelabel">
166      <x>288</x>
167      <y>128</y>
168     </hint>
169     <hint type="destinationlabel">
170      <x>325</x>
171      <y>147</y>
172     </hint>
173    </hints>
174   </connection>
175   <connection>
176    <sender>buttonBox</sender>
177    <signal>rejected()</signal>
178    <receiver>SettingsDialog</receiver>
179    <slot>reject()</slot>
180    <hints>
181     <hint type="sourcelabel">
182      <x>202</x>
183      <y>130</y>
184     </hint>
185     <hint type="destinationlabel">
186      <x>226</x>
187      <y>147</y>
188     </hint>
189    </hints>
190   </connection>
191  </connections>
192 </ui>