mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Add icon for run selected
This commit is contained in:
parent
2f5ad6b51f
commit
a485eb811c
@ -998,6 +998,7 @@
|
||||
<file>themes/default/mTemporalNavigationMovie.svg</file>
|
||||
<file>themes/default/mActionAddSensorThingsLayer.svg</file>
|
||||
<file>themes/default/mIconSensorThings.svg</file>
|
||||
<file>themes/default/mActionRunSelected.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/images/tips">
|
||||
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
|
||||
|
1
images/themes/default/mActionRunSelected.svg
Normal file
1
images/themes/default/mActionRunSelected.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path fill="#fce94f" stroke="#c4a000" stroke-linecap="round" stroke-width="1.077" d="M2.538 2.538h12.924v12.924H2.538Z"/><path fill="#5a8c5a" stroke="#4c734c" stroke-linecap="round" stroke-linejoin="round" d="m21.649 13.985-12.15 7.753V6.231Z" style="fill-rule:evenodd;stroke-width:1;stroke-dasharray:none"/><path fill="#fff" fill-opacity=".529" d="m11.016 20.182-.002-12.404L10 7.149l.008 13.666z" style="fill-rule:evenodd;stroke-width:.815979"/></svg>
|
After Width: | Height: | Size: 516 B |
@ -874,7 +874,7 @@ void QgsModelChildAlgorithmGraphicItem::contextMenuEvent( QGraphicsSceneContextM
|
||||
if ( isSelected() )
|
||||
{
|
||||
QAction *runSelectedStepsAction = popupmenu->addAction( QObject::tr( "Run Selected Steps…" ) );
|
||||
runSelectedStepsAction->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionStart.svg" ) ) );
|
||||
runSelectedStepsAction->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "mActionRunSelected.svg" ) ) );
|
||||
connect( runSelectedStepsAction, &QAction::triggered, this, &QgsModelChildAlgorithmGraphicItem::runSelected );
|
||||
}
|
||||
|
||||
|
@ -770,7 +770,7 @@
|
||||
<action name="mActionRunSelectedSteps">
|
||||
<property name="icon">
|
||||
<iconset resource="../../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/mActionStart.svg</normaloff>:/images/themes/default/mActionStart.svg</iconset>
|
||||
<normaloff>:/images/themes/default/mActionRunSelected.svg</normaloff>:/images/themes/default/mActionRunSelected.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Run Selected Steps…</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user