mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-03 04:00:57 -06:00
Added icons for VFP and help actions
This commit is contained in:
parent
b14fe92eb4
commit
4b0f3486ad
12
ApplicationExeCode/Resources/HelpCircle.svg
Normal file
12
ApplicationExeCode/Resources/HelpCircle.svg
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.1.2, 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:none;stroke:#75BEFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
|
||||
.st1{fill:#75BEFF;stroke:#75BEFF;stroke-width:0.75;stroke-linecap:round;stroke-linejoin:round;}
|
||||
</style>
|
||||
<circle class="st0" cx="12" cy="12" r="10"/>
|
||||
<path class="st0" d="M9.1,9c0.5-1.6,2.3-2.4,3.8-1.8c1.2,0.4,2,1.6,2,2.8c0,2-3,3-3,3"/>
|
||||
<circle class="st1" cx="11.9" cy="16.9" r="1"/>
|
||||
</svg>
|
After Width: | Height: | Size: 753 B |
@ -37,7 +37,7 @@
|
||||
<file>CorrelationPlots16x16.png</file>
|
||||
<file>CorrelationReportPlot16x16.png</file>
|
||||
<file>CorrelationTornadoPlot16x16.png</file>
|
||||
<file>CreateGridCaseGroup16x16.png</file>
|
||||
<file>CreateGridCaseGroup16x16.png</file>
|
||||
<file>CrossSection16x16.png</file>
|
||||
<file>CrossSections16x16.png</file>
|
||||
<file>CumulativePhaseDist16x16.png</file>
|
||||
@ -69,6 +69,7 @@
|
||||
<file>GeoMechCases48x48.png</file>
|
||||
<file>GridCaseGroup16x16.png</file>
|
||||
<file>GridModels.png</file>
|
||||
<file>HelpCircle.svg</file>
|
||||
<file>Histogram16x16.png</file>
|
||||
<file>Histograms16x16.png</file>
|
||||
<file>HoloLensConnect24x24.png</file>
|
||||
@ -155,6 +156,8 @@
|
||||
<file>ToggleOnOthersOff16x16.png</file>
|
||||
<file>UnLinkView.svg</file>
|
||||
<file>UpView.svg</file>
|
||||
<file>VfpPlot.svg</file>
|
||||
<file>VfpPlotCollection.svg</file>
|
||||
<file>Well.svg</file>
|
||||
<file>WellAllocLegend16x16.png</file>
|
||||
<file>WellAllocPie16x16.png</file>
|
||||
|
15
ApplicationExeCode/Resources/VfpPlot.svg
Normal file
15
ApplicationExeCode/Resources/VfpPlot.svg
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.1.2, 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:none;stroke:#AE4F98;stroke-miterlimit:10;}
|
||||
.st1{fill:#FFFFFF;stroke:#AE4F98;stroke-miterlimit:10;}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M3.7,10.6c1.5,3.3,5.5,5.4,8.8,5.1c2.4-0.3,5.6-1.1,7.9-5.1"/>
|
||||
<circle class="st1" cx="3.9" cy="10.6" r="1.9"/>
|
||||
<circle class="st1" cx="20.4" cy="10.6" r="1.9"/>
|
||||
<circle class="st1" cx="10.7" cy="15.4" r="1.9"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 740 B |
38
ApplicationExeCode/Resources/VfpPlotCollection.svg
Normal file
38
ApplicationExeCode/Resources/VfpPlotCollection.svg
Normal file
@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 24.1.2, 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:none;stroke:#AE4F98;stroke-miterlimit:10;}
|
||||
.st1{fill:#FFFFFF;stroke:#AE4F98;stroke-miterlimit:10;}
|
||||
.st2{fill:url(#SVGID_1_);}
|
||||
.st3{fill:url(#SVGID_2_);}
|
||||
</style>
|
||||
<g>
|
||||
<path class="st0" d="M7.9,16.6c1.2,2.6,4.4,4.3,7,4c1.9-0.2,4.4-0.9,6.3-4.1"/>
|
||||
<circle class="st1" cx="8" cy="16.6" r="1.5"/>
|
||||
<circle class="st1" cx="21.1" cy="16.6" r="1.5"/>
|
||||
<circle class="st1" cx="13.4" cy="20.5" r="1.5"/>
|
||||
</g>
|
||||
<g>
|
||||
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="11.5708" y1="19.9796" x2="11.5708" y2="3.8204">
|
||||
<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="M8.2,19.6c-0.1,0-0.1,0-0.2,0c-1.5,0-2.7-1.1-3-2.5v1.1C5,18.7,4.7,19,4.3,19H3.5c-0.3,0-0.6-0.3-0.6-0.6V5.6
|
||||
c0-0.4,0.3-0.7,0.7-0.7h7.3c0.2,0,0.4,0.1,0.5,0.2l2.5,2.4c0.1,0.1,0.3,0.2,0.5,0.2l5.5,0c0.2,0,0.3,0.1,0.3,0.3v0.5
|
||||
c0,0.2-0.1,0.3-0.3,0.3H5.6C5.3,8.8,5,9,5,9.4V16c0.3-1.4,1.5-2.5,3-2.5c1.7,0,3,1.4,3,3c0,0.5-0.1,0.9-0.3,1.3
|
||||
c0.2,0.1,0.4,0.3,0.5,0.4c0.5-0.5,1.3-0.9,2.1-0.9c1.1,0,2.1,0.6,2.6,1.5c0.8-0.2,1.5-0.6,2.3-1.2c-0.1-0.4-0.2-0.7-0.2-1.2
|
||||
c0-1.7,1.4-3,3-3c0,0,0.1,0,0.1,0V9V7.6c0-0.5-0.4-0.9-0.9-0.9h-5.4c-0.2,0-0.5-0.1-0.7-0.3l-2.2-2.2c-0.2-0.2-0.4-0.3-0.7-0.3
|
||||
l-8.4,0c-0.5,0-0.9,0.4-0.9,0.9V19c0,0.5,0.4,0.9,0.9,0.9H5h3.5C8.4,19.9,8.3,19.7,8.2,19.6z"/>
|
||||
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="20.6669" y1="19.898" x2="20.6669" y2="19.6089">
|
||||
<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="st3" d="M20.8,19.6c-0.1,0.1-0.2,0.2-0.3,0.3c0.2-0.1,0.3-0.2,0.4-0.3C20.8,19.6,20.8,19.6,20.8,19.6z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
@ -164,6 +164,7 @@ void RicHelpAboutFeature::onActionTriggered( bool isChecked )
|
||||
void RicHelpAboutFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "&About" );
|
||||
actionToSetup->setIcon( QIcon( ":/HelpCircle.svg" ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -192,6 +193,7 @@ void RicHelpCommandLineFeature::onActionTriggered( bool isChecked )
|
||||
void RicHelpCommandLineFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "&Command Line Help" );
|
||||
actionToSetup->setIcon( QIcon( ":/HelpCircle.svg" ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -220,6 +222,7 @@ void RicHelpSummaryCommandLineFeature::onActionTriggered( bool isChecked )
|
||||
void RicHelpSummaryCommandLineFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "&Summary Command Line Help" );
|
||||
actionToSetup->setIcon( QIcon( ":/HelpCircle.svg" ) );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -252,7 +255,7 @@ void RicHelpOpenUsersGuideFeature::onActionTriggered( bool isChecked )
|
||||
void RicHelpOpenUsersGuideFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "&Users Guide" );
|
||||
|
||||
actionToSetup->setIcon( QIcon( ":/HelpCircle.svg" ) );
|
||||
// applyShortcutWithHintToAction( actionToSetup, QKeySequence::HelpContents );
|
||||
}
|
||||
|
||||
@ -301,6 +304,7 @@ void RicSearchHelpFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "Search Help" );
|
||||
}
|
||||
actionToSetup->setIcon( QIcon( ":/HelpCircle.svg" ) );
|
||||
|
||||
applyShortcutWithHintToAction( actionToSetup, QKeySequence::HelpContents );
|
||||
}
|
||||
|
@ -108,6 +108,5 @@ void RicNewVfpPlotFeature::onActionTriggered( bool isChecked )
|
||||
void RicNewVfpPlotFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "New VFP Plots" );
|
||||
// TODO: add icon
|
||||
// actionToSetup->setIcon( QIcon( ":/VerticalFlowPerformancePlot16x16.png" ) );
|
||||
actionToSetup->setIcon( QIcon( ":/VfpPlot.svg" ) );
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ CAF_PDM_SOURCE_INIT( RimVfpPlot, "VfpPlot" );
|
||||
RimVfpPlot::RimVfpPlot()
|
||||
{
|
||||
// TODO: add icon
|
||||
CAF_PDM_InitObject( "VFP Plot", "", "", "" );
|
||||
CAF_PDM_InitObject( "VFP Plot", ":/VfpPlot.svg", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_plotTitle, "PlotTitle", QString( "VFP Plot" ), "Plot Title", "", "", "" );
|
||||
m_plotTitle.uiCapability()->setUiHidden( true );
|
||||
|
@ -36,7 +36,7 @@ CAF_PDM_SOURCE_INIT( RimVfpPlotCollection, "RimVfpPlotCollection" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimVfpPlotCollection::RimVfpPlotCollection()
|
||||
{
|
||||
CAF_PDM_InitObject( "VFP Plots", ":/SummaryXPlotsLight16x16.png", "", "" );
|
||||
CAF_PDM_InitObject( "VFP Plots", ":/VfpPlotCollection.svg", "", "" );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_vfpPlots, "VfpPlots", "Vertical Flow Performance Plots", "", "", "" );
|
||||
m_vfpPlots.uiCapability()->setUiHidden( true );
|
||||
|
Loading…
Reference in New Issue
Block a user