Refactoring: New icons for delete, refresh, copy, filters

This commit is contained in:
Ruben Thoms 2020-10-06 17:12:58 +02:00 committed by Magne Sjaastad
parent 55ef7fc02a
commit 8dec8ba234
38 changed files with 169 additions and 33 deletions

View File

@ -73,6 +73,6 @@ void RicDeleteScriptPathFeature::onActionTriggered( bool isChecked )
void RicDeleteScriptPathFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Script Path" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -50,7 +50,7 @@ void RicRefreshScriptsFeature::onActionTriggered( bool isChecked )
void RicRefreshScriptsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Refresh" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -96,7 +96,7 @@ void RicCopyReferencesToClipboardFeature::onActionTriggered( bool isChecked )
void RicCopyReferencesToClipboardFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Copy" );
actionToSetup->setIcon( QIcon( ":/Copy.png" ) );
actionToSetup->setIcon( QIcon( ":/Copy.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Copy );
}

View File

@ -106,7 +106,7 @@ void RicCloseCaseFeature::onActionTriggered( bool isChecked )
void RicCloseCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Close" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Close.png" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -44,7 +44,7 @@ CAF_CMD_SOURCE_INIT( RicCloseObservedDataFeature, "RicCloseObservedDataFeature"
void RicCloseObservedDataFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Close" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Close.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -53,7 +53,7 @@ void RicCloseSourSimDataFeature::onActionTriggered( bool isChecked )
void RicCloseSourSimDataFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Close SourSim Data" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Close.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -48,7 +48,7 @@ CAF_CMD_SOURCE_INIT( RicCloseSummaryCaseInCollectionFeature, "RicCloseSummaryCas
void RicCloseSummaryCaseInCollectionFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Close Summary Cases" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Close.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -111,6 +111,6 @@ void RicDeleteItemFeature::onActionTriggered( bool isChecked )
void RicDeleteItemFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -105,7 +105,7 @@ void RicDeleteSubItemsFeature::onActionTriggered( bool isChecked )
void RicDeleteSubItemsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Sub Items" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -132,7 +132,7 @@ void RicDeleteSummaryCaseCollectionFeature::onActionTriggered( bool isChecked )
void RicDeleteSummaryCaseCollectionFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Summary Case Group/Ensemble" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -80,6 +80,6 @@ void RicDeleteTemporaryLgrsFeature::onActionTriggered( bool isChecked )
void RicDeleteTemporaryLgrsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Temporary LGRs" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -64,5 +64,5 @@ void RicDeleteWellMeasurementFilePathFeature::onActionTriggered( bool isChecked
void RicDeleteWellMeasurementFilePathFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Well Measurement File" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
}

View File

@ -84,6 +84,6 @@ void RicGeoMechCopyCaseFeature::onActionTriggered( bool isChecked )
//--------------------------------------------------------------------------------------------------
void RicGeoMechCopyCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setIcon( QIcon( ":/Copy.png" ) );
actionToSetup->setIcon( QIcon( ":/Copy.svg" ) );
actionToSetup->setText( "Copy and Replace Input" );
}

View File

@ -554,7 +554,7 @@ void RicRecursiveFileSearchDialog::slotFileListCustomMenuRequested( const QPoint
QMenu menu;
QAction* action;
action = new QAction( QIcon( ":/Copy.png" ), "&Copy", this );
action = new QAction( QIcon( ":/Copy.svg" ), "&Copy", this );
connect( action, SIGNAL( triggered() ), SLOT( slotCopyFileItemText() ) );
menu.addAction( action );
menu.addSeparator();

View File

@ -82,5 +82,5 @@ void RicReloadCaseFeature::onActionTriggered( bool isChecked )
void RicReloadCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Reload" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}

View File

@ -80,5 +80,5 @@ void RicReloadFormationNamesFeature::onActionTriggered( bool isChecked )
void RicReloadFormationNamesFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Reload" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}

View File

@ -76,7 +76,7 @@ void RicReloadSummaryCaseFeature::onActionTriggered( bool isChecked )
void RicReloadSummaryCaseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Reload" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -61,5 +61,5 @@ void RicReloadWellMeasurementsFeature::onActionTriggered( bool isChecked )
void RicReloadWellMeasurementsFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Reload" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}

View File

@ -81,5 +81,5 @@ void RicReloadWellPathFormationNamesFeature::onActionTriggered( bool isChecked )
void RicReloadWellPathFormationNamesFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Reload All Well Picks" );
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
}

