syncthingtray/tray/gui/launcheroptionpage.ui

211 lines
6.0 KiB
Plaintext
Raw Normal View History

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>
<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">
<property name="enabled">
<bool>false</bool>
</property>
<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">
<widget class="Widgets::PathSelection" name="syncthingPathSelection" native="true"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="argumentsLabel">
<property name="text">
<string>Arguments</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="Widgets::ClearLineEdit" name="argumentsLineEdit"/>
</item>
</layout>
</widget>
</item>
<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="enabled">
<bool>false</bool>
</property>
<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 13:57:23 +02:00
<iconset theme="view-refresh" resource="../resources/syncthingtrayicons.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 13:57:23 +02:00
<iconset theme="process-stop" resource="../resources/syncthingtrayicons.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>
<widget class="Widgets::ClearPlainTextEdit" name="logTextEdit">
<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>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
2017-04-23 13:57:23 +02:00
<header>widgets/pathselection.h</header>
2016-09-03 19:39:43 +02:00
<container>1</container>
</customwidget>
2017-04-23 13:57:23 +02:00
<customwidget>
<class>Widgets::ClearLineEdit</class>
<extends>QLineEdit</extends>
<header location="global">qtutilities/widgets/clearlineedit.h</header>
</customwidget>
2016-09-03 19:39:43 +02:00
<customwidget>
<class>Widgets::ClearPlainTextEdit</class>
<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 13:57:23 +02:00
<include location="../resources/syncthingtrayicons.qrc"/>
2016-10-17 22:07:58 +02:00
</resources>
2016-09-03 19:39:43 +02:00
<connections>
<connection>
<sender>enabledCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>launcherFormWidget</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>142</x>
<y>17</y>
</hint>
<hint type="destinationlabel">
<x>142</x>
<y>65</y>
</hint>
</hints>
</connection>
<connection>
<sender>enabledCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>launchNowPushButton</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>259</x>
<y>19</y>
</hint>
<hint type="destinationlabel">
<x>257</x>
<y>130</y>
</hint>
</hints>
</connection>
</connections>
</ui>