OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
uiParentBody Class Referenceabstract

#include <uiparentbody.h>

Inheritance diagram for uiParentBody:
[legend]

Public Member Functions

 ~uiParentBody ()
 
virtual void attachChild (ConstraintType, uiObject *child, uiObject *other, int margin, bool reciprocal)=0
 
const ObjectSet< uiBaseObject > * childList () const
 
void clearChildren ()
 
void finalize () override
 
void finalizeChildren ()
 
bool finalized () const override
 
void manageChild (uiBaseObject &child, uiObjectBody &)
 child becomes mine.
 
QWidget * managewidg ()
 widget to be used as parent for QWidgets
 
const QWidget * managewidg () const
 widget to be used as parent for QWidgets
 
 mOD_DisableCopy (uiParentBody) virtual void addChild(uiBaseObject &child)
 
- Public Member Functions inherited from uiBody
virtual ~uiBody ()
 
virtual void clear ()
 
virtual void fontchanged ()
 
 mOD_DisableCopy (uiBody) virtual void final ize()
 
QWidget * qwidget ()
 can return 0
 
const QWidget * qwidget () const
 can return 0
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=nullptr)
 
 NamedCallBacker (const NamedCallBacker &)=delete
 
 ~NamedCallBacker ()
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
NamedCallBackeroperator= (const NamedCallBacker &)=delete
 
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.
 
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.
 
CallBackeroperator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 
- 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 &)
 
const name_typename () const override
 
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
 

Protected Member Functions

 uiParentBody (const char *nm)
 
void childDel (CallBacker *)
 
void deleteAllChildren ()
 
virtual void manageChld_ (uiBaseObject &, uiObjectBody &)
 
virtual const QWidget * managewidg_ () const =0
 
- Protected Member Functions inherited from uiBody
 uiBody ()
 
virtual const QWidget * qwidget_ () const =0
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

ObjectSet< uiBaseObjectchildren_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Private Attributes

bool finalized_ = false
 

Friends

class uiObjectBody
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ~uiParentBody()

uiParentBody::~uiParentBody ( )

◆ uiParentBody()

uiParentBody::uiParentBody ( const char * nm)
protected

Member Function Documentation

◆ attachChild()

virtual void uiParentBody::attachChild ( ConstraintType ,
uiObject * child,
uiObject * other,
int margin,
bool reciprocal )
pure virtual

Implemented in uiCentralWidgetBody, and uiDialogBody.

◆ childDel()

void uiParentBody::childDel ( CallBacker * )
protected

◆ childList()

const ObjectSet< uiBaseObject > * uiParentBody::childList ( ) const
inline

◆ clearChildren()

void uiParentBody::clearChildren ( )

◆ deleteAllChildren()

void uiParentBody::deleteAllChildren ( )
protected

◆ finalize()

void uiParentBody::finalize ( )
inlineoverride

◆ finalizeChildren()

void uiParentBody::finalizeChildren ( )

◆ finalized()

bool uiParentBody::finalized ( ) const
inlineoverridevirtual

Reimplemented from uiBody.

◆ manageChild()

void uiParentBody::manageChild ( uiBaseObject & child,
uiObjectBody &  )

child becomes mine.

◆ manageChld_()

virtual void uiParentBody::manageChld_ ( uiBaseObject & ,
uiObjectBody &  )
inlineprotectedvirtual

Reimplemented in uiCentralWidgetBody, and uiDialogBody.

◆ managewidg() [1/2]

QWidget * uiParentBody::managewidg ( )
inline

widget to be used as parent for QWidgets

◆ managewidg() [2/2]

const QWidget * uiParentBody::managewidg ( ) const
inline

widget to be used as parent for QWidgets

◆ managewidg_()

virtual const QWidget * uiParentBody::managewidg_ ( ) const
protectedpure virtual

Implemented in uiCentralWidgetBody, and uiDialogBody.

◆ mOD_DisableCopy()

uiParentBody::mOD_DisableCopy ( uiParentBody ) &

Friends And Related Symbol Documentation

◆ uiObjectBody

friend class uiObjectBody
friend

Member Data Documentation

◆ children_

ObjectSet<uiBaseObject> uiParentBody::children_
protected

◆ finalized_

bool uiParentBody::finalized_ = false
private

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