Skip to content
Permalink
Browse files

harmonize open script icons

  • Loading branch information
nirvn committed May 20, 2018
1 parent 1b3a47a commit 6b3ebfc0195450a5450f7b4f18c1cc3264b7cdee
@@ -121,7 +121,6 @@
<file>themes/default/console/iconCodepadConsole.svg</file>
<file>themes/default/console/iconHelpConsole.svg</file>
<file>themes/default/console/iconHideToolConsole.svg</file>
<file>themes/default/console/iconOpenConsole.svg</file>
<file>themes/default/console/iconQtCoreConsole.svg</file>
<file>themes/default/console/iconQtGuiConsole.svg</file>
<file>themes/default/console/mIconRunConsole.svg</file>
@@ -345,6 +344,7 @@
<file>themes/default/mActionSaveEdits.svg</file>
<file>themes/default/mActionSaveMapAsImage.svg</file>
<file>themes/default/mActionScaleBar.svg</file>
<file>themes/default/mActionScriptOpen.svg</file>
<file>themes/default/mActionSelect.svg</file>
<file>themes/default/mActionSelectAll.svg</file>
<file>themes/default/mActionSelectedToTop.svg</file>

This file was deleted.

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><path d="M1.5 27V4.5h9v3h16V27z" fill="#fcd94f" stroke="#b29a37" stroke-linejoin="round"/><path fill="#fff" stroke="#999" d="M3.5.5h18v17h-18z"/><g stroke-width=".663"><path d="M12.5 1.829c-3.843 0-3.603 1.684-3.603 1.684l.006 1.353h3.663v.76H7.462S5 5.494 5 9.404c0 3.914 2.147 3.762 2.147 3.762h1.28v-1.805s-.068-2.17 2.117-2.17h3.633s2.041.035 2.041-1.987V3.85s.31-2.018-3.708-2.018zm-2.027 1.166a.66.66 0 0 1 .658.665.66.663 0 1 1-1.314 0 .66.66 0 0 1 .658-.665z" overflow="visible" fill="#366c99"/><path d="M12.5 17c3.843 0 3.603-1.684 3.603-1.684l-.006-1.745h-3.663v-.525h5.104S20 13.327 20 9.42c0-3.914-2.147-3.762-2.147-3.762h-1.28v1.805s.068 2.17-2.117 2.17h-3.633S8.782 9.6 8.782 11.62v3.353s-.31 2.018 3.708 2.018zm2.027-1.167a.66.663 0 0 1-.658-.664.66.663 0 1 1 1.314 0 .66.663 0 0 1-.658.664z" overflow="visible" fill="#ffcb3a"/></g><path d="M1.5 27l4-16h25l-4 16z" fill="#fcd94f" stroke="#b29a37" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -173,7 +173,7 @@ def __init__(self, parent=None):
self.openFileButton = QAction(self)
self.openFileButton.setCheckable(False)
self.openFileButton.setEnabled(True)
self.openFileButton.setIcon(QgsApplication.getThemeIcon("console/iconOpenConsole.svg"))
self.openFileButton.setIcon(QgsApplication.getThemeIcon("mActionScriptOpen.svg"))
self.openFileButton.setMenuRole(QAction.PreferencesRole)
self.openFileButton.setIconVisibleInMenu(True)
self.openFileButton.setToolTip(openFileBt)
@@ -67,7 +67,7 @@ def __init__(self, filePath=None, parent=None):
self.toolBar.setIconSize(iface.iconSize())

self.actionOpenScript.setIcon(
QgsApplication.getThemeIcon('/mActionFileOpen.svg'))
QgsApplication.getThemeIcon('/mActionScriptOpen.svg'))
self.actionSaveScript.setIcon(
QgsApplication.getThemeIcon('/mActionFileSave.svg'))
self.actionSaveScriptAs.setIcon(

0 comments on commit 6b3ebfc

Please sign in to comment.
You can’t perform that action at this time.