From d95096068ce08a074971d2be7efd025f949f1a14 Mon Sep 17 00:00:00 2001 From: Jeremy Bullock Date: Tue, 30 Jun 2020 23:57:20 -0600 Subject: [PATCH] Make overlow icons for toolbar and command bar easier to see in all themes. (#65) --- toonz/sources/toonz/Resources/more.svg | 8 ++++++++ toonz/sources/toonz/Resources/moredown.svg | 8 ++++++++ toonz/sources/toonz/commandbar.cpp | 4 ++++ toonz/sources/toonz/toolbar.cpp | 3 +++ toonz/sources/toonz/toonz.qrc | 2 ++ 5 files changed, 25 insertions(+) create mode 100644 toonz/sources/toonz/Resources/more.svg create mode 100644 toonz/sources/toonz/Resources/moredown.svg diff --git a/toonz/sources/toonz/Resources/more.svg b/toonz/sources/toonz/Resources/more.svg new file mode 100644 index 00000000..a0ef0c01 --- /dev/null +++ b/toonz/sources/toonz/Resources/more.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/toonz/sources/toonz/Resources/moredown.svg b/toonz/sources/toonz/Resources/moredown.svg new file mode 100644 index 00000000..825c7533 --- /dev/null +++ b/toonz/sources/toonz/Resources/moredown.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/toonz/sources/toonz/commandbar.cpp b/toonz/sources/toonz/commandbar.cpp index 75a5f969..cdc05848 100644 --- a/toonz/sources/toonz/commandbar.cpp +++ b/toonz/sources/toonz/commandbar.cpp @@ -23,6 +23,7 @@ #include #include #include +#include //============================================================================= // Toolbar @@ -38,6 +39,9 @@ CommandBar::CommandBar(QWidget *parent, Qt::WFlags flags) setObjectName("cornerWidget"); setObjectName("CommandBar"); fillToolbar(this, isXsheetToolbar); + QIcon moreIcon(":Resources/more.svg"); + QToolButton *more = findChild("qt_toolbar_ext_button"); + more->setIcon(moreIcon); } //----------------------------------------------------------------------------- diff --git a/toonz/sources/toonz/toolbar.cpp b/toonz/sources/toonz/toolbar.cpp index 23ca63c4..64d679ca 100755 --- a/toonz/sources/toonz/toolbar.cpp +++ b/toonz/sources/toonz/toolbar.cpp @@ -84,6 +84,9 @@ Toolbar::Toolbar(QWidget *parent, bool isVertical) SLOT(setIsExpanded(bool))); updateToolbar(); + QIcon moreIcon(":Resources/moredown.svg"); + QToolButton *more = findChild("qt_toolbar_ext_button"); + more->setIcon(moreIcon); } //----------------------------------------------------------------------------- diff --git a/toonz/sources/toonz/toonz.qrc b/toonz/sources/toonz/toonz.qrc index 59e73293..66ce6565 100644 --- a/toonz/sources/toonz/toonz.qrc +++ b/toonz/sources/toonz/toonz.qrc @@ -140,6 +140,8 @@ Resources/magnet_rollover.svg Resources/menu.svg Resources/merge.svg + Resources/more.svg + Resources/moredown.svg Resources/motionpath_fileicon.svg Resources/motionpath.svg Resources/motionpath_delete.svg