View File

@ -65,6 +65,6 @@ void RicCopySurfaceFeature::onActionTriggered( bool isChecked )
//--------------------------------------------------------------------------------------------------
void RicCopySurfaceFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setIcon( QIcon( ":/Copy.png" ) );
actionToSetup->setIcon( QIcon( ":/Copy.svg" ) );
actionToSetup->setText( "Create Copy" );
}

View File

@ -61,6 +61,6 @@ void RicReloadSurfaceFeature::onActionTriggered( bool isChecked )
//--------------------------------------------------------------------------------------------------
void RicReloadSurfaceFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setIcon( QIcon( ":/Refresh-32.png" ) );
actionToSetup->setIcon( QIcon( ":/Refresh.svg" ) );
actionToSetup->setText( "Reload" );
}

View File

@ -75,6 +75,6 @@ void Ric3dWellLogCurveDeleteFeature::onActionTriggered( bool isChecked )
void Ric3dWellLogCurveDeleteFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete 3D Well Log Curve(s)" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -74,5 +74,5 @@ void RicDeletePltPlotFeature::onActionTriggered( bool isChecked )
void RicDeletePltPlotFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete PLT Plot" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
}

View File

@ -75,6 +75,6 @@ void RicDeleteRftPlotFeature::onActionTriggered( bool isChecked )
void RicDeleteRftPlotFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete RFT Plot" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -137,6 +137,6 @@ void RicDeleteSubPlotFeature::setupActionLook( QAction* actionToSetup )
}
actionToSetup->setText( actionText );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -81,7 +81,7 @@ void RicWellLogFileCloseFeature::onActionTriggered( bool isChecked )
void RicWellLogFileCloseFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Close Well Log File(s)" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Close.svg" ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -69,6 +69,6 @@ void RicDeletePolylineTargetFeature::onActionTriggered( bool isChecked )
void RicDeletePolylineTargetFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Target" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -108,13 +108,13 @@ void RicDeleteWellPathAttributeFeature::setupActionLook( QAction* actionToSetup
if ( attributes.size() > 0 )
{
actionToSetup->setText( "Delete Attribute" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}
else if ( caf::SelectionManager::instance()->selectedItemOfType<RimWellPathAttributeCollection>() )
{
actionToSetup->setText( "Delete Casing Design" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}
}

View File

@ -70,5 +70,5 @@ void RicDeleteWellPathTargetFeature::onActionTriggered( bool isChecked )
void RicDeleteWellPathTargetFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Target" );
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
}

View File

@ -86,6 +86,6 @@ void RicWellPathDeleteFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setText( "Delete Well Path" );
}
actionToSetup->setIcon( QIcon( ":/Erase.png" ) );
actionToSetup->setIcon( QIcon( ":/Erase.svg" ) );
applyShortcutWithHintToAction( actionToSetup, QKeySequence::Delete );
}

