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

Public Member Functions

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
 
virtual uiObjectuiObjHandle ()=0
 
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

 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 ()
 
virtual const QWidget * qwidget_ () const =0
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Protected Attributes

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

Private Member Functions

void getSzHint ()
 
void gtFntWdtHgt () const
 

Private Attributes

bool allowshrnk
 
bool display_
 
bool display_maximized
 
Timerdisplaytimer
 
bool finalised_
 
QFontMetrics * fm
 
int fnt_hgt
 
int fnt_maxwdt
 
int fnt_wdt
 
const uiFontfont_
 
uiObject::SzPolicy hszpol
 
bool is_hidden
 
i_LayoutItemlayoutItem_
 
uiParentBodyparent_
 
float pref_char_height
 
float pref_char_width
 
int pref_height_
 
int pref_height_hint
 
int pref_height_set
 
int pref_width_
 
int pref_width_hint
 
int pref_width_set
 
uiObject::SzPolicy vszpol
 

Friends

class i_uiLayoutItem
 

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

◆ uiObjectBody()

uiObjectBody::uiObjectBody ( uiParent ,
const char *  nm 
)
protected

◆ ~uiObjectBody()

virtual uiObjectBody::~uiObjectBody ( )
virtual

Member Function Documentation

◆ actualSize()

virtual uiSize uiObjectBody::actualSize ( bool  include_border = true) const
virtual

Beware! this is during layout only use uiObject::width() and height() for 'live' objs

◆ attach() [1/2]

void uiObjectBody::attach ( constraintType  t,
uiParent other = 0,
int  m = -1,
bool  r = true 
)
inline

◆ attach() [2/2]

void uiObjectBody::attach ( constraintType  ,
uiObject other = 0,
int  margin = -1,
bool  reciprocal = true 
)

◆ display()

void uiObjectBody::display ( bool  yn,
bool  shrink = false,
bool  maximized = false 
)

◆ doDisplay()

void uiObjectBody::doDisplay ( CallBacker )
protected

◆ finalise()

virtual void uiObjectBody::finalise ( )
virtual

Reimplemented from uiBody.

◆ finalise_()

virtual void uiObjectBody::finalise_ ( )
inlineprotectedvirtual

◆ finalised()

virtual bool uiObjectBody::finalised ( ) const
inlinevirtual

Reimplemented from uiBody.

◆ fontchanged()

virtual void uiObjectBody::fontchanged ( )
virtual

Reimplemented from uiBody.

◆ fontHeight()

int uiObjectBody::fontHeight ( ) const

◆ fontWidth()

int uiObjectBody::fontWidth ( bool  max = false) const

◆ fontWidthFor() [1/2]

int uiObjectBody::fontWidthFor ( const char *  ) const

◆ fontWidthFor() [2/2]

int uiObjectBody::fontWidthFor ( const uiString ) const

◆ getSzHint()

void uiObjectBody::getSzHint ( )
private

◆ gtFntWdtHgt()

void uiObjectBody::gtFntWdtHgt ( ) const
private

◆ isDisplayed()

bool uiObjectBody::isDisplayed ( ) const
inline

◆ isHidden()

bool uiObjectBody::isHidden ( )
inline

◆ itemInited()

bool uiObjectBody::itemInited ( ) const

◆ layoutItem()

const i_LayoutItem* uiObjectBody::layoutItem ( )
inline

◆ loitemDeleted()

void uiObjectBody::loitemDeleted ( )
inlineprotected

◆ managewidg_()

virtual const QWidget* uiObjectBody::managewidg_ ( ) const
inlineprotectedvirtual

◆ minimumSize()

virtual uiSize uiObjectBody::minimumSize ( ) const
inlinevirtual

◆ mkLayoutItem()

i_LayoutItem* uiObjectBody::mkLayoutItem ( i_LayoutMngr )

◆ mkLayoutItem_()

virtual i_LayoutItem* uiObjectBody::mkLayoutItem_ ( i_LayoutMngr mngr)
protectedvirtual

◆ nrTxtLines()

virtual int uiObjectBody::nrTxtLines ( ) const
inlinevirtual

◆ prefHeightInCharSet()

float uiObjectBody::prefHeightInCharSet ( ) const
inline

◆ prefHNrPics()

int uiObjectBody::prefHNrPics ( ) const

◆ prefVNrPics()

int uiObjectBody::prefVNrPics ( ) const

◆ prefWidthInCharSet()

float uiObjectBody::prefWidthInCharSet ( ) const
inline

◆ reDraw()

virtual void uiObjectBody::reDraw ( bool  )
virtual

◆ reParent()

void uiObjectBody::reParent ( uiParentBody pb)
inline

◆ setHSzPol()

void uiObjectBody::setHSzPol ( uiObject::SzPolicy  )

