2016-12-18 16:50:35 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>QtGui::SystemdOptionPage</class>
|
|
|
|
<widget class="QWidget" name="QtGui::SystemdOptionPage">
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Systemd</string>
|
|
|
|
</property>
|
2021-05-07 00:05:18 +02:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset theme="preferences-system-services"/>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="showButtonCheckBox">
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<weight>75</weight>
|
|
|
|
<bold>true</bold>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
2016-12-27 16:16:12 +01:00
|
|
|
<string>Show start/stop button on tray for local instance when systemd is available</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QCheckBox" name="considerForReconnectCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>Consider systemd unit status for reconnect attempts to local instance
|
|
|
|
• Don't reconnect when unit not active/running
|
|
|
|
• Try to reconnect when unit becomes active/running</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="Line" name="line">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
2016-12-18 16:50:35 +01:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="systemdFormWidget" native="true">
|
2020-01-11 20:53:07 +01:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<layout class="QFormLayout" name="formLayout">
|
|
|
|
<property name="leftMargin">
|
|
|
|
<number>30</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="syncthingUnitLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Syncthing unit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="1">
|
2019-06-10 22:48:26 +02:00
|
|
|
<widget class="QtUtilities::ClearLineEdit" name="syncthingUnitLineEdit"/>
|
2016-12-18 16:50:35 +01:00
|
|
|
</item>
|
2020-01-11 20:53:07 +01:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QCheckBox" name="systemUnitCheckBox">
|
|
|
|
<property name="text">
|
|
|
|
<string>System unit</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="2" column="0">
|
2016-12-18 16:50:35 +01:00
|
|
|
<widget class="QLabel" name="descriptionLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Description</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="2" column="1">
|
2016-12-18 16:50:35 +01:00
|
|
|
<layout class="QHBoxLayout" name="descriptionHorizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="descriptionValueLabel">
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>unknown</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="3" column="0">
|
2016-12-18 16:50:35 +01:00
|
|
|
<widget class="QLabel" name="statusLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Current status</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="3" column="1">
|
2016-12-18 16:50:35 +01:00
|
|
|
<layout class="QHBoxLayout" name="statusHorizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="statusIndicator" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="statusValueLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>unknown</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="startPushButton">
|
2019-12-18 00:27:25 +01:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>Start</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="system-run">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="stopPushButton">
|
2019-12-18 00:27:25 +01:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>Stop</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="process-stop">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="4" column="0">
|
2016-12-18 16:50:35 +01:00
|
|
|
<widget class="QLabel" name="unitFileStateLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Unit file state</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item row="4" column="1">
|
2016-12-18 16:50:35 +01:00
|
|
|
<layout class="QHBoxLayout" name="unitFileStateHorizontalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="enabledIndicator" native="true">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="autoFillBackground">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="unitFileStateValueLabel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>unknown</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="enablePushButton">
|
2019-12-18 00:27:25 +01:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>Enable</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="emblem-checked">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QPushButton" name="disablePushButton">
|
2019-12-18 00:27:25 +01:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>150</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2016-12-18 16:50:35 +01:00
|
|
|
<property name="text">
|
|
|
|
<string>Disable</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset theme="emblem-remove">
|
|
|
|
<normaloff>.</normaloff>.</iconset>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2019-12-18 00:18:46 +01:00
|
|
|
<item>
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</item>
|
2016-12-18 16:50:35 +01:00
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
2019-06-10 22:48:26 +02:00
|
|
|
<class>QtUtilities::ClearLineEdit</class>
|
2016-12-18 16:50:35 +01:00
|
|
|
<extends>QLineEdit</extends>
|
|
|
|
<header location="global">qtutilities/widgets/clearlineedit.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>showButtonCheckBox</tabstop>
|
|
|
|
<tabstop>syncthingUnitLineEdit</tabstop>
|
|
|
|
<tabstop>startPushButton</tabstop>
|
|
|
|
<tabstop>stopPushButton</tabstop>
|
|
|
|
<tabstop>enablePushButton</tabstop>
|
|
|
|
<tabstop>disablePushButton</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources/>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|