OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiObjBodyImpl< C, T > Class Template Reference

Default (Template) implementation of uiObjectBody. More...

Inheritance diagram for uiObjBodyImpl< C, T >:
[legend]

Public Member Functions

 uiObjBodyImpl (C &hndle, uiParent *parnt, const char *nm)
 
virtual void closeEvent (QCloseEvent *e)
 
virtual void fontChange (const QFont &oldFont)
 
virtual const QWidget * qwidget_ () const
 
virtual void setFont (const QFont &)
 
- Public Member Functions inherited from uiObjectBody
virtual ~uiObjectBody ()
 
virtual uiSize actualSize (bool include_border=true) const
 
void attach (constraintType t, uiParent *other=0, int m=-1, bool r=true)
 
void attach (constraintType, uiObject *other=0, int margin=-1, bool reciprocal=true)
 
void display (bool yn, bool shrink=false, bool maximized=false)
 
virtual void finalise ()
 
virtual bool finalised () const
 
virtual void fontchanged ()
 
int fontHeight () const
 
int fontWidth (bool max=false) const
 
int fontWidthFor (const char *) const
 
int fontWidthFor (const uiString &) const
 
bool isDisplayed () const
 
bool isHidden ()
 
bool itemInited () const
 
const i_LayoutItemlayoutItem ()
 
virtual uiSize minimumSize () const
 
i_LayoutItemmkLayoutItem (i_LayoutMngr &)
 
virtual int nrTxtLines () const
 
float prefHeightInCharSet () const
 
int prefHNrPics () const
 
int prefVNrPics () const
 
float prefWidthInCharSet () const
 
virtual void reDraw (bool)
 
void reParent (uiParentBody *pb)
 
void setHSzPol (uiObject::SzPolicy)
 
void setMaximumHeight (int)
 
void setMaximumWidth (int)
 
void setMinimumHeight (int)
 
void setMinimumWidth (int)
 
void setPrefHeight (int)
 
void setPrefHeightInChar (float)
 
void setPrefWidth (int)
 
void setPrefWidthInChar (float)
 
void setShrinkAllowed (bool yn)
 
void setStretch (int, int)
 
void setToolTip (const uiString &)
 
void setVSzPol (uiObject::SzPolicy)
 
bool shrinkAllowed ()
 
virtual int stretch (bool, bool retUndef=false) const
 
uiObject::SzPolicy szPol (bool hor=true) const
 
Color uibackgroundColor () const
 
bool uiCloseOK ()
 
const uiFontuifont () const
 
bool uihasFocus () const
 
bool uisensitive () const
 
void uisetBackgroundColor (const Color &)
 
void uisetBackgroundPixmap (const uiPixmap &)
 
void uisetCaption (const uiString &)
 
void uisetFocus ()
 
void uisetFont (const uiFont &)
 
void uisetSensitive (bool yn=true)
 
void uisetTextColor (const Color &)
 
bool uivisible () const
 
- Public Member Functions inherited from uiBody
virtual ~uiBody ()
 
virtual void clear ()
 
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

virtual uiObjectuiObjHandle ()
 
- Protected Member Functions inherited from uiObjectBody
 uiObjectBody (uiParent *, const char *nm)
 
void doDisplay (CallBacker *)
 
virtual void finalise_ ()
 
void loitemDeleted ()
 
virtual const QWidget * managewidg_ () const
 
virtual i_LayoutItemmkLayoutItem_ (i_LayoutMngr &mngr)
 
- Protected Member Functions inherited from uiBody
 uiBody ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

C & handle_
 
- Protected Attributes inherited from uiObjectBody
int hStretch
 
int vStretch
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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

template<class C, class T>
class uiObjBodyImpl< C, T >

Default (Template) implementation of uiObjectBody.

<>

Constructor & Destructor Documentation

◆ uiObjBodyImpl()

template<class C , class T >
uiObjBodyImpl< C, T >::uiObjBodyImpl ( C &  hndle,
uiParent parnt,
const char *  nm 
)
inline

Member Function Documentation

◆ closeEvent()

template<class C , class T >
virtual void uiObjBodyImpl< C, T >::closeEvent ( QCloseEvent *  e)
inlinevirtual

◆ fontChange()

template<class C , class T >
virtual void uiObjBodyImpl< C, T >::fontChange ( const QFont &  oldFont)
inlinevirtual

◆ qwidget_()

template<class C , class T >
virtual const QWidget* uiObjBodyImpl< C, T >::qwidget_ ( ) const
inlinevirtual

Implements uiBody.

◆ setFont()

template<class C , class T >
virtual void uiObjBodyImpl< C, T >::setFont ( const QFont &  )
inlinevirtual

◆ uiObjHandle()

template<class C , class T >
virtual uiObject& uiObjBodyImpl< C, T >::uiObjHandle ( )
inlineprotectedvirtual

Implements uiObjectBody.

Member Data Documentation

◆ handle_

template<class C , class T >
C& uiObjBodyImpl< C, T >::handle_
protected

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