431 lines
12 KiB
XML
431 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>QtGui::TrayWidget</class>
|
|
<widget class="QWidget" name="QtGui::TrayWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>400</width>
|
|
<height>300</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Syncthing Tray</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../resources/icons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</normaloff>:/icons/hicolor/scalable/app/syncthingtray.svg</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="buttonsFrame">
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</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="QPushButton" name="closePushButton">
|
|
<property name="toolTip">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="window-close">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="aboutPushButton">
|
|
<property name="toolTip">
|
|
<string>About</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="help-about">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="statusPushButton">
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="view-refresh">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="settingsPushButton">
|
|
<property name="toolTip">
|
|
<string>Settings</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="preferences-other">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="webUiPushButton">
|
|
<property name="toolTip">
|
|
<string>Web UI</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="internet-web-browser">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QFrame" name="infoFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>3</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="QLabel" name="trafficIconLabel">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>32</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Traffic</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="trafficFormWidget" native="true">
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="verticalSpacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="trafficInTextLabel">
|
|
<property name="text">
|
|
<string>In</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="inTrafficLabel">
|
|
<property name="toolTip">
|
|
<string>Incoming traffic</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>unknown</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="trafficOutTextLabel">
|
|
<property name="text">
|
|
<string>Out</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="outTrafficLabel">
|
|
<property name="toolTip">
|
|
<string>Outgoing traffic</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>unknown</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="notificationsPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Click to show <i>new</i> notifications<br>
|
|
For <i>all</i> notifications, checkout the log</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>New notifications</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="dialog-warning">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="connectionsPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="network-connect">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::South</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="documentMode">
|
|
<bool>true</bool>
|
|
</property>
|
|
<widget class="QWidget" name="dirsTab">
|
|
<attribute name="icon">
|
|
<iconset theme="folder">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>Directories</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="dirsTabVerticalLayout">
|
|
<property name="spacing">
|
|
<number>0</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="QtGui::DirView" name="dirsTreeView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="devsTab">
|
|
<attribute name="icon">
|
|
<iconset theme="network-server">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>Devices</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="devsTabVerticalLayout">
|
|
<property name="spacing">
|
|
<number>0</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="QtGui::DevView" name="devsTreeView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="downloadsTab">
|
|
<attribute name="icon">
|
|
<iconset theme="folder-download">
|
|
<normaloff>.</normaloff>.</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>Downloads</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>0</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="QtGui::DownloadView" name="downloadsTreeView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QtGui::DirView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>./gui/dirview.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>QtGui::DevView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>./gui/devview.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>QtGui::DownloadView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>./gui/downloadview.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../resources/icons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|