OpendTect  6.6
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 tp, uiObject *child, uiObject *other, int margin, bool reciprocal)=0
 
const ObjectSet< uiBaseObject > * childList () const
 
void clearChildren ()
 
virtual void finalise ()
 
void finaliseChildren ()
 
bool finalised () const
 
void manageChld (uiBaseObject &child, uiObjectBody &b)
 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
 
- 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
 

Protected Member Functions

 uiParentBody (const char *nm)
 
void childDel (CallBacker *cb)
 
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 finalised_
 

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 ( )
inlinevirtual

◆ uiParentBody()

uiParentBody::uiParentBody ( const char *  nm)
inlineprotected

Member Function Documentation

◆ addChild()

virtual void uiParentBody::addChild ( uiBaseObject child)
inlinevirtual

Reimplemented in uiDialogBody, and uiCentralWidgetBody.

◆ attachChild()

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

Implemented in uiDialogBody, and uiCentralWidgetBody.

◆ childDel()

void uiParentBody::childDel ( CallBacker cb)
inlineprotected

◆ childList()

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

◆ clearChildren()

void uiParentBody::clearChildren ( )

◆ deleteAllChildren()

void uiParentBody::deleteAllChildren ( )
inlineprotected

◆ finalise()

virtual void uiParentBody::finalise ( )
inlinevirtual

Reimplemented from uiBody.

Reimplemented in uiDialogBody, and uiMainWinBody.

◆ finaliseChildren()

void uiParentBody::finaliseChildren ( )

◆ finalised()

bool uiParentBody::finalised ( ) const
inlinevirtual

Reimplemented from uiBody.

◆ manageChld()

void uiParentBody::manageChld ( uiBaseObject child,
uiObjectBody b 
)
inline

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

◆ finalised_

bool uiParentBody::finalised_
private

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