mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1728 Add close summary command. Dependent curves yet not deleted
This commit is contained in:
20
ApplicationCode/Commands/RicCloseSummaryCaseFeature.h
Normal file
20
ApplicationCode/Commands/RicCloseSummaryCaseFeature.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "cafCmdFeature.h"
|
||||
#include "vector"
|
||||
|
||||
class RimSummaryCase;
|
||||
|
||||
class RicCloseSummaryCaseFeature : public caf::CmdFeature
|
||||
{
|
||||
CAF_CMD_HEADER_INIT;
|
||||
public:
|
||||
|
||||
protected:
|
||||
// Overrides
|
||||
virtual bool isCommandEnabled();
|
||||
virtual void onActionTriggered(bool isChecked);
|
||||
virtual void setupActionLook(QAction* actionToSetup);
|
||||
private:
|
||||
RimSummaryCase* selectedSummaryCase() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user