aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 20:27:50 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 20:27:50 +0200
commit67633631b04c40db0affaadcdcf68068ed4357f7 (patch)
tree2bbba39317091072135a39fb6542c7fe8ac0a56f /src
parent4923f2e57b005d00057bb30b1599e8273ca23ba7 (diff)
downloadkristall-67633631b04c40db0affaadcdcf68068ed4357f7.tar.gz
Introduces light and dark icon themes.
Diffstat (limited to 'src')
-rw-r--r--src/browsertab.ui32
-rw-r--r--src/certificatemanagementdialog.ui27
-rw-r--r--src/icons.qrc92
-rw-r--r--src/icons/common/certificate-off.svg (renamed from src/icons/shield-outline.svg)0
-rw-r--r--src/icons/common/certificate-on.svg14
-rw-r--r--src/icons/common/favourite-off.svg (renamed from src/icons/heart-outline.svg)0
-rw-r--r--src/icons/common/favourite-on.svg4
-rw-r--r--src/icons/common/qt.svg67
-rw-r--r--src/icons/dark/actions/close.svg (renamed from src/icons/heart.svg)2
-rw-r--r--src/icons/dark/actions/create-new.svg1
-rw-r--r--src/icons/dark/actions/delete-alert.svg1
-rw-r--r--src/icons/dark/actions/navigate-back.svg1
-rw-r--r--src/icons/dark/actions/navigate-forward.svg1
-rw-r--r--src/icons/dark/actions/pause.svg1
-rw-r--r--src/icons/dark/actions/play.svg1
-rw-r--r--src/icons/dark/actions/refresh.svg1
-rw-r--r--src/icons/dark/actions/save-export.svg1
-rw-r--r--src/icons/dark/actions/save-import.svg9
-rw-r--r--src/icons/dark/actions/save.svg1
-rw-r--r--src/icons/dark/index.theme21
-rw-r--r--src/icons/dark/objects/bookmarks.svg1
-rw-r--r--src/icons/dark/objects/certificate.svg1
-rw-r--r--src/icons/dark/objects/changelog.svg1
-rw-r--r--src/icons/dark/objects/folder.svg1
-rw-r--r--src/icons/dark/objects/font.svg1
-rw-r--r--src/icons/dark/objects/help.svg1
-rw-r--r--src/icons/dark/objects/history.svg1
-rw-r--r--src/icons/dark/objects/home.svg1
-rw-r--r--src/icons/dark/objects/info.svg1
-rw-r--r--src/icons/dark/objects/menu.svg1
-rw-r--r--src/icons/dark/objects/palette.svg1
-rw-r--r--src/icons/dark/objects/settings.svg1
-rw-r--r--src/icons/dark/objects/table-of-contents.svg1
-rw-r--r--src/icons/dark/objects/volume-off.svg1
-rw-r--r--src/icons/dark/objects/volume-on.svg1
-rw-r--r--src/icons/light/actions/close.svg (renamed from src/icons/close.svg)0
-rw-r--r--src/icons/light/actions/create-new.svg (renamed from src/icons/plus.svg)0
-rw-r--r--src/icons/light/actions/delete-alert.svg (renamed from src/icons/delete-alert.svg)0
-rw-r--r--src/icons/light/actions/navigate-back.svg (renamed from src/icons/arrow-left.svg)0
-rw-r--r--src/icons/light/actions/navigate-forward.svg (renamed from src/icons/arrow-right.svg)0
-rw-r--r--src/icons/light/actions/pause.svg (renamed from src/icons/pause.svg)0
-rw-r--r--src/icons/light/actions/play.svg (renamed from src/icons/play.svg)0
-rw-r--r--src/icons/light/actions/refresh.svg (renamed from src/icons/refresh.svg)0
-rw-r--r--src/icons/light/actions/save-export.svg (renamed from src/icons/content-save-move.svg)0
-rw-r--r--src/icons/light/actions/save-import.svg (renamed from src/icons/content-save-import.svg)0
-rw-r--r--src/icons/light/actions/save.svg (renamed from src/icons/content-save.svg)0
-rw-r--r--src/icons/light/index.theme21
-rw-r--r--src/icons/light/objects/bookmarks.svg1
-rw-r--r--src/icons/light/objects/certificate.svg (renamed from src/icons/certificate.svg)0
-rw-r--r--src/icons/light/objects/changelog.svg1
-rw-r--r--src/icons/light/objects/folder.svg (renamed from src/icons/folder-open.svg)0
-rw-r--r--src/icons/light/objects/font.svg (renamed from src/icons/format-font.svg)0
-rw-r--r--src/icons/light/objects/help.svg (renamed from src/icons/help-box.svg)0
-rw-r--r--src/icons/light/objects/history.svg1
-rw-r--r--src/icons/light/objects/home.svg (renamed from src/icons/home.svg)0
-rw-r--r--src/icons/light/objects/info.svg (renamed from src/icons/info.svg)0
-rw-r--r--src/icons/light/objects/menu.svg (renamed from src/icons/menu.svg)0
-rw-r--r--src/icons/light/objects/palette.svg (renamed from src/icons/palette.svg)0
-rw-r--r--src/icons/light/objects/settings.svg (renamed from src/icons/settings.svg)0
-rw-r--r--src/icons/light/objects/table-of-contents.svg1
-rw-r--r--src/icons/light/objects/volume-off.svg (renamed from src/icons/volume-off.svg)0
-rw-r--r--src/icons/light/objects/volume-on.svg (renamed from src/icons/volume-high.svg)0
-rw-r--r--src/icons/shield-lock.svg1
-rwxr-xr-xsrc/icons/update-themes.sh10
-rw-r--r--src/identitycollection.cpp4
-rw-r--r--src/mainwindow.cpp1
-rw-r--r--src/mainwindow.hpp19
-rw-r--r--src/mainwindow.ui51
-rw-r--r--src/mediaplayer.cpp6
-rw-r--r--src/mediaplayer.hpp1
-rw-r--r--src/mediaplayer.ui11
-rw-r--r--src/settingsdialog.ui83
72 files changed, 341 insertions, 163 deletions
diff --git a/src/browsertab.ui b/src/browsertab.ui
index c7c7354..63bd9ec 100644
--- a/src/browsertab.ui
+++ b/src/browsertab.ui
@@ -40,11 +40,10 @@
<string>Navigate back</string>
</property>
<property name="text">
- <string/>
+ <string>Back</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/arrow-left.svg</normaloff>:/icons/arrow-left.svg</iconset>
+ <iconset theme="navigate-back"/>
</property>
</widget>
</item>
@@ -57,11 +56,10 @@
<string>Navigate forward</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Forward</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/arrow-right.svg</normaloff>:/icons/arrow-right.svg</iconset>
+ <iconset theme="navigate-forward"/>
</property>
</widget>
</item>
@@ -74,11 +72,10 @@
<string>Stop loading</string>
</property>
<property name="text">
- <string/>
+ <string>Stop</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/close.svg</normaloff>:/icons/close.svg</iconset>
+ <iconset theme="close"/>
</property>
</widget>
</item>
@@ -91,11 +88,10 @@
<string>Refresh current location</string>
</property>
<property name="text">
- <string/>
+ <string>Reload</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/refresh.svg</normaloff>:/icons/refresh.svg</iconset>
+ <iconset theme="refresh"/>
</property>
</widget>
</item>
@@ -115,12 +111,12 @@
<string>Add/remove from favourites</string>
</property>
<property name="text">
- <string/>
+ <string>Favourite</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/heart-outline.svg</normaloff>
- <normalon>:/icons/heart.svg</normalon>:/icons/heart-outline.svg</iconset>
+ <normaloff>:/icons/common/favourite-off.svg</normaloff>
+ <normalon>:/icons/common/favourite-on.svg</normalon>:/icons/common/favourite-off.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@@ -136,12 +132,12 @@
<string>Enable/disable client certificate for this tab</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Client Certificate</string>
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/shield-outline.svg</normaloff>
- <normalon>:/icons/shield-lock.svg</normalon>:/icons/shield-outline.svg</iconset>
+ <normaloff>:/icons/common/certificate-off.svg</normaloff>
+ <normalon>:/icons/common/certificate-on.svg</normalon>:/icons/common/certificate-off.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
diff --git a/src/certificatemanagementdialog.ui b/src/certificatemanagementdialog.ui
index 659e36e..82dd788 100644
--- a/src/certificatemanagementdialog.ui
+++ b/src/certificatemanagementdialog.ui
@@ -14,8 +14,7 @@
<string>Certificate Manager</string>
</property>
<property name="windowIcon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/certificate.svg</normaloff>:/icons/certificate.svg</iconset>
+ <iconset theme="certificate"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -52,11 +51,10 @@
<string>Craete new certificate</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Create...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/plus.svg</normaloff>:/icons/plus.svg</iconset>
+ <iconset theme="create-new"/>
</property>
</widget>
</item>
@@ -66,11 +64,10 @@
<string>Import certificate</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Import...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save-import.svg</normaloff>:/icons/content-save-import.svg</iconset>
+ <iconset theme="save-import"/>
</property>
</widget>
</item>
@@ -96,11 +93,10 @@
<string>Export certificate</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Export...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save-move.svg</normaloff>:/icons/content-save-move.svg</iconset>
+ <iconset theme="save-export"/>
</property>
</widget>
</item>
@@ -113,11 +109,10 @@
<string>Delete certificate</string>
</property>
<property name="text">
- <string>...</string>
+ <string>Delete</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/delete-alert.svg</normaloff>:/icons/delete-alert.svg</iconset>
+ <iconset theme="delete-alert"/>
</property>
</widget>
</item>
@@ -261,9 +256,7 @@
</item>
</layout>
</widget>
- <resources>
- <include location="icons.qrc"/>
- </resources>
+ <resources/>
<connections>
<connection>
<sender>buttonBox</sender>
diff --git a/src/icons.qrc b/src/icons.qrc
index 2bd76e6..58249a7 100644
--- a/src/icons.qrc
+++ b/src/icons.qrc
@@ -1,26 +1,9 @@
<RCC>
<qresource prefix="/">
- <file>icons/arrow-left.svg</file>
- <file>icons/arrow-right.svg</file>
- <file>icons/heart-outline.svg</file>
- <file>icons/heart.svg</file>
- <file>icons/menu.svg</file>
- <file>icons/refresh.svg</file>
- <file>icons/close.svg</file>
- <file>icons/format-font.svg</file>
- <file>icons/palette.svg</file>
- <file>icons/kristall.svg</file>
- <file>icons/settings.svg</file>
- <file>icons/content-save-move.svg</file>
- <file>icons/content-save.svg</file>
- <file>icons/home.svg</file>
- <file>icons/plus.svg</file>
- <file>icons/content-save-import.svg</file>
- <file>icons/folder-open.svg</file>
- <file>icons/volume-high.svg</file>
- <file>icons/volume-off.svg</file>
- <file>icons/play.svg</file>
- <file>icons/pause.svg</file>
+ <file>icons/common/certificate-off.svg</file>
+ <file>icons/common/certificate-on.svg</file>
+ <file>icons/common/favourite-off.svg</file>
+ <file>icons/common/favourite-on.svg</file>
<file>icons/gopher/binary.svg</file>
<file>icons/gopher/directory.svg</file>
<file>icons/gopher/dns.svg</file>
@@ -33,11 +16,66 @@
<file>icons/gopher/sound.svg</file>
<file>icons/gopher/telnet.svg</file>
<file>icons/gopher/text.svg</file>
- <file>icons/info.svg</file>
- <file>icons/help-box.svg</file>
- <file>icons/shield-outline.svg</file>
- <file>icons/shield-lock.svg</file>
- <file>icons/certificate.svg</file>
- <file>icons/delete-alert.svg</file>
+ <file>icons/light/actions/close.svg</file>
+ <file>icons/light/actions/delete-alert.svg</file>
+ <file>icons/light/actions/navigate-back.svg</file>
+ <file>icons/light/actions/navigate-forward.svg</file>
+ <file>icons/light/actions/pause.svg</file>
+ <file>icons/light/actions/play.svg</file>
+ <file>icons/light/actions/refresh.svg</file>
+ <file>icons/light/actions/save-export.svg</file>
+ <file>icons/light/actions/save-import.svg</file>
+ <file>icons/light/actions/save.svg</file>
+ <file>icons/light/objects/certificate.svg</file>
+ <file>icons/light/objects/folder.svg</file>
+ <file>icons/light/objects/font.svg</file>
+ <file>icons/light/objects/home.svg</file>
+ <file>icons/light/objects/info.svg</file>
+ <file>icons/light/objects/menu.svg</file>
+ <file>icons/light/objects/palette.svg</file>
+ <file>icons/light/objects/settings.svg</file>
+ <file>icons/light/objects/volume-on.svg</file>
+ <file>icons/light/objects/volume-off.svg</file>
+ <file>icons/light/index.theme</file>
+ <file>icons/kristall-128.png</file>
+ <file>icons/kristall-16.png</file>
+ <file>icons/kristall-32.png</file>
+ <file>icons/kristall-64.png</file>
+ <file>icons/kristall.svg</file>
+ <file>icons/light/objects/help.svg</file>
+ <file>icons/common/qt.svg</file>
+ <file>icons/light/objects/changelog.svg</file>
+ <file>icons/light/objects/bookmarks.svg</file>
+ <file>icons/light/objects/history.svg</file>
+ <file>icons/light/objects/table-of-contents.svg</file>
+ <file>icons/light/actions/create-new.svg</file>
+ <file>icons/dark/actions/close.svg</file>
+ <file>icons/dark/actions/create-new.svg</file>
+ <file>icons/dark/actions/delete-alert.svg</file>
+ <file>icons/dark/actions/navigate-back.svg</file>
+ <file>icons/dark/actions/navigate-forward.svg</file>
+ <file>icons/dark/actions/pause.svg</file>
+ <file>icons/dark/actions/play.svg</file>
+ <file>icons/dark/actions/refresh.svg</file>
+ <file>icons/dark/actions/save-export.svg</file>
+ <file>icons/dark/actions/save-import.svg</file>
+ <file>icons/dark/actions/save.svg</file>
+ <file>icons/dark/objects/bookmarks.svg</file>
+ <file>icons/dark/objects/certificate.svg</file>
+ <file>icons/dark/objects/changelog.svg</file>
+ <file>icons/dark/objects/folder.svg</file>
+ <file>icons/dark/objects/font.svg</file>
+ <file>icons/dark/objects/help.svg</file>
+ <file>icons/dark/objects/history.svg</file>
+ <file>icons/dark/objects/home.svg</file>
+ <file>icons/dark/objects/info.svg</file>
+ <file>icons/dark/objects/menu.svg</file>
+ <file>icons/dark/objects/palette.svg</file>
+ <file>icons/dark/objects/settings.svg</file>
+ <file>icons/dark/objects/table-of-contents.svg</file>
+ <file>icons/dark/objects/volume-off.svg</file>
+ <file>icons/dark/objects/volume-on.svg</file>
+ <file>icons/dark/index.theme</file>
+ <file>icons/update-themes.sh</file>
</qresource>
</RCC>
diff --git a/src/icons/shield-outline.svg b/src/icons/common/certificate-off.svg
index c46cd12..c46cd12 100644
--- a/src/icons/shield-outline.svg
+++ b/src/icons/common/certificate-off.svg
diff --git a/src/icons/common/certificate-on.svg b/src/icons/common/certificate-on.svg
new file mode 100644
index 0000000..1390967
--- /dev/null
+++ b/src/icons/common/certificate-on.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ height="24"
+ width="24"
+ version="1.1">
+ <path
+ fill="#0000ff"
+ d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.1 14.8,9.5V11C15.4,11 16,11.6 16,12.3V15.8C16,16.4 15.4,17 14.7,17H9.2C8.6,17 8,16.4 8,15.7V12.2C8,11.6 8.6,11 9.2,11V9.5C9.2,8.1 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z" />
+ <path
+ fill="#000000"
+ d="M 21,11 C 21,16.55 17.16,21.739999 12,23 6.84,21.739999 3,16.55 3,11 V 5 l 9,-4 9,4 v 6 m -9,10 c 3.75,-1 7,-5.46 7,-9.78 V 6.3 L 12,3.18 5,6.3 v 4.92 c 0,4.32 3.25,8.779999 7,9.78 z"/>
+</svg>
diff --git a/src/icons/heart-outline.svg b/src/icons/common/favourite-off.svg
index 26b2df3..26b2df3 100644
--- a/src/icons/heart-outline.svg
+++ b/src/icons/common/favourite-off.svg
diff --git a/src/icons/common/favourite-on.svg b/src/icons/common/favourite-on.svg
new file mode 100644
index 0000000..0bc5b64
--- /dev/null
+++ b/src/icons/common/favourite-on.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24">
+
+<path fill="#CC0000" d="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z" />
+<path fill="#000000" d="M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z" /></svg>
diff --git a/src/icons/common/qt.svg b/src/icons/common/qt.svg
new file mode 100644
index 0000000..cb8989b
--- /dev/null
+++ b/src/icons/common/qt.svg
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="462pt"
+ height="339pt"
+ viewBox="0 0 462 339"
+ version="1.1"
+ id="svg2"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="TheQtCompany_logo_2.svg">
+ <metadata
+ id="metadata20">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs18" />
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1536"
+ inkscape:window-height="801"
+ id="namedview16"
+ showgrid="false"
+ inkscape:zoom="1.1138643"
+ inkscape:cx="270.58047"
+ inkscape:cy="174.65092"
+ inkscape:window-x="-8"
+ inkscape:window-y="-8"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <path
+ fill="#41cd52"
+ d=" M 63.50 0.00 L 462.00 0.00 L 462.00 274.79 C 440.60 296.26 419.13 317.66 397.61 339.00 L 0.00 339.00 L 0.00 63.39 C 21.08 42.18 42.34 21.13 63.50 0.00 Z"
+ id="path6" />
+ <path
+ d=" M 122.37 71.33 C 137.50 61.32 156.21 58.79 174.00 58.95 C 190.94 59.16 208.72 62.13 222.76 72.24 C 232.96 79.41 239.59 90.48 244.01 101.93 C 251.16 120.73 253.26 141.03 253.50 161.01 C 253.53 181.13 252.62 201.69 245.96 220.86 C 241.50 233.90 233.01 245.48 221.81 253.52 C 229.87 266.58 238.09 279.54 246.15 292.60 C 236.02 297.27 225.92 301.97 215.78 306.62 C 207.15 292.38 198.56 278.11 189.90 263.89 C 178.19 265.81 166.21 265.66 154.44 264.36 C 140.34 262.67 125.97 258.37 115.09 248.88 C 106.73 241.64 101.48 231.51 97.89 221.21 C 92.01 203.79 90.43 185.25 90.16 166.97 C 90.02 147.21 91.28 127.14 97.24 108.18 C 101.85 93.92 109.48 79.69 122.37 71.33 Z"
+ id="path8"
+ fill="#ffffff" />
+ <path
+ d=" M 294.13 70.69 C 304.73 70.68 315.33 70.68 325.93 70.69 C 325.96 84.71 325.92 98.72 325.95 112.74 C 339.50 112.76 353.05 112.74 366.60 112.75 C 366.37 121.85 366.12 130.95 365.86 140.05 C 352.32 140.08 338.79 140.04 325.25 140.07 C 325.28 163.05 325.18 186.03 325.30 209.01 C 325.56 215.30 325.42 221.94 328.19 227.75 C 330.21 232.23 335.65 233.38 340.08 233.53 C 348.43 233.50 356.77 233.01 365.12 232.86 C 365.63 241.22 366.12 249.59 366.60 257.95 C 349.99 260.74 332.56 264.08 316.06 258.86 C 309.11 256.80 302.63 252.19 299.81 245.32 C 294.76 233.63 294.35 220.62 294.13 208.07 C 294.11 185.40 294.13 162.74 294.12 140.07 C 286.73 140.05 279.34 140.08 271.95 140.05 C 271.93 130.96 271.93 121.86 271.95 112.76 C 279.34 112.73 286.72 112.77 294.11 112.74 C 294.14 98.72 294.10 84.71 294.13 70.69 Z"
+ id="path10"
+ fill="#ffffff" />
+ <path
+ fill="#41cd52"
+ d=" M 160.51 87.70 C 170.80 86.36 181.60 86.72 191.34 90.61 C 199.23 93.73 205.93 99.84 209.47 107.58 C 214.90 119.31 216.98 132.26 218.03 145.05 C 219.17 162.07 219.01 179.25 216.66 196.17 C 215.01 206.24 212.66 216.85 205.84 224.79 C 198.92 232.76 188.25 236.18 178.01 236.98 C 167.21 237.77 155.82 236.98 146.07 231.87 C 140.38 228.84 135.55 224.09 132.73 218.27 C 129.31 211.30 127.43 203.69 126.11 196.07 C 122.13 171.91 121.17 146.91 126.61 122.89 C 128.85 113.83 132.11 104.53 138.73 97.70 C 144.49 91.85 152.51 88.83 160.51 87.70 Z"
+ id="path12" />
+</svg>
diff --git a/src/icons/heart.svg b/src/icons/dark/actions/close.svg
index 2cad9fc..af528d6 100644
--- a/src/icons/heart.svg
+++ b/src/icons/dark/actions/close.svg
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z" /></svg> \ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/create-new.svg b/src/icons/dark/actions/create-new.svg
new file mode 100644
index 0000000..b4b7423
--- /dev/null
+++ b/src/icons/dark/actions/create-new.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/delete-alert.svg b/src/icons/dark/actions/delete-alert.svg
new file mode 100644
index 0000000..5c08701
--- /dev/null
+++ b/src/icons/dark/actions/delete-alert.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M17 4V6H3V4H6.5L7.5 3H12.5L13.5 4H17M4 19V7H16V19C16 20.1 15.1 21 14 21H6C4.9 21 4 20.1 4 19M19 16H21V18H19V16M19 9H21V14H19V9Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/navigate-back.svg b/src/icons/dark/actions/navigate-back.svg
new file mode 100644
index 0000000..2f72ad4
--- /dev/null
+++ b/src/icons/dark/actions/navigate-back.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/navigate-forward.svg b/src/icons/dark/actions/navigate-forward.svg
new file mode 100644
index 0000000..9e0cbbb
--- /dev/null
+++ b/src/icons/dark/actions/navigate-forward.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/pause.svg b/src/icons/dark/actions/pause.svg
new file mode 100644
index 0000000..0313a77
--- /dev/null
+++ b/src/icons/dark/actions/pause.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M14,19H18V5H14M6,19H10V5H6V19Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/play.svg b/src/icons/dark/actions/play.svg
new file mode 100644
index 0000000..7a26c10
--- /dev/null
+++ b/src/icons/dark/actions/play.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M8,5.14V19.14L19,12.14L8,5.14Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/refresh.svg b/src/icons/dark/actions/refresh.svg
new file mode 100644
index 0000000..fec6edf
--- /dev/null
+++ b/src/icons/dark/actions/refresh.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/save-export.svg b/src/icons/dark/actions/save-export.svg
new file mode 100644
index 0000000..4fb9b6d
--- /dev/null
+++ b/src/icons/dark/actions/save-export.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M17,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H11.81C11.42,20.34 11.17,19.6 11.07,18.84C9.5,18.31 8.66,16.6 9.2,15.03C9.61,13.83 10.73,13 12,13C12.44,13 12.88,13.1 13.28,13.29C15.57,11.5 18.83,11.59 21,13.54V7L17,3M15,9H5V5H15V9M13,17H17V14L22,18.5L17,23V20H13V17" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/actions/save-import.svg b/src/icons/dark/actions/save-import.svg
new file mode 100644
index 0000000..f53bdbf
--- /dev/null
+++ b/src/icons/dark/actions/save-import.svg
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 24 24"
+ height="24"
+ width="24"
+ version="1.1">
+ <path fill="#FFFFFF" d="M 5 3 C 3.8954305 3 3 3.8954305 3 5 L 3 19 C 3 20.104569 3.8954305 21 5 21 L 11.810547 21 C 11.420547 20.34 11.170312 19.599844 11.070312 18.839844 C 9.5003125 18.309844 8.6592187 16.599297 9.1992188 15.029297 C 9.6092188 13.829297 10.73 13 12 13 C 12.44 13 12.879297 13.099063 13.279297 13.289062 C 15.569297 11.499063 18.83 11.589063 21 13.539062 L 21 7 L 17 3 L 5 3 z M 5 5 L 15 5 L 15 9 L 5 9 L 5 5 z M 18 14 L 13 18.5 L 18 23 L 18 20 L 22 20 L 22 17 L 18 17 L 18 14 z "/>
+</svg>
diff --git a/src/icons/dark/actions/save.svg b/src/icons/dark/actions/save.svg
new file mode 100644
index 0000000..ad5ea15
--- /dev/null
+++ b/src/icons/dark/actions/save.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/index.theme b/src/icons/dark/index.theme
new file mode 100644
index 0000000..7afb522
--- /dev/null
+++ b/src/icons/dark/index.theme
@@ -0,0 +1,21 @@
+[Icon Theme]
+Name=dark
+Comment=This is the Kristall' dark icon theme
+
+Directories=actions,objects
+
+[actions]
+Size=32
+MinSize=16
+MaxSize=512
+Type=Scalable
+
+
+[objects]
+Size=32
+MinSize=16
+MaxSize=512
+Type=Scalable
+
+
+
diff --git a/src/icons/dark/objects/bookmarks.svg b/src/icons/dark/objects/bookmarks.svg
new file mode 100644
index 0000000..194306c
--- /dev/null
+++ b/src/icons/dark/objects/bookmarks.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M15,5A2,2 0 0,1 17,7V23L10,20L3,23V7C3,5.89 3.9,5 5,5H15M9,1H19A2,2 0 0,1 21,3V19L19,18.13V3H7A2,2 0 0,1 9,1Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/certificate.svg b/src/icons/dark/objects/certificate.svg
new file mode 100644
index 0000000..c3c1f8f
--- /dev/null
+++ b/src/icons/dark/objects/certificate.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M4,3C2.89,3 2,3.89 2,5V15A2,2 0 0,0 4,17H12V22L15,19L18,22V17H20A2,2 0 0,0 22,15V8L22,6V5A2,2 0 0,0 20,3H16V3H4M12,5L15,7L18,5V8.5L21,10L18,11.5V15L15,13L12,15V11.5L9,10L12,8.5V5M4,5H9V7H4V5M4,9H7V11H4V9M4,13H9V15H4V13Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/changelog.svg b/src/icons/dark/objects/changelog.svg
new file mode 100644
index 0000000..6e3c21c
--- /dev/null
+++ b/src/icons/dark/objects/changelog.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/folder.svg b/src/icons/dark/objects/folder.svg
new file mode 100644
index 0000000..faa31e5
--- /dev/null
+++ b/src/icons/dark/objects/folder.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/font.svg b/src/icons/dark/objects/font.svg
new file mode 100644
index 0000000..fd2501b
--- /dev/null
+++ b/src/icons/dark/objects/font.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M17,8H20V20H21V21H17V20H18V17H14L12.5,20H14V21H10V20H11L17,8M18,9L14.5,16H18V9M5,3H10C11.11,3 12,3.89 12,5V16H9V11H6V16H3V5C3,3.89 3.89,3 5,3M6,5V9H9V5H6Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/help.svg b/src/icons/dark/objects/help.svg
new file mode 100644
index 0000000..2b55194
--- /dev/null
+++ b/src/icons/dark/objects/help.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M11,18H13V16H11V18M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6M5,3H19A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/history.svg b/src/icons/dark/objects/history.svg
new file mode 100644
index 0000000..63eb95d
--- /dev/null
+++ b/src/icons/dark/objects/history.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/home.svg b/src/icons/dark/objects/home.svg
new file mode 100644
index 0000000..337f470
--- /dev/null
+++ b/src/icons/dark/objects/home.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/info.svg b/src/icons/dark/objects/info.svg
new file mode 100644
index 0000000..8877f79
--- /dev/null
+++ b/src/icons/dark/objects/info.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M13.5,4A1.5,1.5 0 0,0 12,5.5A1.5,1.5 0 0,0 13.5,7A1.5,1.5 0 0,0 15,5.5A1.5,1.5 0 0,0 13.5,4M13.14,8.77C11.95,8.87 8.7,11.46 8.7,11.46C8.5,11.61 8.56,11.6 8.72,11.88C8.88,12.15 8.86,12.17 9.05,12.04C9.25,11.91 9.58,11.7 10.13,11.36C12.25,10 10.47,13.14 9.56,18.43C9.2,21.05 11.56,19.7 12.17,19.3C12.77,18.91 14.38,17.8 14.54,17.69C14.76,17.54 14.6,17.42 14.43,17.17C14.31,17 14.19,17.12 14.19,17.12C13.54,17.55 12.35,18.45 12.19,17.88C12,17.31 13.22,13.4 13.89,10.71C14,10.07 14.3,8.67 13.14,8.77Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/menu.svg b/src/icons/dark/objects/menu.svg
new file mode 100644
index 0000000..5ab824c
--- /dev/null
+++ b/src/icons/dark/objects/menu.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/palette.svg b/src/icons/dark/objects/palette.svg
new file mode 100644
index 0000000..26c7e71
--- /dev/null
+++ b/src/icons/dark/objects/palette.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/settings.svg b/src/icons/dark/objects/settings.svg
new file mode 100644
index 0000000..21b412e
--- /dev/null
+++ b/src/icons/dark/objects/settings.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/table-of-contents.svg b/src/icons/dark/objects/table-of-contents.svg
new file mode 100644
index 0000000..fdb6371
--- /dev/null
+++ b/src/icons/dark/objects/table-of-contents.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/volume-off.svg b/src/icons/dark/objects/volume-off.svg
new file mode 100644
index 0000000..665e1f9
--- /dev/null
+++ b/src/icons/dark/objects/volume-off.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z" /></svg> \ No newline at end of file
diff --git a/src/icons/dark/objects/volume-on.svg b/src/icons/dark/objects/volume-on.svg
new file mode 100644
index 0000000..110e429
--- /dev/null
+++ b/src/icons/dark/objects/volume-on.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path fill="#FFFFFF" d="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" /></svg> \ No newline at end of file
diff --git a/src/icons/close.svg b/src/icons/light/actions/close.svg
index 18691d7..18691d7 100644
--- a/src/icons/close.svg
+++ b/src/icons/light/actions/close.svg
diff --git a/src/icons/plus.svg b/src/icons/light/actions/create-new.svg
index 2c21839..2c21839 100644
--- a/src/icons/plus.svg
+++ b/src/icons/light/actions/create-new.svg
diff --git a/src/icons/delete-alert.svg b/src/icons/light/actions/delete-alert.svg
index 3773f1c..3773f1c 100644
--- a/src/icons/delete-alert.svg
+++ b/src/icons/light/actions/delete-alert.svg
diff --git a/src/icons/arrow-left.svg b/src/icons/light/actions/navigate-back.svg
index 72f5e6d..72f5e6d 100644
--- a/src/icons/arrow-left.svg
+++ b/src/icons/light/actions/navigate-back.svg
diff --git a/src/icons/arrow-right.svg b/src/icons/light/actions/navigate-forward.svg
index 22dc526..22dc526 100644
--- a/src/icons/arrow-right.svg
+++ b/src/icons/light/actions/navigate-forward.svg
diff --git a/src/icons/pause.svg b/src/icons/light/actions/pause.svg
index 37ed32d..37ed32d 100644
--- a/src/icons/pause.svg
+++ b/src/icons/light/actions/pause.svg
diff --git a/src/icons/play.svg b/src/icons/light/actions/play.svg
index 87a70f2..87a70f2 100644
--- a/src/icons/play.svg
+++ b/src/icons/light/actions/play.svg
diff --git a/src/icons/refresh.svg b/src/icons/light/actions/refresh.svg
index ebe3f16..ebe3f16 100644
--- a/src/icons/refresh.svg
+++ b/src/icons/light/actions/refresh.svg
diff --git a/src/icons/content-save-move.svg b/src/icons/light/actions/save-export.svg
index 86e5d0a..86e5d0a 100644
--- a/src/icons/content-save-move.svg
+++ b/src/icons/light/actions/save-export.svg
diff --git a/src/icons/content-save-import.svg b/src/icons/light/actions/save-import.svg
index e980bed..e980bed 100644
--- a/src/icons/content-save-import.svg
+++ b/src/icons/light/actions/save-import.svg
diff --git a/src/icons/content-save.svg b/src/icons/light/actions/save.svg
index bbd8d59..bbd8d59 100644
--- a/src/icons/content-save.svg
+++ b/src/icons/light/actions/save.svg
diff --git a/src/icons/light/index.theme b/src/icons/light/index.theme
new file mode 100644
index 0000000..03ef468
--- /dev/null
+++ b/src/icons/light/index.theme
@@ -0,0 +1,21 @@
+[Icon Theme]
+Name=light
+Comment=This is the Kristall' light icon theme
+
+Directories=actions,objects
+
+[actions]
+Size=32
+MinSize=16
+MaxSize=512
+Type=Scalable
+
+
+[objects]
+Size=32
+MinSize=16
+MaxSize=512
+Type=Scalable
+
+
+
diff --git a/src/icons/light/objects/bookmarks.svg b/src/icons/light/objects/bookmarks.svg
new file mode 100644
index 0000000..c64ec93
--- /dev/null
+++ b/src/icons/light/objects/bookmarks.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M15,5A2,2 0 0,1 17,7V23L10,20L3,23V7C3,5.89 3.9,5 5,5H15M9,1H19A2,2 0 0,1 21,3V19L19,18.13V3H7A2,2 0 0,1 9,1Z" /></svg> \ No newline at end of file
diff --git a/src/icons/certificate.svg b/src/icons/light/objects/certificate.svg
index f158c12..f158c12 100644
--- a/src/icons/certificate.svg
+++ b/src/icons/light/objects/certificate.svg
diff --git a/src/icons/light/objects/changelog.svg b/src/icons/light/objects/changelog.svg
new file mode 100644
index 0000000..3eb8f96
--- /dev/null
+++ b/src/icons/light/objects/changelog.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z" /></svg> \ No newline at end of file
diff --git a/src/icons/folder-open.svg b/src/icons/light/objects/folder.svg
index 09ce7cc..09ce7cc 100644
--- a/src/icons/folder-open.svg
+++ b/src/icons/light/objects/folder.svg
diff --git a/src/icons/format-font.svg b/src/icons/light/objects/font.svg
index c88cb71..c88cb71 100644
--- a/src/icons/format-font.svg
+++ b/src/icons/light/objects/font.svg
diff --git a/src/icons/help-box.svg b/src/icons/light/objects/help.svg
index 7a08fc4..7a08fc4 100644
--- a/src/icons/help-box.svg
+++ b/src/icons/light/objects/help.svg
diff --git a/src/icons/light/objects/history.svg b/src/icons/light/objects/history.svg
new file mode 100644
index 0000000..531f3ed
--- /dev/null
+++ b/src/icons/light/objects/history.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg> \ No newline at end of file
diff --git a/src/icons/home.svg b/src/icons/light/objects/home.svg
index 132e426..132e426 100644
--- a/src/icons/home.svg
+++ b/src/icons/light/objects/home.svg
diff --git a/src/icons/info.svg b/src/icons/light/objects/info.svg
index 06d7d6b..06d7d6b 100644
--- a/src/icons/info.svg
+++ b/src/icons/light/objects/info.svg
diff --git a/src/icons/menu.svg b/src/icons/light/objects/menu.svg
index 64844e7..64844e7 100644
--- a/src/icons/menu.svg
+++ b/src/icons/light/objects/menu.svg
diff --git a/src/icons/palette.svg b/src/icons/light/objects/palette.svg
index ebf6936..ebf6936 100644
--- a/src/icons/palette.svg
+++ b/src/icons/light/objects/palette.svg
diff --git a/src/icons/settings.svg b/src/icons/light/objects/settings.svg
index 731a5a7..731a5a7 100644
--- a/src/icons/settings.svg
+++ b/src/icons/light/objects/settings.svg
diff --git a/src/icons/light/objects/table-of-contents.svg b/src/icons/light/objects/table-of-contents.svg
new file mode 100644
index 0000000..1c14a8f
--- /dev/null
+++ b/src/icons/light/objects/table-of-contents.svg
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M3,9H17V7H3V9M3,13H17V11H3V13M3,17H17V15H3V17M19,17H21V15H19V17M19,7V9H21V7H19M19,13H21V11H19V13Z" /></svg> \ No newline at end of file
diff --git a/src/icons/volume-off.svg b/src/icons/light/objects/volume-off.svg
index 01e450f..01e450f 100644
--- a/src/icons/volume-off.svg
+++ b/src/icons/light/objects/volume-off.svg
diff --git a/src/icons/volume-high.svg b/src/icons/light/objects/volume-on.svg
index a002372..a002372 100644
--- a/src/icons/volume-high.svg
+++ b/src/icons/light/objects/volume-on.svg
diff --git a/src/icons/shield-lock.svg b/src/icons/shield-lock.svg
deleted file mode 100644
index b4def0f..0000000
--- a/src/icons/shield-lock.svg
+++ /dev/null
@@ -1 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.1 14.8,9.5V11C15.4,11 16,11.6 16,12.3V15.8C16,16.4 15.4,17 14.7,17H9.2C8.6,17 8,16.4 8,15.7V12.2C8,11.6 8.6,11 9.2,11V9.5C9.2,8.1 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z" /></svg> \ No newline at end of file
diff --git a/src/icons/update-themes.sh b/src/icons/update-themes.sh
new file mode 100755
index 0000000..7975fb0
--- /dev/null
+++ b/src/icons/update-themes.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+rm -rf dark/actions/*
+rm -rf dark/objects/*
+
+cp -r light/actions/*.svg dark/actions
+cp -r light/objects/*.svg dark/objects
+
+
+sed -i 's/d=/fill="#FFFFFF" d=/g' dark/{objects,actions}/*.svg \ No newline at end of file
diff --git a/src/identitycollection.cpp b/src/identitycollection.cpp
index 069a492..e839996 100644
--- a/src/identitycollection.cpp
+++ b/src/identitycollection.cpp
@@ -339,8 +339,8 @@ QVariant IdentityCollection::data(const QModelIndex &index, int role) const
switch(item->type) {
case Node::Root: return QVariant { };
- case Node::Group: return QIcon(":/icons/folder-open.svg");
- case Node::Identity: return QIcon(":/icons/certificate.svg");
+ case Node::Group: return QIcon::fromTheme("folder");
+ case Node::Identity: return QIcon::fromTheme("certificate");
default: return QVariant { };
}
}
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 81a209a..9711cfa 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -51,6 +51,7 @@ MainWindow::MainWindow(QApplication * app, QWidget *parent) :
act->setCheckable(true);
act->setChecked(dock->isVisible());
act->setData(QVariant::fromValue(dock));
+ // act->setIcon(dock->windowIcon());
connect(act, QOverload<bool>::of(&QAction::triggered), dock, &QDockWidget::setVisible);
}
diff --git a/src/mainwindow.hpp b/src/mainwindow.hpp
index 7f58034..dfa7ebc 100644
--- a/src/mainwindow.hpp
+++ b/src/mainwindow.hpp
@@ -44,10 +44,6 @@ private slots:
void on_history_view_doubleClicked(const QModelIndex &index);
- void on_tab_titleChanged(QString const & title);
-
- void on_tab_locationChanged(QUrl const & url);
-
void on_outline_view_clicked(const QModelIndex &index);
void on_actionSettings_triggered();
@@ -74,10 +70,6 @@ private slots:
void on_actionAdd_to_favourites_triggered();
- void on_tab_fileLoaded(DocumentStats const & stats);
-
- void on_focus_inputbar();
-
void on_actionHelp_triggered();
void on_history_view_customContextMenuRequested(const QPoint &pos);
@@ -88,6 +80,17 @@ private slots:
void on_actionManage_Certificates_triggered();
+private: // slots
+
+ void on_tab_fileLoaded(DocumentStats const & stats);
+
+ void on_tab_titleChanged(QString const & title);
+
+ void on_tab_locationChanged(QUrl const & url);
+
+ void on_focus_inputbar();
+
+
private:
void reloadTheme();
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index 445c748..f7ac5cb 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -57,6 +57,9 @@
</widget>
<widget class="QStatusBar" name="statusBar"/>
<widget class="QDockWidget" name="outline_window">
+ <property name="windowIcon">
+ <iconset theme="table-of-contents"/>
+ </property>
<property name="windowTitle">
<string>Document Outline</string>
</property>
@@ -92,8 +95,7 @@
</widget>
<widget class="QDockWidget" name="bookmarks_window">
<property name="windowIcon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/heart.svg</normaloff>:/icons/heart.svg</iconset>
+ <iconset theme="bookmarks"/>
</property>
<property name="windowTitle">
<string>Bookmarks</string>
@@ -122,6 +124,9 @@
</widget>
</widget>
<widget class="QDockWidget" name="history_window">
+ <property name="windowIcon">
+ <iconset theme="history"/>
+ </property>
<property name="windowTitle">
<string>History</string>
</property>
@@ -205,14 +210,16 @@
</widget>
<action name="actionAbout">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/info.svg</normaloff>:/icons/info.svg</iconset>
+ <iconset theme="info"/>
</property>
<property name="text">
<string>About...</string>
</property>
</action>
<action name="actionQuit">
+ <property name="icon">
+ <iconset theme="close"/>
+ </property>
<property name="text">
<string>Quit</string>
</property>
@@ -227,8 +234,7 @@
</action>
<action name="actionClose_Tab">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/close.svg</normaloff>:/icons/close.svg</iconset>
+ <iconset theme="close"/>
</property>
<property name="text">
<string>Close Tab</string>
@@ -239,8 +245,7 @@
</action>
<action name="actionSettings">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/settings.svg</normaloff>:/icons/settings.svg</iconset>
+ <iconset theme="settings"/>
</property>
<property name="text">
<string>Settings</string>
@@ -248,8 +253,7 @@
</action>
<action name="actionBackward">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/arrow-left.svg</normaloff>:/icons/arrow-left.svg</iconset>
+ <iconset theme="navigate-back"/>
</property>
<property name="text">
<string>Backward</string>
@@ -260,8 +264,7 @@
</action>
<action name="actionForward">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/arrow-right.svg</normaloff>:/icons/arrow-right.svg</iconset>
+ <iconset theme="navigate-forward"/>
</property>
<property name="text">
<string>Foreward</string>
@@ -272,8 +275,7 @@
</action>
<action name="actionRefresh">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/refresh.svg</normaloff>:/icons/refresh.svg</iconset>
+ <iconset theme="refresh"/>
</property>
<property name="text">
<string>Refresh</string>
@@ -283,14 +285,17 @@
</property>
</action>
<action name="actionAbout_Qt">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/common/qt.svg</normaloff>:/icons/common/qt.svg</iconset>
+ </property>
<property name="text">
<string>About Qt...</string>
</property>
</action>
<action name="actionSave_as">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save.svg</normaloff>:/icons/content-save.svg</iconset>
+ <iconset theme="save"/>
</property>
<property name="text">
<string>Save as...</string>
@@ -305,7 +310,7 @@
</property>
<property name="icon">
<iconset resource="icons.qrc">
- <normaloff>:/icons/heart.svg</normaloff>:/icons/heart.svg</iconset>
+ <normaloff>:/icons/common/favourite-on.svg</normaloff>:/icons/common/favourite-on.svg</iconset>
</property>
<property name="text">
<string>Add to favourites</string>
@@ -316,8 +321,7 @@
</action>
<action name="actionGo_to_home">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/home.svg</normaloff>:/icons/home.svg</iconset>
+ <iconset theme="home"/>
</property>
<property name="text">
<string>Go to home</string>
@@ -328,8 +332,7 @@
</action>
<action name="actionHelp">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/help-box.svg</normaloff>:/icons/help-box.svg</iconset>
+ <iconset theme="help"/>
</property>
<property name="text">
<string>Help</string>
@@ -339,14 +342,16 @@
</property>
</action>
<action name="actionChangelog">
+ <property name="icon">
+ <iconset theme="changelog"/>
+ </property>
<property name="text">
<string>Changelog</string>
</property>
</action>
<action name="actionManage_Certificates">
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/certificate.svg</normaloff>:/icons/certificate.svg</iconset>
+ <iconset theme="certificate"/>
</property>
<property name="text">
<string>Manage Certificates…</string>
diff --git a/src/mediaplayer.cpp b/src/mediaplayer.cpp
index 66a5455..e510d21 100644
--- a/src/mediaplayer.cpp
+++ b/src/mediaplayer.cpp
@@ -80,7 +80,7 @@ void MediaPlayer::on_media_positionChanged(qint64 pos)
void MediaPlayer::on_media_playbackChanged(QMediaPlayer::State status)
{
- this->ui->playpause_button->setIcon(QIcon(
- (status == QMediaPlayer::PlayingState) ? ":/icons/pause.svg" : ":/icons/play.svg"
- ));
+ this->ui->playpause_button->setIcon(
+ (status == QMediaPlayer::PlayingState) ? QIcon::fromTheme("pause") : QIcon::fromTheme("play")
+ );
}
diff --git a/src/mediaplayer.hpp b/src/mediaplayer.hpp
index 406a0e0..c39a800 100644
--- a/src/mediaplayer.hpp
+++ b/src/mediaplayer.hpp
@@ -27,6 +27,7 @@ private slots:
void on_mute_button_clicked(bool checked);
+private: // slots
void on_media_positionChanged(qint64 pos);
void on_media_playbackChanged(QMediaPlayer::State);
diff --git a/src/mediaplayer.ui b/src/mediaplayer.ui
index cdbb21d..39fb570 100644
--- a/src/mediaplayer.ui
+++ b/src/mediaplayer.ui
@@ -28,8 +28,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/play.svg</normaloff>:/icons/play.svg</iconset>
+ <iconset theme="play"/>
</property>
</widget>
</item>
@@ -59,9 +58,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/volume-high.svg</normaloff>
- <normalon>:/icons/volume-off.svg</normalon>:/icons/volume-high.svg</iconset>
+ <iconset theme="volume-on"/>
</property>
<property name="checkable">
<bool>true</bool>
@@ -83,8 +80,6 @@
<container>1</container>
</customwidget>
</customwidgets>
- <resources>
- <include location="icons.qrc"/>
- </resources>
+ <resources/>
<connections/>
</ui>
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
index 1c2040e..401e36b 100644
--- a/src/settingsdialog.ui
+++ b/src/settingsdialog.ui
@@ -14,8 +14,7 @@
<string>Settings</string>
</property>
<property name="windowIcon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/settings.svg</normaloff>:/icons/settings.svg</iconset>
+ <iconset theme="settings"/>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
@@ -25,8 +24,7 @@
</property>
<widget class="QWidget" name="generic">
<attribute name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/settings.svg</normaloff>:/icons/settings.svg</iconset>
+ <iconset theme="settings"/>
</attribute>
<attribute name="title">
<string>Generic</string>
@@ -289,8 +287,7 @@
</widget>
<widget class="QWidget" name="style_tab">
<attribute name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</attribute>
<attribute name="title">
<string>Style</string>
@@ -319,8 +316,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -358,8 +354,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/format-font.svg</normaloff>:/icons/format-font.svg</iconset>
+ <iconset theme="font"/>
</property>
</widget>
</item>
@@ -369,8 +364,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -401,8 +395,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/format-font.svg</normaloff>:/icons/format-font.svg</iconset>
+ <iconset theme="font"/>
</property>
</widget>
</item>
@@ -412,8 +405,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -444,8 +436,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/format-font.svg</normaloff>:/icons/format-font.svg</iconset>
+ <iconset theme="font"/>
</property>
</widget>
</item>
@@ -455,8 +446,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -487,8 +477,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/format-font.svg</normaloff>:/icons/format-font.svg</iconset>
+ <iconset theme="font"/>
</property>
</widget>
</item>
@@ -498,8 +487,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -536,8 +524,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/format-font.svg</normaloff>:/icons/format-font.svg</iconset>
+ <iconset theme="font"/>
</property>
</widget>
</item>
@@ -547,8 +534,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -621,8 +607,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -646,8 +631,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -671,8 +655,7 @@
<string/>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -722,8 +705,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/plus.svg</normaloff>:/icons/plus.svg</iconset>
+ <iconset theme="create-new"/>
</property>
</widget>
</item>
@@ -736,8 +718,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save.svg</normaloff>:/icons/content-save.svg</iconset>
+ <iconset theme="save"/>
</property>
</widget>
</item>
@@ -750,8 +731,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/folder-open.svg</normaloff>:/icons/folder-open.svg</iconset>
+ <iconset theme="folder"/>
</property>
</widget>
</item>
@@ -767,8 +747,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save-import.svg</normaloff>:/icons/content-save-import.svg</iconset>
+ <iconset theme="save-import"/>
</property>
</widget>
</item>
@@ -781,8 +760,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/content-save-move.svg</normaloff>:/icons/content-save-move.svg</iconset>
+ <iconset theme="save-export"/>
</property>
</widget>
</item>
@@ -817,8 +795,7 @@
<string>...</string>
</property>
<property name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/palette.svg</normaloff>:/icons/palette.svg</iconset>
+ <iconset theme="palette"/>
</property>
</widget>
</item>
@@ -848,8 +825,7 @@
</widget>
<widget class="QWidget" name="gem_trust_page">
<attribute name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/certificate.svg</normaloff>:/icons/certificate.svg</iconset>
+ <iconset theme="certificate"/>
</attribute>
<attribute name="title">
<string>Gemini TLS</string>
@@ -862,8 +838,7 @@
</widget>
<widget class="QWidget" name="https_trust">
<attribute name="icon">
- <iconset resource="icons.qrc">
- <normaloff>:/icons/certificate.svg</normaloff>:/icons/certificate.svg</iconset>
+ <iconset theme="certificate"/>
</attribute>
<attribute name="title">
<string>HTTPS TLS</string>
@@ -896,9 +871,7 @@
<container>1</container>
</customwidget>
</customwidgets>
- <resources>
- <include location="icons.qrc"/>
- </resources>
+ <resources/>
<connections>
<connection>
<sender>buttonBox</sender>
@@ -935,8 +908,8 @@
</connections>
<buttongroups>
<buttongroup name="buttonGroup"/>
- <buttongroup name="textRenderingBtnGroup"/>
- <buttongroup name="gophermapBtnGroup"/>
<buttongroup name="textHighlightsBtnGroup"/>
+ <buttongroup name="gophermapBtnGroup"/>
+ <buttongroup name="textRenderingBtnGroup"/>
</buttongroups>
</ui>