Files
ResInsight/ApplicationLibCode/Commands/AnnotationCommands/RicCreateUserDefinedPolylinesAnnotationFeature.h
T

43 lines
1.4 KiB
C++
Raw Normal View History

2018-11-23 13:33:59 +01:00
/////////////////////////////////////////////////////////////////////////////////
//
2019-01-09 15:21:38 +01:00
// Copyright (C) 2018- Equinor ASA
//
2018-11-23 13:33:59 +01:00
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
2018-11-23 13:33:59 +01:00
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
2018-11-23 13:33:59 +01:00
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "cafCmdFeature.h"
#include <QString>
class RimAnnotationCollection;
2018-11-23 13:33:59 +01:00
//==================================================================================================
///
2018-11-23 13:33:59 +01:00
//==================================================================================================
class RicCreateUserDefinedPolylinesAnnotationFeature : public caf::CmdFeature
2018-11-23 13:33:59 +01:00
{
CAF_CMD_HEADER_INIT;
2018-11-23 13:33:59 +01:00
protected:
// Overrides
bool isCommandEnabled() override;
void onActionTriggered( bool isChecked ) override;
void setupActionLook( QAction* actionToSetup ) override;
2018-11-23 13:33:59 +01:00
private:
RimAnnotationCollection* annotationCollection() const;
2018-11-23 13:33:59 +01:00
};