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