OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | Friends | List of all members
uiParentBody Class Referenceabstract
Inheritance diagram for uiParentBody:
[legend]

Public Member Functions

virtual ~uiParentBody ()
 
virtual void addChild (uiBaseObject &child)
 
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. More...
 
QWidget * managewidg ()
 widget to be used as parent for QWidgets More...
 
const QWidget * managewidg () const
 widget to be used as parent for QWidgets More...
 
- Public Member Functions inherited from uiBody
virtual ~uiBody ()
 
virtual void clear ()
 
virtual void fontchanged ()
 
QWidget * qwidget ()
 can return 0 More...
 
const QWidget * qwidget () const
 can return 0 More...
 
- 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
 
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()

virtual uiParentBody::~uiParentBody ( )
virtual

◆ uiParentBody()

uiParentBody::uiParentBody ( const char *  nm)
protected

Member Function Documentation

◆ addChild()

virtual void uiParentBody::addChild ( uiBaseObject child)
virtual

Reimplemented in uiDialogBody, and uiCentralWidgetBody.

◆ attachChild()

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

Implemented in uiDialogBody, and uiCentralWidgetBody.

◆ 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 ( )
inlineoverridevirtual

Reimplemented from uiBody.

Reimplemented in uiDialogBody, and uiMainWinBody.

◆ 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 uiDialogBody, and uiCentralWidgetBody.

◆ 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 uiDialogBody, and uiCentralWidgetBody.

Friends And Related Function 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-2024