View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{display:none;fill:#FFFFFF;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st1{display:none;fill:none;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st2{fill:none;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
</style>
<path class="st0" d="M18.94,5.84v14.43c0,1.14-0.92,2.06-2.06,2.06H6.57c-1.14,0-2.06-0.92-2.06-2.06V5.84 M7.6,5.84V3.78
c0-1.14,0.92-2.06,2.06-2.06h4.12c1.14,0,2.06,0.92,2.06,2.06v2.06"/>
<polyline class="st1" points="2.45,5.84 4.51,5.84 21.01,5.84 "/>
<line class="st1" x1="9.66" y1="11" x2="9.66" y2="17.18"/>
<line class="st1" x1="13.79" y1="11" x2="13.79" y2="17.18"/>
<line class="st2" x1="20.21" y1="3.79" x2="3.79" y2="20.21"/>
<line class="st2" x1="3.79" y1="3.79" x2="20.21" y2="20.21"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;stroke:#8F9090;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st1{fill:#8F9090;}
</style>
<path class="st0" d="M15.63,1.42h-6c-0.95,0-1.71,0.77-1.71,1.71v13.71c0,0.95,0.77,1.71,1.71,1.71h10.28
c0.95,0,1.71-0.77,1.71-1.71V7.42L15.63,1.42z"/>
<polyline class="st1" points="15.63,1.42 15.63,7.42 21.63,7.42 "/>
<path class="st0" d="M10.08,5.08h-6c-0.95,0-1.71,0.77-1.71,1.71V20.5c0,0.95,0.77,1.71,1.71,1.71h10.28c0.95,0,1.71-0.77,1.71-1.71
v-9.42L10.08,5.08z"/>
<polyline class="st1" points="10.08,5.08 10.08,11.07 16.08,11.07 "/>
</svg>

After

Width:  |  Height:  |  Size: 951 B

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st1{fill:none;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
</style>
<path class="st0" d="M18.94,5.84v14.43c0,1.14-0.92,2.06-2.06,2.06H6.57c-1.14,0-2.06-0.92-2.06-2.06V5.84 M7.6,5.84V3.78
c0-1.14,0.92-2.06,2.06-2.06h4.12c1.14,0,2.06,0.92,2.06,2.06v2.06"/>
<polyline class="st1" points="2.45,5.84 4.51,5.84 21.01,5.84 "/>
<line class="st1" x1="9.66" y1="11" x2="9.66" y2="17.18"/>
<line class="st1" x1="13.79" y1="11" x2="13.79" y2="17.18"/>
</svg>

After

Width:  |  Height:  |  Size: 995 B

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{fill:url(#SVGID_1_);stroke:#8F9090;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st1{fill:none;stroke:#8DC584;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="1.1804" y1="12.4846" x2="22.8196" y2="12.4846">
<stop offset="1.118836e-07" style="stop-color:#9D9D9C"/>
<stop offset="0.5652" style="stop-color:#CECECE"/>
<stop offset="1" style="stop-color:#5C5C5B"/>
</linearGradient>
<polygon class="st0" points="22.82,2.75 1.18,2.75 9.84,12.98 9.84,20.06 14.16,22.22 14.16,12.98 "/>
<path class="st1" d="M1.72,17.75"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{display:none;fill:#8F9090;stroke:#8F9090;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st1{fill:url(#SVGID_1_);}
.st2{fill:url(#SVGID_2_);}
.st3{fill:url(#SVGID_3_);stroke:#8E8F8F;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
.st4{fill:none;stroke:#8CC483;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style>
<polygon class="st0" points="22.54,11.36 9.65,11.36 14.8,17.46 14.8,21.68 17.38,22.97 17.38,17.46 "/>
<g>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="11.57" y1="4.02" x2="11.57" y2="20.18" gradientTransform="matrix(1 0 0 -1 0 24)">
<stop offset="0" style="stop-color:#F39200"/>
<stop offset="0.3393" style="stop-color:#F6A31C"/>
<stop offset="0.6861" style="stop-color:#F9AE2E"/>
<stop offset="1" style="stop-color:#F9B233"/>
</linearGradient>
<path class="st1" d="M12.8,18.19l-4.68-5.54c-0.5-0.59-0.61-1.43-0.29-2.13c0.33-0.71,1.04-1.16,1.81-1.16h11.58V9V7.57
c0-0.52-0.42-0.94-0.94-0.94h-5.45c-0.25,0-0.49-0.1-0.66-0.27l-2.25-2.25c-0.18-0.18-0.41-0.27-0.66-0.28l-8.4-0.01
c-0.52,0-0.94,0.42-0.94,0.94v14.28c0,0.52,0.42,0.94,0.94,0.94h2.19h7.76v-1.79H12.8z M5.03,9.39v8.89c0,0.4-0.31,0.72-0.69,0.72
H3.48c-0.31,0-0.56-0.26-0.56-0.59V5.58c0-0.4,0.31-0.72,0.69-0.72h7.33c0.16,0,0.4,0.09,0.51,0.21l2.46,2.42
c0.12,0.12,0.35,0.21,0.51,0.21l5.46-0.01c0.16,0,0.3,0.13,0.3,0.3v0.47c0,0.16-0.14,0.3-0.3,0.3H5.64
C5.3,8.76,5.03,9.04,5.03,9.39z"/>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="20.3" y1="4.02" x2="20.3" y2="7.9862" gradientTransform="matrix(1 0 0 -1 0 24)">
<stop offset="0" style="stop-color:#F39200"/>
<stop offset="0.3393" style="stop-color:#F6A31C"/>
<stop offset="0.6861" style="stop-color:#F9AE2E"/>
<stop offset="1" style="stop-color:#F9B233"/>
</linearGradient>
<path class="st2" d="M19.38,18.19v1.79h0.66c0.65,0,1.18-0.53,1.18-1.18v-2.78L19.38,18.19z"/>
</g>
<linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="9.9273" y1="16.7923" x2="22.2627" y2="16.7923">
<stop offset="1.118836e-07" style="stop-color:#9C9B9B"/>
<stop offset="0.5652" style="stop-color:#CDCDCD"/>
<stop offset="1" style="stop-color:#5C5C5B"/>
</linearGradient>
<polygon class="st3" points="22.26,11.24 9.93,11.24 14.86,17.08 14.86,21.11 17.33,22.34 17.33,17.08 "/>
<path class="st4" d="M2.29,17.76"/>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
<style type="text/css">
.st0{display:none;fill:#FFFFFF;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st1{display:none;fill:none;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
.st2{fill:none;stroke:#8F9090;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10.6667;}
</style>
<path class="st0" d="M18.94,5.84v14.43c0,1.14-0.92,2.06-2.06,2.06H6.57c-1.14,0-2.06-0.92-2.06-2.06V5.84 M7.6,5.84V3.78
c0-1.14,0.92-2.06,2.06-2.06h4.12c1.14,0,2.06,0.92,2.06,2.06v2.06"/>
<polyline class="st1" points="2.45,5.84 4.51,5.84 21.01,5.84 "/>
<line class="st1" x1="9.66" y1="11" x2="9.66" y2="17.18"/>
<line class="st1" x1="13.79" y1="11" x2="13.79" y2="17.18"/>
<line class="st1" x1="20.21" y1="3.79" x2="3.79" y2="20.21"/>
<line class="st1" x1="3.79" y1="3.79" x2="20.21" y2="20.21"/>
<polyline class="st2" points="21.85,4.85 21.85,10.22 16.48,10.22 "/>
<polyline class="st2" points="2.17,19.16 2.17,13.8 7.53,13.8 "/>
<path class="st2" d="M4.41,9.32c1.48-4.19,6.08-6.39,10.28-4.9c1.13,0.4,2.16,1.05,3.01,1.9l4.15,3.9 M2.17,13.8l4.15,3.9
c3.14,3.14,8.24,3.15,11.39,0c0.85-0.85,1.5-1.88,1.9-3.01"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -215,6 +215,12 @@
<file>themes/dark/checkbox-unchecked-disabled.svg</file>
<file>themes/dark/checkbox-indeterminate.svg</file>
<file>themes/dark/checkbox-indeterminate-disabled.svg</file>
<file>Filter.svg</file>
<file>FilterCollection.svg</file>
<file>Copy.svg</file>
<file>Erase.svg</file>
<file>Close.svg</file>
<file>Refresh.svg</file>
</qresource>
<qresource prefix="/Shader">
<file>fs_CellFace.glsl</file>

View File

@ -163,7 +163,7 @@ void RiuTextDialog::contextMenuEvent( QContextMenuEvent* event )
QAction* actionToSetup = new QAction( this );
actionToSetup->setText( "Copy" );
actionToSetup->setIcon( QIcon( ":/Copy.png" ) );
actionToSetup->setIcon( QIcon( ":/Copy.svg" ) );
caf::CmdFeature::applyShortcutWithHintToAction( actionToSetup, QKeySequence::Copy );
connect( actionToSetup, SIGNAL( triggered() ), m_textEdit, SLOT( slotCopyContentToClipboard() ) );
@ -310,7 +310,7 @@ void RiuTabbedTextDialog::contextMenuEvent( QContextMenuEvent* event )
QAction* actionToSetup = new QAction( this );
actionToSetup->setText( "Copy" );
actionToSetup->setIcon( QIcon( ":/Copy.png" ) );
actionToSetup->setIcon( QIcon( ":/Copy.svg" ) );
caf::CmdFeature::applyShortcutWithHintToAction( actionToSetup, QKeySequence::Copy );
connect( actionToSetup, SIGNAL( triggered() ), textEdit, SLOT( slotCopyContentToClipboard() ) );