OpendTect  6.6
Public 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 EM::ObjectID &, const Color &oldcol, const Color &newcol)
 
ObjectID getObjectID () const
 
const char * getStandardDesc () const
 
bool reDo ()
 
bool unDo ()
 
- Public Member Functions inherited from UndoEvent
 UndoEvent ()
 
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
bool isUserInteractionEnd () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 

Protected Attributes

const Color newcolor_
 
const EM::ObjectID objectid_
 
const 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 EM::ObjectID ,
const Color oldcol,
const Color newcol 
)

Member Function Documentation

◆ getObjectID()

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

Implements EM::EMUndoEvent.

◆ getStandardDesc()

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

Implements UndoEvent.

◆ reDo()

bool EM::SetPrefColorEvent::reDo ( )
virtual

Implements UndoEvent.

◆ unDo()

bool EM::SetPrefColorEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

◆ newcolor_

const Color EM::SetPrefColorEvent::newcolor_
protected

◆ objectid_

const EM::ObjectID EM::SetPrefColorEvent::objectid_
protected

◆ oldcolor_

const Color EM::SetPrefColorEvent::oldcolor_
protected

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