Add an icon for every settings tab
This commit is contained in:
parent
180b425e8b
commit
cbecf9ccf2
|
@ -11,7 +11,7 @@ set(META_APP_CATEGORIES "Network;FileTransfer")
|
||||||
set(META_GUI_OPTIONAL false)
|
set(META_GUI_OPTIONAL false)
|
||||||
set(META_VERSION_MAJOR 1)
|
set(META_VERSION_MAJOR 1)
|
||||||
set(META_VERSION_MINOR 1)
|
set(META_VERSION_MINOR 1)
|
||||||
set(META_VERSION_PATCH 6)
|
set(META_VERSION_PATCH 7)
|
||||||
set(META_VERSION_EXACT_SONAME ON)
|
set(META_VERSION_EXACT_SONAME ON)
|
||||||
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)
|
set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON)
|
||||||
|
|
||||||
|
|
|
@ -132,12 +132,8 @@ SettingsDialog::SettingsDialog(Plasmoid::SyncthingApplet &applet)
|
||||||
// most startup options don't make much sense for a Plasmoid, so merge webview with startup
|
// most startup options don't make much sense for a Plasmoid, so merge webview with startup
|
||||||
auto *const webViewPage = new WebViewOptionPage;
|
auto *const webViewPage = new WebViewOptionPage;
|
||||||
webViewPage->widget()->setWindowTitle(QCoreApplication::translate("Plasmoid::SettingsDialog", "Web view"));
|
webViewPage->widget()->setWindowTitle(QCoreApplication::translate("Plasmoid::SettingsDialog", "Web view"));
|
||||||
webViewPage->widget()->setWindowIcon(
|
|
||||||
QIcon::fromTheme(QStringLiteral("internet-web-browser"), QIcon(QStringLiteral(":/icons/hicolor/scalable/apps/internet-web-browser.svg"))));
|
|
||||||
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
|
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
|
||||||
auto *const systemdPage = new SystemdOptionPage;
|
auto *const systemdPage = new SystemdOptionPage;
|
||||||
systemdPage->widget()->setWindowIcon(
|
|
||||||
QIcon::fromTheme(QStringLiteral("system-run"), QIcon(QStringLiteral(":/icons/hicolor/scalable/apps/system-run.svg"))));
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
category = new OptionCategory;
|
category = new OptionCategory;
|
||||||
|
|
|
@ -81,6 +81,9 @@ set(REQUIRED_ICONS
|
||||||
preferences-desktop-icons
|
preferences-desktop-icons
|
||||||
preferences-desktop-locale
|
preferences-desktop-locale
|
||||||
preferences-desktop-notification
|
preferences-desktop-notification
|
||||||
|
preferences-system-startup
|
||||||
|
preferences-system-startup
|
||||||
|
preferences-system-services
|
||||||
preferences-other
|
preferences-other
|
||||||
process-stop
|
process-stop
|
||||||
qtcreator
|
qtcreator
|
||||||
|
|
|
@ -64,6 +64,8 @@ set(REQUIRED_ICONS
|
||||||
edit-paste
|
edit-paste
|
||||||
list-remove
|
list-remove
|
||||||
preferences-desktop-notification
|
preferences-desktop-notification
|
||||||
|
preferences-system-startup
|
||||||
|
preferences-system-services
|
||||||
view-refresh
|
view-refresh
|
||||||
emblem-checked
|
emblem-checked
|
||||||
network-connect
|
network-connect
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Autostart</string>
|
<string>Autostart</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset theme="preferences-system-startup"/>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="autostartCheckBox">
|
<widget class="QCheckBox" name="autostartCheckBox">
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
<string>Connection</string>
|
<string>Connection</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset theme="network-connect">
|
<iconset theme="network-connect" resource="../../tray/resources/syncthingtrayicons.qrc">
|
||||||
<normaloff>.</normaloff>.</iconset>
|
<normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</normaloff>:/icons/hicolor/scalable/actions/network-connect.svg</iconset>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QFormLayout" name="formLayout">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<property name="verticalSpacing">
|
<property name="verticalSpacing">
|
||||||
|
@ -583,6 +583,7 @@
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
|
<include location="../../tray/resources/syncthingtrayicons.qrc"/>
|
||||||
<include location="../resources/syncthingwidgetsicons.qrc"/>
|
<include location="../resources/syncthingwidgetsicons.qrc"/>
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
|
|
|
@ -5,6 +5,10 @@
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Syncthing launcher</string>
|
<string>Syncthing launcher</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset theme="system-run" resource="../resources/syncthingwidgetsicons.qrc">
|
||||||
|
<normaloff>:/icons/hicolor/scalable/apps/system-run.svg</normaloff>:/icons/hicolor/scalable/apps/system-run.svg</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="enabledCheckBox">
|
<widget class="QCheckBox" name="enabledCheckBox">
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Systemd</string>
|
<string>Systemd</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset theme="preferences-system-services"/>
|
||||||
|
</property>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout">
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="showButtonCheckBox">
|
<widget class="QCheckBox" name="showButtonCheckBox">
|
||||||
|
|
|
@ -11,6 +11,10 @@
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>General</string>
|
<string>General</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="windowIcon">
|
||||||
|
<iconset theme="internet-web-browser" resource="../resources/syncthingwidgetsicons.qrc">
|
||||||
|
<normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</normaloff>:/icons/hicolor/scalable/apps/internet-web-browser.svg</iconset>
|
||||||
|
</property>
|
||||||
<layout class="QFormLayout" name="formLayout">
|
<layout class="QFormLayout" name="formLayout">
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="usageLabel">
|
<widget class="QLabel" name="usageLabel">
|
||||||
|
@ -65,6 +69,8 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources>
|
||||||
|
<include location="../resources/syncthingwidgetsicons.qrc"/>
|
||||||
|
</resources>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
Loading…
Reference in New Issue