d641bfa1846dfbb3f00639ac38d7e5c91a09be59
[quassel.git] / src / qtui / settingspages / coreconnectionsettingspage.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>CoreConnectionSettingsPage</class>
4  <widget class="QWidget" name="CoreConnectionSettingsPage">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>446</width>
10     <height>465</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_2">
17    <item>
18     <widget class="QGroupBox" name="groupBox">
19      <property name="title">
20       <string>Network Status Detection</string>
21      </property>
22      <layout class="QVBoxLayout" name="verticalLayout">
23       <item>
24        <widget class="QRadioButton" name="useSolid">
25         <property name="toolTip">
26          <string>Rely on KDE's hardware layer to detect if we're online. Recommended for most KDE users</string>
27         </property>
28         <property name="text">
29          <string>Use KDE's network status detection (via Solid)</string>
30         </property>
31         <property name="checked">
32          <bool>false</bool>
33         </property>
34        </widget>
35       </item>
36       <item>
37        <widget class="QRadioButton" name="useQNetworkConfigurationManager">
38         <property name="toolTip">
39          <string>Rely on Qt's network configuration manager to detect if we're online.</string>
40         </property>
41         <property name="text">
42          <string>Use Qt's network status detection (via QNetworkConfigurationManager)</string>
43         </property>
44         <property name="checked">
45          <bool>false</bool>
46         </property>
47        </widget>
48       </item>
49       <item>
50        <layout class="QHBoxLayout" name="horizontalLayout">
51         <item>
52          <widget class="QRadioButton" name="usePingTimeout">
53           <property name="toolTip">
54            <string>Actively ping the remote core and disconnect if we didn't get a reply after a certain time</string>
55           </property>
56           <property name="text">
57            <string>Ping timeout after</string>
58           </property>
59           <property name="checkable">
60            <bool>true</bool>
61           </property>
62           <property name="checked">
63            <bool>false</bool>
64           </property>
65          </widget>
66         </item>
67         <item>
68          <widget class="QSpinBox" name="pingTimeout">
69           <property name="toolTip">
70            <string>Actively ping the remote core and disconnect if we didn't get a reply after a certain time</string>
71           </property>
72           <property name="suffix">
73            <string> seconds</string>
74           </property>
75           <property name="minimum">
76            <number>30</number>
77           </property>
78           <property name="maximum">
79            <number>3600</number>
80           </property>
81           <property name="singleStep">
82            <number>30</number>
83           </property>
84           <property name="value">
85            <number>60</number>
86           </property>
87           <property name="settingsKey" stdset="0">
88            <string notr="true">PingTimeoutInterval</string>
89           </property>
90           <property name="defaultValue" stdset="0">
91            <UInt>60</UInt>
92           </property>
93          </widget>
94         </item>
95         <item>
96          <spacer name="horizontalSpacer">
97           <property name="orientation">
98            <enum>Qt::Horizontal</enum>
99           </property>
100           <property name="sizeHint" stdset="0">
101            <size>
102             <width>40</width>
103             <height>20</height>
104            </size>
105           </property>
106          </spacer>
107         </item>
108        </layout>
109       </item>
110       <item>
111        <widget class="QRadioButton" name="useNoTimeout">
112         <property name="toolTip">
113          <string>Only disconnect if the network socket gets closed by the operating system. This may take a long time after actually losing connectivity</string>
114         </property>
115         <property name="text">
116          <string>Never time out actively</string>
117         </property>
118        </widget>
119       </item>
120      </layout>
121     </widget>
122    </item>
123    <item>
124     <widget class="QCheckBox" name="autoReconnect">
125      <property name="text">
126       <string>Automatically reconnect on network failures</string>
127      </property>
128      <property name="checked">
129       <bool>true</bool>
130      </property>
131      <property name="settingsKey" stdset="0">
132       <string notr="true">AutoReconnect</string>
133      </property>
134      <property name="defaultValue" stdset="0">
135       <bool>true</bool>
136      </property>
137     </widget>
138    </item>
139    <item>
140     <layout class="QHBoxLayout" name="horizontalLayout_2">
141      <item>
142       <spacer name="horizontalSpacer_2">
143        <property name="orientation">
144         <enum>Qt::Horizontal</enum>
145        </property>
146        <property name="sizeType">
147         <enum>QSizePolicy::Fixed</enum>
148        </property>
149        <property name="sizeHint" stdset="0">
150         <size>
151          <width>20</width>
152          <height>20</height>
153         </size>
154        </property>
155       </spacer>
156      </item>
157      <item>
158       <widget class="QLabel" name="reconnectLabel">
159        <property name="text">
160         <string>Retry every</string>
161        </property>
162       </widget>
163      </item>
164      <item>
165       <widget class="QSpinBox" name="reconnectInterval">
166        <property name="toolTip">
167         <string>Actively ping the remote core and disconnect if we didn't get a reply after a certain time</string>
168        </property>
169        <property name="suffix">
170         <string> seconds</string>
171        </property>
172        <property name="minimum">
173         <number>1</number>
174        </property>
175        <property name="maximum">
176         <number>3600</number>
177        </property>
178        <property name="singleStep">
179         <number>1</number>
180        </property>
181        <property name="value">
182         <number>60</number>
183        </property>
184        <property name="settingsKey" stdset="0">
185         <string notr="true">ReconnectInterval</string>
186        </property>
187        <property name="defaultValue" stdset="0">
188         <UInt>60</UInt>
189        </property>
190       </widget>
191      </item>
192      <item>
193       <spacer name="horizontalSpacer_3">
194        <property name="orientation">
195         <enum>Qt::Horizontal</enum>
196        </property>
197        <property name="sizeHint" stdset="0">
198         <size>
199          <width>40</width>
200          <height>20</height>
201         </size>
202        </property>
203       </spacer>
204      </item>
205     </layout>
206    </item>
207    <item>
208     <spacer name="verticalSpacer">
209      <property name="orientation">
210       <enum>Qt::Vertical</enum>
211      </property>
212      <property name="sizeHint" stdset="0">
213       <size>
214        <width>20</width>
215        <height>40</height>
216       </size>
217      </property>
218     </spacer>
219    </item>
220   </layout>
221  </widget>
222  <resources/>
223  <connections>
224   <connection>
225    <sender>usePingTimeout</sender>
226    <signal>toggled(bool)</signal>
227    <receiver>pingTimeout</receiver>
228    <slot>setEnabled(bool)</slot>
229    <hints>
230     <hint type="sourcelabel">
231      <x>134</x>
232      <y>79</y>
233     </hint>
234     <hint type="destinationlabel">
235      <x>208</x>
236      <y>81</y>
237     </hint>
238    </hints>
239   </connection>
240   <connection>
241    <sender>autoReconnect</sender>
242    <signal>toggled(bool)</signal>
243    <receiver>reconnectLabel</receiver>
244    <slot>setEnabled(bool)</slot>
245    <hints>
246     <hint type="sourcelabel">
247      <x>75</x>
248      <y>141</y>
249     </hint>
250     <hint type="destinationlabel">
251      <x>72</x>
252      <y>178</y>
253     </hint>
254    </hints>
255   </connection>
256   <connection>
257    <sender>autoReconnect</sender>
258    <signal>toggled(bool)</signal>
259    <receiver>reconnectInterval</receiver>
260    <slot>setEnabled(bool)</slot>
261    <hints>
262     <hint type="sourcelabel">
263      <x>136</x>
264      <y>142</y>
265     </hint>
266     <hint type="destinationlabel">
267      <x>134</x>
268      <y>178</y>
269     </hint>
270    </hints>
271   </connection>
272  </connections>
273 </ui>