mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
harmonize open script icons
This commit is contained in:
parent
1b3a47a66a
commit
6b3ebfc019
@ -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>
|
||||
|
@ -1 +0,0 @@
|
||||
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="m1.49 22.5v-17h6.52v2.27h11.6v14.7z" fill="#fcd94f" stroke="#b29a37" stroke-linejoin="round"/><rect x="4.5" y="1.51" width="13" height="11" fill="#fff" stroke="#999"/><g transform="translate(2.96 -4.5)"><path d="m8 7c-2.56 0-2.4 1.11-2.4 1.11l.00383.892h2.44v.501h-3.4s-1.64-.0869-1.64 2.49c0 2.58 1.43 2.48 1.43 2.48h.853v-1.19s-.0457-1.43 1.41-1.43h2.42s1.36.0227 1.36-1.31v-2.21c-2.2e-5 0 .207-1.33-2.47-1.33zm-1.35.769c.244 0 .438.197.438.438a.44 .437 0 1 1 -.875 0c0-.242.196-.438.438-.438z" fill="#366c99" overflow="visible"/><path d="m8 17c2.56 0 2.4-1.11 2.4-1.11l-.0038-1.15h-2.44v-.346h3.4s1.64.185 1.64-2.39c0-2.58-1.43-2.48-1.43-2.48h-.853v1.19s.0457 1.43-1.41 1.43h-2.42s-1.36-.0208-1.36 1.31v2.21s-.207 1.33 2.47 1.33zm1.35-.769a.44 .437 0 0 1 -.438 -.438 .44 .437 0 1 1 .875 0 .44 .437 0 0 1 -.438 .438z" fill="#ffcb3a" overflow="visible" stroke-width="3.78"/></g><path d="m1.49 22.5 2.9-12.1h18.1l-2.9 12.1z" fill="#fcd94f" stroke="#b29a37" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
Before Width: | Height: | Size: 1.1 KiB |
1
images/themes/default/mActionScriptOpen.svg
Normal file
1
images/themes/default/mActionScriptOpen.svg
Normal file
@ -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>
|
After Width: | Height: | Size: 1.0 KiB |
@ -173,7 +173,7 @@ class PythonConsoleWidget(QWidget):
|
||||
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 @@ class ScriptEditorDialog(BASE, WIDGET):
|
||||
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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user