OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
CmdDrive::UIEntity Class Reference

Convenience class UIEntity offers access to shared functionality of uiAction and uiObject, given their base class CallBacker. Since toolbar buttons are no longer uiToolButtons but uiActions, unspecified UI objects have to be passed as CallBackers. More...

Public Member Functions

 UIEntity (const CallBacker *)
 
const uiActionaction () const
 
const ObjectSet< uiBaseObject > * childList () const
 
bool isValid () const
 
const uiMenumenu () const
 
const char * name () const
 
const uiObjectobject () const
 
const uiParentparent () const
 
bool sensitive () const
 
const char * toolTip () const
 
bool visible () const
 

Protected Attributes

const uiActionuiact_
 
const uiObjectuiobj_
 

Detailed Description

Convenience class UIEntity offers access to shared functionality of uiAction and uiObject, given their base class CallBacker. Since toolbar buttons are no longer uiToolButtons but uiActions, unspecified UI objects have to be passed as CallBackers.

<>

Constructor & Destructor Documentation

◆ UIEntity()

CmdDrive::UIEntity::UIEntity ( const CallBacker )

Member Function Documentation

◆ action()

const uiAction* CmdDrive::UIEntity::action ( ) const
inline

◆ childList()

const ObjectSet<uiBaseObject>* CmdDrive::UIEntity::childList ( ) const

◆ isValid()

bool CmdDrive::UIEntity::isValid ( ) const
inline

◆ menu()

const uiMenu* CmdDrive::UIEntity::menu ( ) const

◆ name()

const char* CmdDrive::UIEntity::name ( ) const

◆ object()

const uiObject* CmdDrive::UIEntity::object ( ) const
inline

◆ parent()

const uiParent* CmdDrive::UIEntity::parent ( ) const

◆ sensitive()

bool CmdDrive::UIEntity::sensitive ( ) const

◆ toolTip()

const char* CmdDrive::UIEntity::toolTip ( ) const

◆ visible()

bool CmdDrive::UIEntity::visible ( ) const

Member Data Documentation

◆ uiact_

const uiAction* CmdDrive::UIEntity::uiact_
protected

◆ uiobj_

const uiObject* CmdDrive::UIEntity::uiobj_
protected

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