Martchus
ed4d1fc213
That looks more consistent, especially when using a dark color theme where the default Syncthing icon doesn't fit in very well.
545 lines
18 KiB
XML
545 lines
18 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="windowTitle">
|
|
<string>Syncthing Tray</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset resource="../../widgets/resources/syncthingwidgetsicons.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="statusPushButton">
|
|
<property name="text">
|
|
<string>Connect</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="view-refresh" resource="../../widgets/resources/syncthingwidgetsicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</normaloff>:/icons/hicolor/scalable/actions/view-refresh.svg</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="startStopPushButton">
|
|
<property name="text">
|
|
<string>Start</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="system-run" resource="../../widgets/resources/syncthingwidgetsicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</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="aboutPushButton">
|
|
<property name="toolTip">
|
|
<string>About</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="help-about" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/actions/help-about.svg</normaloff>:/icons/hicolor/scalable/actions/help-about.svg</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="settingsPushButton">
|
|
<property name="toolTip">
|
|
<string>Settings</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="preferences-other" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</normaloff>:/icons/hicolor/scalable/actions/application-menu.svg</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="webUiPushButton">
|
|
<property name="toolTip">
|
|
<string>Open Syncthing</string>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="connectionsPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset theme="network-connect" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</iconset>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</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_3">
|
|
<property name="spacing">
|
|
<number>8</number>
|
|
</property>
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetDefaultConstraint</enum>
|
|
</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>
|
|
<layout class="QHBoxLayout" name="statisticsHorizontalLayout">
|
|
<item>
|
|
<widget class="QWidget" name="statisticsFormWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QFormLayout" name="statisticsFormLayout">
|
|
<property name="verticalSpacing">
|
|
<number>2</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 row="0" column="0">
|
|
<widget class="QLabel" name="globalTextLabel">
|
|
<property name="text">
|
|
<string>Global</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="globalStatisticsLabel">
|
|
<property name="toolTip">
|
|
<string>Global overall statistics</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>unknown</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="localTextLabel">
|
|
<property name="text">
|
|
<string>Local</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="localStatisticsLabel">
|
|
<property name="toolTip">
|
|
<string>Local overall statistics</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>unknown</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="trafficHorizontalLayout">
|
|
<property name="leftMargin">
|
|
<number>6</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QWidget" name="trafficFormWidget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="verticalSpacing">
|
|
<number>2</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 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="2" 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="2" 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>
|
|
<spacer name="trafficHorizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="notificationsPushButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Preferred">
|
|
<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>
|
|
</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" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/places/folder.svg</normaloff>:/icons/hicolor/scalable/places/folder.svg</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" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</normaloff>:/icons/hicolor/scalable/places/network-workgroup.svg</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" resource="../resources/syncthingtrayicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/places/folder-download.svg</normaloff>:/icons/hicolor/scalable/places/folder-download.svg</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 class="QWidget" name="recentChangesTab">
|
|
<attribute name="icon">
|
|
<iconset theme="document-open-recent-symbolic">
|
|
<normaloff>.</normaloff>
|
|
<normalon>:/icons/hicolor/scalable/actions/appointment-new.svg</normalon>.</iconset>
|
|
</attribute>
|
|
<attribute name="title">
|
|
<string>Recent changes</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<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="QTreeView" name="recentChangesTreeView"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
<action name="actionShowNotifications">
|
|
<property name="icon">
|
|
<iconset theme="text-x-generic" resource="../../model/resources/syncthingmodelicons.qrc">
|
|
<normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</normaloff>:/icons/hicolor/scalable/mimetypes/text-x-generic.svg</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Show</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionDismissNotifications">
|
|
<property name="icon">
|
|
<iconset theme="window-close">
|
|
<disabledoff>:/icons/hicolor/scalable/actions/window-close.svg</disabledoff>
|
|
</iconset>
|
|
</property>
|
|
<property name="text">
|
|
<string>Dismiss</string>
|
|
</property>
|
|
</action>
|
|
</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="../../model/resources/syncthingmodelicons.qrc"/>
|
|
<include location="../../widgets/resources/syncthingwidgetsicons.qrc"/>
|
|
<include location="../resources/syncthingtrayicons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|