mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add [BETA] as postfix to user interface
Add postfix to SUMO and OSDU cloud import features.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "Cloud/RiaOsduConnector.h"
|
||||
#include "RiaApplication.h"
|
||||
#include "RiaColorTables.h"
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
@@ -82,7 +83,7 @@ void RicWellPathsImportOsduFeature::onActionTriggered( bool isChecked )
|
||||
caf::ProgressInfo progress( importedWells.size(), "Importing wells from OSDU", false, true );
|
||||
int colorIndex = 0;
|
||||
std::vector<RimOsduWellPath*> newWells;
|
||||
for ( auto w : importedWells )
|
||||
for ( const auto& w : importedWells )
|
||||
{
|
||||
auto wellPath = new RimOsduWellPath;
|
||||
wellPath->setName( w.name );
|
||||
@@ -118,6 +119,6 @@ void RicWellPathsImportOsduFeature::onActionTriggered( bool isChecked )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicWellPathsImportOsduFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "Import Well Paths from &OSDU" );
|
||||
actionToSetup->setText( "Import Well Paths from &OSDU" + RiaDefines::betaFeaturePostfix() );
|
||||
actionToSetup->setIcon( QIcon( ":/WellCollection.png" ) );
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "RicImportWellLogOsduFeature.h"
|
||||
|
||||
#include "Cloud/RiaOsduConnector.h"
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaGuiApplication.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
@@ -118,5 +119,5 @@ void RicImportWellLogOsduFeature::onActionTriggered( bool isChecked )
|
||||
void RicImportWellLogOsduFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setIcon( QIcon( ":/LasFile16x16.png" ) );
|
||||
actionToSetup->setText( "Import Well Log From OSDU" );
|
||||
actionToSetup->setText( "Import Well Log From OSDU" + RiaDefines::betaFeaturePostfix() );
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include "RicCreateSumoEnsembleFeature.h"
|
||||
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaSummaryTools.h"
|
||||
|
||||
#include "PlotBuilderCommands/RicSummaryPlotBuilder.h"
|
||||
@@ -57,6 +58,6 @@ void RicCreateSumoEnsembleFeature::onActionTriggered( bool isChecked )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicCreateSumoEnsembleFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setText( "Create Sumo Ensemble" );
|
||||
actionToSetup->setText( "Create Sumo Ensemble" + RiaDefines::betaFeaturePostfix() );
|
||||
actionToSetup->setIcon( QIcon( ":/SummaryEnsemble.svg" ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user