◆ setMaximumHeight()

void uiObjectBody::setMaximumHeight ( int  )

◆ setMaximumWidth()

void uiObjectBody::setMaximumWidth ( int  )

◆ setMinimumHeight()

void uiObjectBody::setMinimumHeight ( int  )

◆ setMinimumWidth()

void uiObjectBody::setMinimumWidth ( int  )

◆ setPrefHeight()

void uiObjectBody::setPrefHeight ( int  )

◆ setPrefHeightInChar()

void uiObjectBody::setPrefHeightInChar ( float  )

◆ setPrefWidth()

void uiObjectBody::setPrefWidth ( int  )

◆ setPrefWidthInChar()

void uiObjectBody::setPrefWidthInChar ( float  )

◆ setShrinkAllowed()

void uiObjectBody::setShrinkAllowed ( bool  yn)
inline

◆ setStretch()

void uiObjectBody::setStretch ( int  ,
int   
)

◆ setToolTip()

void uiObjectBody::setToolTip ( const uiString )

◆ setVSzPol()

void uiObjectBody::setVSzPol ( uiObject::SzPolicy  )

◆ shrinkAllowed()

bool uiObjectBody::shrinkAllowed ( )
inline

◆ stretch()

virtual int uiObjectBody::stretch ( bool  ,
bool  retUndef = false 
) const
virtual

◆ szPol()

uiObject::SzPolicy uiObjectBody::szPol ( bool  hor = true) const
inline

◆ uibackgroundColor()

Color uiObjectBody::uibackgroundColor ( ) const

◆ uiCloseOK()

bool uiObjectBody::uiCloseOK ( )
inline

◆ uifont()

const uiFont* uiObjectBody::uifont ( ) const

◆ uihasFocus()

bool uiObjectBody::uihasFocus ( ) const

◆ uiObjHandle()

virtual uiObject& uiObjectBody::uiObjHandle ( )
pure virtual

Implemented in ui3DViewerBody, and uiObjBodyImpl< C, T >.

◆ uisensitive()

bool uiObjectBody::uisensitive ( ) const

◆ uisetBackgroundColor()

void uiObjectBody::uisetBackgroundColor ( const Color )

◆ uisetBackgroundPixmap()

void uiObjectBody::uisetBackgroundPixmap ( const uiPixmap )

◆ uisetCaption()

void uiObjectBody::uisetCaption ( const uiString )

◆ uisetFocus()

void uiObjectBody::uisetFocus ( )

◆ uisetFont()

void uiObjectBody::uisetFont ( const uiFont )

◆ uisetSensitive()

void uiObjectBody::uisetSensitive ( bool  yn = true)

◆ uisetTextColor()

void uiObjectBody::uisetTextColor ( const Color )

◆ uivisible()

bool uiObjectBody::uivisible ( ) const

Friends And Related Function Documentation

◆ i_uiLayoutItem

friend class i_uiLayoutItem
friend

Member Data Documentation

◆ allowshrnk

bool uiObjectBody::allowshrnk
private

◆ display_

bool uiObjectBody::display_
private

◆ display_maximized

bool uiObjectBody::display_maximized
private

◆ displaytimer

Timer& uiObjectBody::displaytimer
private

◆ finalised_

bool uiObjectBody::finalised_
private

◆ fm

QFontMetrics* uiObjectBody::fm
private

◆ fnt_hgt

int uiObjectBody::fnt_hgt
private

◆ fnt_maxwdt

int uiObjectBody::fnt_maxwdt
private

◆ fnt_wdt

int uiObjectBody::fnt_wdt
private

◆ font_

const uiFont* uiObjectBody::font_
private

◆ hStretch

int uiObjectBody::hStretch
protected

◆ hszpol

uiObject::SzPolicy uiObjectBody::hszpol
private

◆ is_hidden

bool uiObjectBody::is_hidden
private

◆ layoutItem_

i_LayoutItem* uiObjectBody::layoutItem_
private

◆ parent_

uiParentBody* uiObjectBody::parent_
private

◆ pref_char_height

float uiObjectBody::pref_char_height
private

◆ pref_char_width

float uiObjectBody::pref_char_width
private

◆ pref_height_

int uiObjectBody::pref_height_
private

◆ pref_height_hint

int uiObjectBody::pref_height_hint
private

◆ pref_height_set

int uiObjectBody::pref_height_set
private

◆ pref_width_

int uiObjectBody::pref_width_
private

◆ pref_width_hint

int uiObjectBody::pref_width_hint
private

◆ pref_width_set

int uiObjectBody::pref_width_set
private

◆ vStretch

int uiObjectBody::vStretch
protected

◆ vszpol

uiObject::SzPolicy uiObjectBody::vszpol
private

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