OpendTect-6_4  6.4
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)
 
const char * getStandardDesc () const
 
bool unDo ()
 
bool reDo ()
 
ObjectID getObjectID () const
 
- Public Member Functions inherited from UndoEvent
 UndoEvent ()
 
virtual ~UndoEvent ()
 
BufferString getDesc () const
 
void setDesc (const char *)
 
void setUserInteractionEnd (bool=true)
 
bool isUserInteractionEnd () const
 

Protected Attributes

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

Detailed Description

UndoEvent to set preferred Color.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements EM::EMUndoEvent.

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

Implements UndoEvent.

bool EM::SetPrefColorEvent::reDo ( )
virtual

Implements UndoEvent.

bool EM::SetPrefColorEvent::unDo ( )
virtual

Implements UndoEvent.

Member Data Documentation

const Color EM::SetPrefColorEvent::newcolor_
protected
const EM::ObjectID EM::SetPrefColorEvent::objectid_
protected
const Color EM::SetPrefColorEvent::oldcolor_
protected

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