OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
i_uiLayoutItem Class Reference
Inheritance diagram for i_uiLayoutItem:
[legend]

Public Member Functions

 i_uiLayoutItem (i_LayoutMngr &mgr, uiObjectBody &obj)
 
virtual ~i_uiLayoutItem ()
 
uiObjectBodybodyLayouted () override
 
uiSize minimumSize () const override
 
uiObjectobjLayouted () override
 
- Public Member Functions inherited from i_LayoutItem
 i_LayoutItem (i_LayoutMngr &, QLayoutItem &)
 
virtual ~i_LayoutItem ()
 
uiSize actualSize (bool include_border=true) const
 live objs: use uiObject::width() etc More...
 
virtual int center (LayoutMode, bool hor=true) const
 
uiRectcurpos (LayoutMode m)
 
const uiRectcurpos (LayoutMode m) const
 
virtual int horAlign (LayoutMode m) const
 
virtual void initChildLayout (LayoutMode)
 
bool inited () const
 
virtual void invalidate ()
 
const i_LayoutMngrmngr () const
 
uiSize prefSize () const
 
virtual void updatedAlignment (LayoutMode)
 
- Public Member Functions inherited from uiBody
virtual ~uiBody ()
 
virtual void clear ()
 
virtual void finalize ()
 
virtual bool finalized () const
 
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 Attributes

uiObjectBodyuiobjbody_
 
- Protected Attributes inherited from i_LayoutItem
uiRect layoutpos_ [nLayoutMode]
 
bool minimum_pos_inited_ = false
 
bool preferred_pos_inited_ = false
 
- 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 ()
 
- Protected Member Functions inherited from i_LayoutItem
void attach (constraintType, i_LayoutItem *other, int margin, bool reciprocal=true)
 
const uiObjectBodybodyLayouted () const
 
virtual void commitGeometrySet (bool)
 
void initLayout (LayoutMode, int mngrtop, int mngrleft)
 
bool isAligned () const
 
bool layout (LayoutMode, int, bool)
 
virtual const QWidget * managewidg_ () const
 
i_LayoutMngrmngr ()
 
const uiObjectobjLayouted () const
 
QLayoutItem & qlayoutItm ()
 
const QLayoutItem & qlayoutItm () const
 
const QWidget * qwidget_ () const override
 
int stretch (bool hor) const
 
QLayoutItem * takeQlayoutItm ()
 
- Protected Member Functions inherited from uiBody
 uiBody ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Detailed Description

Wrapper around QLayoutItems that have been wrapped by a i_QObjWrp wrapper and therefore have a reference to a uiObject.

<>

Constructor & Destructor Documentation

◆ i_uiLayoutItem()

i_uiLayoutItem::i_uiLayoutItem ( i_LayoutMngr mgr,
uiObjectBody obj 
)
inline

◆ ~i_uiLayoutItem()

virtual i_uiLayoutItem::~i_uiLayoutItem ( )
virtual

Member Function Documentation

◆ bodyLayouted()

uiObjectBody* i_uiLayoutItem::bodyLayouted ( )
inlineoverridevirtual

Reimplemented from i_LayoutItem.

◆ minimumSize()

uiSize i_uiLayoutItem::minimumSize ( ) const
overridevirtual

Reimplemented from i_LayoutItem.

◆ objLayouted()

uiObject* i_uiLayoutItem::objLayouted ( )
inlineoverridevirtual

Reimplemented from i_LayoutItem.

Member Data Documentation

◆ uiobjbody_

uiObjectBody& i_uiLayoutItem::uiobjbody_
protected

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