OpendTect-6_4  6.4
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 *)
 
bool isValid () const
 
const uiObjectobject () const
 
const uiAction * action () const
 
bool visible () const
 
bool sensitive () const
 
const char * name () const
 
const char * toolTip () const
 
const uiParentparent () const
 
const uiMenumenu () const
 
const ObjectSet< uiBaseObject > * childList () const
 

Protected Attributes

const uiObjectuiobj_
 
const uiAction * uiact_
 

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

CmdDrive::UIEntity::UIEntity ( const CallBacker )

Member Function Documentation

const uiAction* CmdDrive::UIEntity::action ( ) const
inline
const ObjectSet<uiBaseObject>* CmdDrive::UIEntity::childList ( ) const
bool CmdDrive::UIEntity::isValid ( ) const
inline
const uiMenu* CmdDrive::UIEntity::menu ( ) const
const char* CmdDrive::UIEntity::name ( ) const
const uiObject* CmdDrive::UIEntity::object ( ) const
inline
const uiParent* CmdDrive::UIEntity::parent ( ) const
bool CmdDrive::UIEntity::sensitive ( ) const
const char* CmdDrive::UIEntity::toolTip ( ) const
bool CmdDrive::UIEntity::visible ( ) const

Member Data Documentation

const uiAction* CmdDrive::UIEntity::uiact_
protected
const uiObject* CmdDrive::UIEntity::uiobj_
protected

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