2016-09-03 19:39:43 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>QtGui::LauncherOptionPage</class>
|
|
|
|
<widget class="QWidget" name="QtGui::LauncherOptionPage">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Syncthing launcher</string>
|
|
|
|
</property>
|
2021-05-07 00:05:18 +02:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset theme="system-run" resource="../resources/syncthingwidgetsicons.qrc">
|
|
|
|
<normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</iconset>
|
|
|
|
</property>
|
2016-09-03 19:39:43 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="enabledCheckBox">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Launch Syncthing when starting the tray icon</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="launcherFormWidget" native="true">
|
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>30</number>
|
|
|
|
</property>
|
2016-09-03 20:14:52 +02:00
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2016-09-03 19:39:43 +02:00
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="syncthingPathLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Syncthing executable</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
2019-06-10 22:48:26 +02:00
|
|
|
<widget class="QtUtilities::PathSelection" name="syncthingPathSelection" native="true"/>
|
2016-09-03 19:39:43 +02:00
|
|
|
</item>
|
2018-04-18 23:27:45 +02:00
|
|
|
<item row="2" column="0">
|
2016-09-03 19:39:43 +02:00
|
|
|
<widget class="QLabel" name="argumentsLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Arguments</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-04-18 23:27:45 +02:00
|
|
|
<item row="2" column="1">
|
2019-06-10 22:48:26 +02:00
|
|
|
<widget class="QtUtilities::ClearLineEdit" name="argumentsLineEdit"/>
|
2016-09-03 19:39:43 +02:00
|
|
|
</item>
|
2018-04-18 23:27:45 +02:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QCheckBox" name="useBuiltInVersionCheckBox">
|
|
|
|
<property name="text">
|
2019-10-09 23:09:16 +02:00
|
|
|
<string>Use built-in Syncthing library</string>
|
2018-04-18 23:27:45 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-07-17 17:53:36 +02:00
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QLabel" name="configDirLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Config directory</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1">
|
|
|
|
<widget class="QtUtilities::PathSelection" name="configDirPathSelection" native="true"/>
|
|
|
|
</item>
|
2020-05-05 19:01:05 +02:00
|
|
|
<item row="5" column="0">
|
2020-01-20 22:30:42 +01:00
|
|
|
<widget class="QLabel" name="logLevelLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Log level</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-05-05 19:01:05 +02:00
|
|
|
<item row="5" column="1">
|
2020-01-20 22:30:42 +01:00
|
|
|
<widget class="QComboBox" name="logLevelComboBox">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Debug</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Verbose</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Info</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Warning</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Fatal</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2020-05-05 19:01:05 +02:00
|
|
|
<item row="4" column="0">
|
|
|
|
<widget class="QLabel" name="dataDirLabel">
|
|
|
|
<property name="text">
|
|
|
|
<string>Data directory</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="4" column="1">
|
|
|
|
<widget class="QtUtilities::PathSelection" name="dataDirPathSelection" native="true"/>
|
|
|
|
</item>
|
2016-09-03 19:39:43 +02:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-07-12 20:26:56 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="showButtonCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Show start/stop button on tray for local instance</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2018-04-03 00:11:55 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="considerForReconnectCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Consider process status for reconnect attempts to local instance
|
|
|
|
• Don't reconnect when the process is not running
|
|
|
|
• Try to reconnect when starting the process</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2016-09-03 19:39:43 +02:00
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="logLabel">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Syncthing log (interleaved stdout/stderr)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="launchNowPushButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Apply and launch now</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2017-04-23 18:27:31 +02:00
|
|
|
<iconset theme="view-refresh" resource="../resources/syncthingwidgetsicons.qrc">
|
2016-10-17 22:07:58 +02:00
|
|
|
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
|
2016-09-03 19:39:43 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="stopPushButton">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Stop launched instance</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
2017-04-23 18:27:31 +02:00
|
|
|
<iconset theme="process-stop" resource="../resources/syncthingwidgetsicons.qrc">
|
2016-10-17 22:07:58 +02:00
|
|
|
<normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</iconset>
|
2016-09-03 19:39:43 +02:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2019-06-10 22:48:26 +02:00
|
|
|
<widget class="QtUtilities::ClearPlainTextEdit" name="logTextEdit">
|
2016-09-03 19:39:43 +02:00
|
|
|
<property name="undoRedoEnabled">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="readOnly">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="placeholderText">
|
|
|
|
<string>No log messages available yet</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="ensureCursorVisibleCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Ensure latest log is visible</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
2020-01-11 20:53:07 +01:00
|
|
|
<customwidget>
|
|
|
|
<class>QtUtilities::ClearLineEdit</class>
|
|
|
|
<extends>QLineEdit</extends>
|
|
|
|
<header location="global">qtutilities/widgets/clearlineedit.h</header>
|
|
|
|
</customwidget>
|
2016-09-03 19:39:43 +02:00
|
|
|
<customwidget>
|
2019-06-10 22:48:26 +02:00
|
|
|
<class>QtUtilities::PathSelection</class>
|
2016-09-03 19:39:43 +02:00
|
|
|
<extends>QWidget</extends>
|
2017-04-23 14:14:09 +02:00
|
|
|
<header location="global">qtutilities/widgets/pathselection.h</header>
|
2016-09-03 19:39:43 +02:00
|
|
|
<container>1</container>
|
|
|
|
</customwidget>
|
|
|
|
<customwidget>
|
2019-06-10 22:48:26 +02:00
|
|
|
<class>QtUtilities::ClearPlainTextEdit</class>
|
2016-09-03 19:39:43 +02:00
|
|
|
<extends>QPlainTextEdit</extends>
|
|
|
|
<header location="global">qtutilities/widgets/clearplaintextedit.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
2016-10-17 22:07:58 +02:00
|
|
|
<resources>
|
2017-04-23 18:27:31 +02:00
|
|
|
<include location="../resources/syncthingwidgetsicons.qrc"/>
|
2016-10-17 22:07:58 +02:00
|
|
|
</resources>
|
2016-09-03 19:39:43 +02:00
|
|
|
<connections>
|
2018-04-18 23:27:45 +02:00
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>syncthingPathSelection</receiver>
|
|
|
|
<slot>setDisabled(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>320</x>
|
|
|
|
<y>58</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>320</x>
|
|
|
|
<y>36</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2019-07-17 17:53:36 +02:00
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>argumentsLineEdit</receiver>
|
|
|
|
<slot>setHidden(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>319</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>394</x>
|
|
|
|
<y>101</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>configDirPathSelection</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>319</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>171</x>
|
|
|
|
<y>132</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>configDirLabel</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>319</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>116</x>
|
|
|
|
<y>132</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>argumentsLabel</receiver>
|
|
|
|
<slot>setHidden(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>319</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>131</x>
|
|
|
|
<y>101</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2020-01-20 22:30:42 +01:00
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>logLevelLabel</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>227</x>
|
|
|
|
<y>61</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>116</x>
|
|
|
|
<y>143</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>logLevelComboBox</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>227</x>
|
|
|
|
<y>61</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>180</x>
|
|
|
|
<y>145</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2020-05-05 19:01:05 +02:00
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>dataDirLabel</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>273</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>122</x>
|
|
|
|
<y>156</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>useBuiltInVersionCheckBox</sender>
|
|
|
|
<signal>toggled(bool)</signal>
|
|
|
|
<receiver>dataDirPathSelection</receiver>
|
|
|
|
<slot>setVisible(bool)</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>273</x>
|
|
|
|
<y>68</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>171</x>
|
|
|
|
<y>156</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
2016-09-03 19:39:43 +02:00
|
|
|
</connections>
|
|
|
|
</ui>
|