OpendTect  6.6
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 ()
 
virtual uiObjectBodybodyLayouted ()
 
virtual uiSize minimumSize () const
 
virtual uiObjectobjLayouted ()
 
- 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 finalise ()
 
virtual bool finalised () 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
 
- 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 Attributes

uiObjectBodyuiobjbody_
 
- Protected Attributes inherited from i_LayoutItem
uiRect layoutpos_ [nLayoutMode]
 
bool minimum_pos_inited_
 
bool preferred_pos_inited_
 
- 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
 
virtual const QWidget * qwidget_ () const
 
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()

virtual uiObjectBody* i_uiLayoutItem::bodyLayouted ( )
inlinevirtual

Reimplemented from i_LayoutItem.

◆ minimumSize()

virtual uiSize i_uiLayoutItem::minimumSize ( ) const
virtual

Reimplemented from i_LayoutItem.

◆ objLayouted()

virtual uiObject* i_uiLayoutItem::objLayouted ( )
inlinevirtual

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-2022