Mixing ForkAwesome icons too much with the regular icon theme doesn't look good (depending on the theme) so let's prefer ForkAwesome icons within the tray widget which already uses ForkAwesome in some places like certain buttons and models. This makes it also look more in-line with Syncthing's web UI. For context menus and dialogs let's prefer system icons because there are hardly any ForkAwesome icons used/required so far and it is maybe nicer to be in-line with the system here.
550 lines
16 KiB
XML
550 lines
16 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>refresh.fa</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>play.fa</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>info.fa</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>cogs.fa</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>
|
|
<property name="icon">
|
|
<iconset>syncthing.fa</iconset>
|
|
</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>plug.fa</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>folder.fa</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">
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="devsTab">
|
|
<attribute name="icon">
|
|
<iconset>sitemap.fa</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">
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="downloadsTab">
|
|
<attribute name="icon">
|
|
<iconset>download.fa</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>history.fa</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">
|
|
<property name="rootIsDecorated">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</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="../resources/syncthingtrayicons.qrc"/>
|
|
<include location="../../widgets/resources/syncthingwidgetsicons.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|