OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
uiBaseObject Class Reference
Inheritance diagram for uiBaseObject:
[legend]

Public Member Functions

 uiBaseObject (const char *nm, uiBody *=0)
 
virtual ~uiBaseObject ()
 
int beginCmdRecEvent (const char *msg=0)
 
int beginCmdRecEvent (od_uint64 id, const char *msg=0)
 
uiBodybody ()
 
const uiBodybody () const
 
void clear ()
 
void endCmdRecEvent (int refnr, const char *msg=0)
 
void endCmdRecEvent (od_uint64 id, int refnr, const char *msg=0)
 
void finalise ()
 
bool finalised () const
 
virtual QWidget * getWidget ()
 
const QWidget * getWidget () const
 
virtual Notifier< uiBaseObject > & postFinalise ()
 
virtual Notifier< uiBaseObject > & preFinalise ()
 
virtual void translateText ()
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static void addCmdRecorder (const CallBack &)
 
static void removeCmdRecorder (const CallBack &)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

void setBody (uiBody *b)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

Notifier< uiBaseObjectfinaliseDone
 triggered when finalising finished More...
 
Notifier< uiBaseObjectfinaliseStart
 triggered when about to start finalising More...
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Attributes

uiBodybody_
 
int cmdrecrefnr_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ uiBaseObject()

uiBaseObject::uiBaseObject ( const char *  nm,
uiBody = 0 
)

◆ ~uiBaseObject()

virtual uiBaseObject::~uiBaseObject ( )
virtual

Member Function Documentation

◆ addCmdRecorder()

static void uiBaseObject::addCmdRecorder ( const CallBack )
static

◆ beginCmdRecEvent() [1/2]

int uiBaseObject::beginCmdRecEvent ( const char *  msg = 0)

◆ beginCmdRecEvent() [2/2]

int uiBaseObject::beginCmdRecEvent ( od_uint64  id,
const char *  msg = 0 
)

◆ body() [1/2]

uiBody* uiBaseObject::body ( )
inline

◆ body() [2/2]

const uiBody* uiBaseObject::body ( ) const
inline

◆ clear()

void uiBaseObject::clear ( )

◆ endCmdRecEvent() [1/2]

void uiBaseObject::endCmdRecEvent ( int  refnr,
const char *  msg = 0 
)

◆ endCmdRecEvent() [2/2]

void uiBaseObject::endCmdRecEvent ( od_uint64  id,
int  refnr,
const char *  msg = 0 
)

◆ finalise()

void uiBaseObject::finalise ( )

◆ finalised()

bool uiBaseObject::finalised ( ) const

◆ getWidget() [1/2]

virtual QWidget* uiBaseObject::getWidget ( )
inlinevirtual

Reimplemented in uiObject, uiMenu, and uiMenuBar.

◆ getWidget() [2/2]

const QWidget* uiBaseObject::getWidget ( ) const

◆ postFinalise()

virtual Notifier<uiBaseObject>& uiBaseObject::postFinalise ( )
inlinevirtual

Reimplemented in uiGroup.

◆ preFinalise()

virtual Notifier<uiBaseObject>& uiBaseObject::preFinalise ( )
inlinevirtual

Reimplemented in uiGroup.

◆ removeCmdRecorder()

static void uiBaseObject::removeCmdRecorder ( const CallBack )
static

◆ setBody()

void uiBaseObject::setBody ( uiBody b)
inlineprotected

◆ translateText()

virtual void uiBaseObject::translateText ( )
inlinevirtual

Triggers translation of object and all members to current language.

Reimplemented in uiODMain, uiTreeView, uiToolBar, uiSpinBox, uiParent, uiObject, uiMainWin, uiListBox, uiLabel, uiGraphicsViewBase, uiComboBox, uiPushButton, and uiButton.

Member Data Documentation

◆ body_

uiBody* uiBaseObject::body_
private

◆ cmdrecrefnr_

int uiBaseObject::cmdrecrefnr_
private

◆ finaliseDone

Notifier<uiBaseObject> uiBaseObject::finaliseDone
protected

triggered when finalising finished

◆ finaliseStart

Notifier<uiBaseObject> uiBaseObject::finaliseStart
protected

triggered when about to start finalising


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