OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::SetPrefColorEvent Class Reference

UndoEvent to set preferred Color. More...

Inheritance diagram for EM::SetPrefColorEvent:
[legend]

Public Member Functions

 SetPrefColorEvent (const ObjectID &, const OD::Color &oldcol, const OD::Color &newcol)
 
ObjectID getObjectID () const override
 
const char * getStandardDesc () const override
 
bool reDo () override
 
bool unDo () override
 
- Public Member Functions inherited from EM::EMUndoEvent
 ~EMUndoEvent ()
 
- Public Member Functions inherited from UndoEvent
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Member Functions

 ~SetPrefColorEvent ()
 
- Protected Member Functions inherited from EM::EMUndoEvent
 EMUndoEvent ()
 
- Protected Member Functions inherited from UndoEvent
 UndoEvent ()
 

Protected Attributes

const OD::Color newcolor_
 
const ObjectID objectid_
 
const OD::Color oldcolor_
 
- Protected Attributes inherited from UndoEvent
BufferStringdesc_
 
bool isuserinteractionend_
 

Detailed Description

UndoEvent to set preferred Color.

<>

Constructor & Destructor Documentation

◆ SetPrefColorEvent()

EM::SetPrefColorEvent::SetPrefColorEvent ( const ObjectID ,
const OD::Color oldcol,
const OD::Color newcol 
)

◆ ~SetPrefColorEvent()

EM::SetPrefColorEvent::~SetPrefColorEvent ( )
protected

Member Function Documentation

◆ getObjectID()

ObjectID EM::SetPrefColorEvent::getObjectID ( ) const
inlineoverridevirtual

Implements EM::EMUndoEvent.

◆ getStandardDesc()

const char* EM::SetPrefColorEvent::getStandardDesc ( ) const
overridevirtual

Implements UndoEvent.

◆ reDo()

bool EM::SetPrefColorEvent::reDo ( )
overridevirtual

Implements UndoEvent.

◆ unDo()

bool EM::SetPrefColorEvent::unDo ( )
overridevirtual

Implements UndoEvent.

Member Data Documentation

◆ newcolor_

const OD::Color EM::SetPrefColorEvent::newcolor_
protected

◆ objectid_

const ObjectID EM::SetPrefColorEvent::objectid_
protected

◆ oldcolor_

const OD::Color EM::SetPrefColorEvent::oldcolor_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024