1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>QtGui::LauncherOptionPage</class>
4 <widget class="QWidget" name="QtGui::LauncherOptionPage">
5  <property name="windowTitle">
6   <string>Syncthing launcher</string>
7  </property>
8  <property name="windowIcon">
9   <iconset theme="system-run" resource="../resources/syncthingwidgetsicons.qrc">
10    <normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</iconset>
11  </property>
12  <layout class="QVBoxLayout" name="verticalLayout">
13   <item>
14    <widget class="QCheckBox" name="enabledCheckBox">
15     <property name="font">
16      <font>
17       <weight>75</weight>
18       <bold>true</bold>
19      </font>
20     </property>
21     <property name="text">
22      <string>Launch Syncthing when starting the tray icon</string>
23     </property>
24    </widget>
25   </item>
26   <item>
27    <widget class="QWidget" name="launcherFormWidget" native="true">
28     <layout class="QFormLayout" name="formLayout">
29      <property name="leftMargin">
30       <number>30</number>
31      </property>
32      <property name="topMargin">
33       <number>0</number>
34      </property>
35      <property name="rightMargin">
36       <number>0</number>
37      </property>
38      <property name="bottomMargin">
39       <number>0</number>
40      </property>
41      <item row="0" column="0">
42       <widget class="QLabel" name="syncthingPathLabel">
43        <property name="text">
44         <string>Syncthing executable</string>
45        </property>
46       </widget>
47      </item>
48      <item row="0" column="1">
49       <widget class="QtUtilities::PathSelection" name="syncthingPathSelection" native="true"/>
50      </item>
51      <item row="2" column="0">
52       <widget class="QLabel" name="argumentsLabel">
53        <property name="text">
54         <string>Arguments</string>
55        </property>
56       </widget>
57      </item>
58      <item row="2" column="1">
59       <widget class="QtUtilities::ClearLineEdit" name="argumentsLineEdit"/>
60      </item>
61      <item row="1" column="1">
62       <widget class="QCheckBox" name="useBuiltInVersionCheckBox">
63        <property name="text">
64         <string>Use built-in Syncthing library</string>
65        </property>
66       </widget>
67      </item>
68      <item row="3" column="0">
69       <widget class="QLabel" name="configDirLabel">
70        <property name="text">
71         <string>Config directory</string>
72        </property>
73       </widget>
74      </item>
75      <item row="3" column="1">
76       <widget class="QtUtilities::PathSelection" name="configDirPathSelection" native="true"/>
77      </item>
78      <item row="5" column="0">
79       <widget class="QLabel" name="logLevelLabel">
80        <property name="text">
81         <string>Log level</string>
82        </property>
83       </widget>
84      </item>
85      <item row="5" column="1">
86       <widget class="QComboBox" name="logLevelComboBox">
87        <item>
88         <property name="text">
89          <string>Debug</string>
90         </property>
91        </item>
92        <item>
93         <property name="text">
94          <string>Verbose</string>
95         </property>
96        </item>
97        <item>
98         <property name="text">
99          <string>Info</string>
100         </property>
101        </item>
102        <item>
103         <property name="text">
104          <string>Warning</string>
105         </property>
106        </item>
107        <item>
108         <property name="text">
109          <string>Fatal</string>
110         </property>
111        </item>
112       </widget>
113      </item>
114      <item row="4" column="0">
115       <widget class="QLabel" name="dataDirLabel">
116        <property name="text">
117         <string>Data directory</string>
118        </property>
119       </widget>
120      </item>
121      <item row="4" column="1">
122       <widget class="QtUtilities::PathSelection" name="dataDirPathSelection" native="true"/>
123      </item>
124     </layout>
125    </widget>
126   </item>
127   <item>
128    <widget class="QCheckBox" name="showButtonCheckBox">
129     <property name="text">
130      <string>Show start/stop button on tray for local instance</string>
131     </property>
132    </widget>
133   </item>
134   <item>
135    <widget class="QCheckBox" name="considerForReconnectCheckBox">
136     <property name="text">
137      <string>Consider process status for reconnect attempts to local instance
138 • Don't reconnect when the process is not running
139 • Try to reconnect when starting the process</string>
140     </property>
141    </widget>
142   </item>
143   <item>
144    <widget class="Line" name="line">
145     <property name="sizePolicy">
146      <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
147       <horstretch>0</horstretch>
148       <verstretch>0</verstretch>
149      </sizepolicy>
150     </property>
151     <property name="orientation">
152      <enum>Qt::Horizontal</enum>
153     </property>
154    </widget>
155   </item>
156   <item>
157    <layout class="QHBoxLayout" name="horizontalLayout">
158     <item>
159      <widget class="QLabel" name="logLabel">
160       <property name="font">
161        <font>
162         <weight>75</weight>
163         <bold>true</bold>
164        </font>
165       </property>
166       <property name="text">
167        <string>Syncthing log (interleaved stdout/stderr)</string>
168       </property>
169      </widget>
170     </item>
171     <item>
172      <widget class="QPushButton" name="launchNowPushButton">
173       <property name="sizePolicy">
174        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
175         <horstretch>0</horstretch>
176         <verstretch>0</verstretch>
177        </sizepolicy>
178       </property>
179       <property name="text">
180        <string>Apply and launch now</string>
181       </property>
182       <property name="icon">
183        <iconset theme="view-refresh" resource="../resources/syncthingwidgetsicons.qrc">
184         <normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
185       </property>
186      </widget>
187     </item>
188     <item>
189      <widget class="QPushButton" name="stopPushButton">
190       <property name="sizePolicy">
191        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
192         <horstretch>0</horstretch>
193         <verstretch>0</verstretch>
194        </sizepolicy>
195       </property>
196       <property name="text">
197        <string>Stop launched instance</string>
198       </property>
199       <property name="icon">
200        <iconset theme="process-stop" resource="../resources/syncthingwidgetsicons.qrc">
201         <normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</iconset>
202       </property>
203      </widget>
204     </item>
205    </layout>
206   </item>
207   <item>
208    <widget class="QtUtilities::ClearPlainTextEdit" name="logTextEdit">
209     <property name="undoRedoEnabled">
210      <bool>false</bool>
211     </property>
212     <property name="readOnly">
213      <bool>true</bool>
214     </property>
215     <property name="placeholderText">
216      <string>No log messages available yet</string>
217     </property>
218    </widget>
219   </item>
220   <item>
221    <widget class="QCheckBox" name="ensureCursorVisibleCheckBox">
222     <property name="text">
223      <string>Ensure latest log is visible</string>
224     </property>
225     <property name="checked">
226      <bool>true</bool>
227     </property>
228    </widget>
229   </item>
230  </layout>
231 </widget>
232 <customwidgets>
233  <customwidget>
234   <class>QtUtilities::ClearLineEdit</class>
235   <extends>QLineEdit</extends>
236   <header location="global">qtutilities/widgets/clearlineedit.h</header>
237  </customwidget>
238  <customwidget>
239   <class>QtUtilities::PathSelection</class>
240   <extends>QWidget</extends>
241   <header location="global">qtutilities/widgets/pathselection.h</header>
242   <container>1</container>
243  </customwidget>
244  <customwidget>
245   <class>QtUtilities::ClearPlainTextEdit</class>
246   <extends>QPlainTextEdit</extends>
247   <header location="global">qtutilities/widgets/clearplaintextedit.h</header>
248  </customwidget>
249 </customwidgets>
250 <resources>
251  <include location="../resources/syncthingwidgetsicons.qrc"/>
252 </resources>
253 <connections>
254  <connection>
255   <sender>useBuiltInVersionCheckBox</sender>
256   <signal>toggled(bool)</signal>
257   <receiver>syncthingPathSelection</receiver>
258   <slot>setDisabled(bool)</slot>
259   <hints>
260    <hint type="sourcelabel">
261     <x>320</x>
262     <y>58</y>
263    </hint>
264    <hint type="destinationlabel">
265     <x>320</x>
266     <y>36</y>
267    </hint>
268   </hints>
269  </connection>
270  <connection>
271   <sender>useBuiltInVersionCheckBox</sender>
272   <signal>toggled(bool)</signal>
273   <receiver>argumentsLineEdit</receiver>
274   <slot>setHidden(bool)</slot>
275   <hints>
276    <hint type="sourcelabel">
277     <x>319</x>
278     <y>68</y>
279    </hint>
280    <hint type="destinationlabel">
281     <x>394</x>
282     <y>101</y>
283    </hint>
284   </hints>
285  </connection>
286  <connection>
287   <sender>useBuiltInVersionCheckBox</sender>
288   <signal>toggled(bool)</signal>
289   <receiver>configDirPathSelection</receiver>
290   <slot>setVisible(bool)</slot>
291   <hints>
292    <hint type="sourcelabel">
293     <x>319</x>
294     <y>68</y>
295    </hint>
296    <hint type="destinationlabel">
297     <x>171</x>
298     <y>132</y>
299    </hint>
300   </hints>
301  </connection>
302  <connection>
303   <sender>useBuiltInVersionCheckBox</sender>
304   <signal>toggled(bool)</signal>
305   <receiver>configDirLabel</receiver>
306   <slot>setVisible(bool)</slot>
307   <hints>
308    <hint type="sourcelabel">
309     <x>319</x>
310     <y>68</y>
311    </hint>
312    <hint type="destinationlabel">
313     <x>116</x>
314     <y>132</y>
315    </hint>
316   </hints>
317  </connection>
318  <connection>
319   <sender>useBuiltInVersionCheckBox</sender>
320   <signal>toggled(bool)</signal>
321   <receiver>argumentsLabel</receiver>
322   <slot>setHidden(bool)</slot>
323   <hints>
324    <hint type="sourcelabel">
325     <x>319</x>
326     <y>68</y>
327    </hint>
328    <hint type="destinationlabel">
329     <x>131</x>
330     <y>101</y>
331    </hint>
332   </hints>
333  </connection>
334  <connection>
335   <sender>useBuiltInVersionCheckBox</sender>
336   <signal>toggled(bool)</signal>
337   <receiver>logLevelLabel</receiver>
338   <slot>setVisible(bool)</slot>
339   <hints>
340    <hint type="sourcelabel">
341     <x>227</x>
342     <y>61</y>
343    </hint>
344    <hint type="destinationlabel">
345     <x>116</x>
346     <y>143</y>
347    </hint>
348   </hints>
349  </connection>
350  <connection>
351   <sender>useBuiltInVersionCheckBox</sender>
352   <signal>toggled(bool)</signal>
353   <receiver>logLevelComboBox</receiver>
354   <slot>setVisible(bool)</slot>
355   <hints>
356    <hint type="sourcelabel">
357     <x>227</x>
358     <y>61</y>
359    </hint>
360    <hint type="destinationlabel">
361     <x>180</x>
362     <y>145</y>
363    </hint>
364   </hints>
365  </connection>
366  <connection>
367   <sender>useBuiltInVersionCheckBox</sender>
368   <signal>toggled(bool)</signal>
369   <receiver>dataDirLabel</receiver>
370   <slot>setVisible(bool)</slot>
371   <hints>
372    <hint type="sourcelabel">
373     <x>273</x>
374     <y>68</y>
375    </hint>
376    <hint type="destinationlabel">
377     <x>122</x>
378     <y>156</y>
379    </hint>
380   </hints>
381  </connection>
382  <connection>
383   <sender>useBuiltInVersionCheckBox</sender>
384   <signal>toggled(bool)</signal>
385   <receiver>dataDirPathSelection</receiver>
386   <slot>setVisible(bool)</slot>
387   <hints>
388    <hint type="sourcelabel">
389     <x>273</x>
390     <y>68</y>
391    </hint>
392    <hint type="destinationlabel">
393     <x>171</x>
394     <y>156</y>
395    </hint>
396   </hints>
397  </connection>
398 </connections>
399</ui>
400