mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4196 Apply background color, well label color and z-scale automatically from preferences
* Ask to change existing views if their values are different from the previous Preferences default
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "cafCmdFeature.h"
|
||||
#include <memory>
|
||||
|
||||
class RiaPreferences;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -27,12 +29,14 @@
|
||||
class RicEditPreferencesFeature : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
|
||||
|
||||
protected:
|
||||
// Overrides
|
||||
bool isCommandEnabled() override;
|
||||
void onActionTriggered( bool isChecked ) override;
|
||||
void setupActionLook( QAction* actionToSetup ) override;
|
||||
|
||||
static std::unique_ptr<RiaPreferences> clonePreferences(const RiaPreferences* preferences);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user