aboutsummaryrefslogtreecommitdiffstats
path: root/image/stock_icons.qrc
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2019-06-13 10:25:19 -0700
committerAnders Broman <a.broman58@gmail.com>2019-06-13 18:02:50 +0000
commitb94047c606a53f405ea24ca5bf5161a74da7d4b9 (patch)
tree0c1b8091e8533adccb1d92331434f472cef725ba /image/stock_icons.qrc
parentf41e1d22f0d9b9deb7f7f8dc9e3f81f45faae11a (diff)
Qt: Add support for template icons.
Add support for ".template" icons, which are masked against the current WindowText color. Convert the edit-find icons to templates. Reload our icon(s) when we receive a QEvent::PaletteChange in MainWindow and in StockIconToolButton. Clean our SVGs. To do: - Convert other black or mostly black icons to templates. - Handle QEvent::PaletteChange in more places. Ping-Bug: 15511 Change-Id: I1ce78d92e769861dc38d86a3def5116fb869e2bf Reviewed-on: https://code.wireshark.org/review/33571 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'image/stock_icons.qrc')
-rw-r--r--image/stock_icons.qrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/image/stock_icons.qrc b/image/stock_icons.qrc
index 577a03b024..45d8f22d6b 100644
--- a/image/stock_icons.qrc
+++ b/image/stock_icons.qrc
@@ -57,8 +57,8 @@
<file>stock_icons/14x14/x-filter-matching-bookmark.active@2x.png</file>
<file>stock_icons/14x14/x-filter-matching-bookmark.selected.png</file>
<file>stock_icons/14x14/x-filter-matching-bookmark.selected@2x.png</file>
- <file>stock_icons/16x16/edit-find.png</file>
- <file>stock_icons/16x16/edit-find@2x.png</file>
+ <file>stock_icons/16x16/edit-find.template.png</file>
+ <file>stock_icons/16x16/edit-find.template@2x.png</file>
<file>stock_icons/16x16/go-first.png</file>
<file>stock_icons/16x16/go-first@2x.png</file>
<file>stock_icons/16x16/go-jump.png</file>
@@ -103,8 +103,8 @@
<file>stock_icons/24x14/x-filter-apply.active@2x.png</file>
<file>stock_icons/24x14/x-filter-apply.selected.png</file>
<file>stock_icons/24x14/x-filter-apply.selected@2x.png</file>
- <file>stock_icons/24x24/edit-find.png</file>
- <file>stock_icons/24x24/edit-find@2x.png</file>
+ <file>stock_icons/24x24/edit-find.template.png</file>
+ <file>stock_icons/24x24/edit-find.template@2x.png</file>
<file>stock_icons/24x24/go-first.png</file>
<file>stock_icons/24x24/go-first@2x.png</file>
<file>stock_icons/24x24/go-jump.png</file>