syncthingtray/gui/launcheroptionpage.ui

217 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtGui::LauncherOptionPage</class>
<widget class="QWidget" name="QtGui::LauncherOptionPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>517</width>
<height>345</height>
</rect>
</property>
<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>
<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="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">
<iconset theme="view-refresh">
<normaloff>.</normaloff>.</iconset>
</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">
<iconset theme="process-stop">
<normaloff>.</normaloff>.</iconset>
</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::ClearLineEdit</class>
<extends>QLineEdit</extends>
<header location="global">qtutilities/widgets/clearlineedit.h</header>
</customwidget>
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header location="global">qtutilities/widgets/pathselection.h</header>
<container>1</container>
</customwidget>
<customwidget>
<class>Widgets::ClearPlainTextEdit</class>
<extends>QPlainTextEdit</extends>
<header location="global">qtutilities/widgets/clearplaintextedit.h</header>
</customwidget>
</customwidgets>
<resources/>
<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>