2016-08-25 00:45:32 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtGui::ConnectionOptionPage</class>
<widget class="QWidget" name="QtGui::ConnectionOptionPage">
<property name="windowTitle">
<string>Connection</string>
</property>
2016-09-01 16:34:30 +02:00
<property name="windowIcon">
2016-09-03 19:39:43 +02:00
<iconset theme="network-connect">
<normaloff>.</normaloff>.</iconset>
2016-09-01 16:34:30 +02:00
</property>
2016-08-25 00:45:32 +02:00
<layout class="QFormLayout" name="formLayout">
2016-09-25 20:54:09 +02:00
<property name="verticalSpacing">
<number>4</number>
</property>
2016-08-25 00:45:32 +02:00
<item row="0" column="0">
2016-09-03 20:14:52 +02:00
<widget class="QLabel" name="instanceLabel">
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Config label</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QFrame" name="selectionFrame">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>4</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="selectionComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="addPushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Add secondary instance</string>
</property>
<property name="icon">
2016-10-17 22:07:58 +02:00
<iconset theme="list-add" resource="../resources/icons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/list-add.svg</normaloff>:/icons/hicolor/scalable/actions/list-add.svg</iconset>
2016-09-03 20:14:52 +02:00
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="removePushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Remove currently selected secondary instance</string>
</property>
<property name="icon">
2016-10-17 22:07:58 +02:00
<iconset theme="list-remove" resource="../resources/icons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</normaloff>:/icons/hicolor/scalable/actions/list-remove.svg</iconset>
2016-09-03 20:14:52 +02:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="1" column="0">
<widget class="QLabel" name="instanceNoteIcon">
<property name="minimumSize">
<size>
<width>32</width>
<height>32</height>
</size>
</property>
</widget>
</item>
2016-09-25 20:54:09 +02:00
<item row="1" column="1">
<widget class="QLabel" name="instanceNoteLabel">
<property name="sizePolicy">
2016-12-27 16:38:33 +01:00
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
2016-09-25 20:54:09 +02:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>It is possible to save multiple configurations. This allows switching quickly between multiple Syncthing instances using the connection button in the right corner of the tray menu. The config label is an arbitrary name to identify a configuration and does not have to match the name of the corresponding Syncthing device.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="Line" name="line1">
<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>
2016-09-03 20:14:52 +02:00
<item row="3" column="0">
2016-08-25 00:45:32 +02:00
<widget class="QLabel" name="urlLabel">
<property name="text">
<string>Syncthing URL</string>
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="3" column="1">
2016-08-25 00:45:32 +02:00
<widget class="Widgets::ClearLineEdit" name="urlLineEdit"/>
</item>
2016-09-03 20:14:52 +02:00
<item row="4" column="0">
2016-08-25 00:45:32 +02:00
<widget class="QLabel" name="authLabel">
<property name="text">
<string>Authentication</string>
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="4" column="1">
2016-08-25 00:45:32 +02:00
<widget class="QCheckBox" name="authCheckBox"/>
</item>
2016-09-03 20:14:52 +02:00
<item row="5" column="0">
2016-08-25 00:45:32 +02:00
<widget class="QLabel" name="userNameLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>User</string>
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="5" column="1">
<widget class="Widgets::ClearLineEdit" name="userNameLineEdit">
2016-08-25 00:45:32 +02:00
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="6" column="0">
<widget class="QLabel" name="passwordLabel">
2016-08-25 00:45:32 +02:00
<property name="enabled">
<bool>false</bool>
</property>
2016-09-03 20:14:52 +02:00
<property name="text">
<string>Password</string>
</property>
2016-08-25 00:45:32 +02:00
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="6" column="1">
2016-10-06 23:50:19 +02:00
<widget class="Widgets::ClearLineEdit" name="passwordLineEdit">
2016-08-25 00:45:32 +02:00
<property name="enabled">
<bool>false</bool>
</property>
<property name="echoMode">
<enum>QLineEdit::Password</enum>
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="8" column="0">
<widget class="QLabel" name="apiKeyLabel">
<property name="text">
<string>API key</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="Widgets::ClearLineEdit" name="apiKeyLineEdit"/>
</item>
2016-09-25 20:54:09 +02:00
<item row="9" column="0">
<widget class="QLabel" name="certificateLabel">
<property name="text">
<string>HTTPS certificate</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="Widgets::PathSelection" name="certPathSelection" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
2016-09-01 16:34:30 +02:00
<item row="11" column="1">
2016-09-03 20:14:52 +02:00
<widget class="QPushButton" name="insertFromConfigFilePushButton">
<property name="styleSheet">
<string notr="true">font-weight: bold;</string>
</property>
2016-08-25 00:45:32 +02:00
<property name="text">
2016-09-03 20:14:52 +02:00
<string>Insert values from local Syncthing configuration</string>
</property>
<property name="icon">
2016-10-17 22:07:58 +02:00
<iconset theme="edit-paste" resource="../resources/icons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</normaloff>:/icons/hicolor/scalable/actions/edit-paste.svg</iconset>
2016-08-25 00:45:32 +02:00
</property>
</widget>
</item>
2016-09-03 20:14:52 +02:00
<item row="12" column="1">
<widget class="Line" name="line2">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
2016-09-25 20:54:09 +02:00
<item row="13" column="0">
<widget class="QLabel" name="pollLabel">
2016-09-01 16:34:30 +02:00
<property name="text">
2016-09-25 20:54:09 +02:00
<string>Poll interval</string>
2016-09-01 16:34:30 +02:00
</property>
2016-09-25 20:54:09 +02:00
<property name="margin">
<number>1</number>
2016-09-03 20:14:52 +02:00
</property>
</widget>
</item>
2016-09-25 20:54:09 +02:00
<item row="13" column="1">
2017-01-12 22:38:36 +01:00
<layout class="QGridLayout" name="gridLayout">
<property name="horizontalSpacing">
2016-09-25 20:54:09 +02:00
<number>10</number>
2016-09-01 16:34:30 +02:00
</property>
2017-01-12 22:38:36 +01:00
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="1">
2016-09-25 20:54:09 +02:00
<widget class="QSpinBox" name="pollTrafficSpinBox">
2016-10-07 15:11:25 +02:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2016-09-25 20:54:09 +02:00
<property name="suffix">
<string> ms</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>999999999</number>
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="0" column="0">
<widget class="QLabel" name="pollTrafficLabel">
<property name="text">
<string>Traffic</string>
2016-09-25 20:54:09 +02:00
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="0" column="3">
2016-09-25 20:54:09 +02:00
<widget class="QLabel" name="pollDevStatsLabel">
<property name="text">
<string>Device statistics</string>
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="0" column="2">
<widget class="Line" name="line3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="0" column="4">
2016-09-25 20:54:09 +02:00
<widget class="QSpinBox" name="pollDevStatsSpinBox">
2016-10-07 15:11:25 +02:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2016-09-25 20:54:09 +02:00
<property name="suffix">
<string> ms</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>999999999</number>
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="1" column="0">
<widget class="QLabel" name="pollErrorsLabel">
<property name="text">
<string>Errors</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="pollErrorsSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string> ms</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>999999999</number>
2016-10-07 15:11:25 +02:00
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="1" column="3">
2016-10-07 15:11:25 +02:00
<widget class="QLabel" name="reconnectLabel">
<property name="text">
<string>Reconnect</string>
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="1" column="4">
2016-10-07 15:11:25 +02:00
<widget class="QSpinBox" name="reconnectSpinBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="specialValueText">
<string>no</string>
</property>
<property name="suffix">
<string> ms</string>
</property>
<property name="maximum">
<number>999999999</number>
</property>
</widget>
</item>
2017-01-12 22:38:36 +01:00
<item row="1" column="2">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
2016-09-25 20:54:09 +02:00
</layout>
2016-09-01 16:34:30 +02:00
</item>
2017-01-12 22:38:36 +01:00
<item row="14" column="0">
<widget class="QLabel" name="statusTextLabel">
<property name="text">
<string>Status</string>
</property>
</widget>
</item>
<item row="14" column="1">
<widget class="QLabel" name="statusLabel">
<property name="text">
<string>disconnected</string>
</property>
</widget>
</item>
<item row="17" column="1">
<widget class="QPushButton" name="connectPushButton">
<property name="text">
<string>Apply connection settings and try to reconnect with the currently selected config</string>
</property>
<property name="icon">
<iconset theme="view-refresh" resource="../resources/icons.qrc">
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
2016-12-27 16:38:33 +01:00
</property>
</widget>
</item>
2016-08-25 00:45:32 +02:00
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Widgets::ClearLineEdit</class>
<extends>QLineEdit</extends>
<header location="global">qtutilities/widgets/clearlineedit.h</header>
</customwidget>
2016-09-03 20:14:52 +02:00
<customwidget>
<class>Widgets::PathSelection</class>
<extends>QWidget</extends>
<header location="global">qtutilities/widgets/pathselection.h</header>
<container>1</container>
</customwidget>
2016-08-25 00:45:32 +02:00
</customwidgets>
2016-10-17 22:07:58 +02:00
<resources>
<include location="../resources/icons.qrc"/>
</resources>
2016-08-25 00:45:32 +02:00
<connections>
<connection>
<sender>authCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>userNameLabel</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>authCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>userNameLineEdit</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>authCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>passwordLabel</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
<connection>
<sender>authCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>passwordLineEdit</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>20</x>
<y>20</y>
</hint>
<hint type="destinationlabel">
<x>20</x>
<y>20</y>
</hint>
</hints>
</connection>
</connections>
</ui>