<?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">
     <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="QtUtilities::PathSelection" name="syncthingPathSelection" native="true"/>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="argumentsLabel">
        <property name="text">
         <string>Arguments</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <widget class="QtUtilities::ClearLineEdit" name="argumentsLineEdit"/>
      </item>
      <item row="1" column="1">
       <widget class="QCheckBox" name="useBuiltInVersionCheckBox">
        <property name="text">
         <string>Use built-in Syncthing library</string>
        </property>
       </widget>
      </item>
      <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>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="showButtonCheckBox">
     <property name="text">
      <string>Show start/stop button on tray for local instance</string>
     </property>
    </widget>
   </item>
   <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>
   <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">
        <iconset theme="view-refresh" resource="../resources/syncthingwidgetsicons.qrc">
         <normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</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" resource="../resources/syncthingwidgetsicons.qrc">
         <normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</normaloff>:/icons/hicolor/scalable/actions/process-stop.svg</iconset>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QtUtilities::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>QtUtilities::PathSelection</class>
   <extends>QWidget</extends>
   <header location="global">qtutilities/widgets/pathselection.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>QtUtilities::ClearLineEdit</class>
   <extends>QLineEdit</extends>
   <header location="global">qtutilities/widgets/clearlineedit.h</header>
  </customwidget>
  <customwidget>
   <class>QtUtilities::ClearPlainTextEdit</class>
   <extends>QPlainTextEdit</extends>
   <header location="global">qtutilities/widgets/clearplaintextedit.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="../resources/syncthingwidgetsicons.qrc"/>
 </resources>
 <connections>
  <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>
  <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>
 </connections>
</ui>
