OpendTect
7.0
|
Public Member Functions | |
virtual | ~uiObjectBody () |
virtual uiSize | actualSize (bool include_border=true) const |
void | attach (constraintType, uiObject *other=nullptr, int margin=-1, bool reciprocal=true) |
void | attach (constraintType, uiParent *other=nullptr, int margin=-1, bool reciprocal=true) |
void | display (bool yn, bool shrink=false, bool maximized=false) |
void | finalize () override |
bool | finalized () const override |
void | fontchanged () override |
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_LayoutItem * | layoutItem () const |
virtual uiSize | minimumSize () const |
i_LayoutItem * | mkLayoutItem (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 | setCaption (const uiString &) |
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 |
OD::Color | uibackgroundColor () const |
bool | uiCloseOK () |
const uiFont * | uifont () const |
bool | uihasFocus () const |
virtual uiObject & | uiObjHandle ()=0 |
bool | uisensitive () const |
void | uisetBackgroundColor (const OD::Color &) |
void | uisetBackgroundPixmap (const uiPixmap &) |
void | uisetCaption (const uiString &capt) |
void | uisetFocus () |
void | uisetFont (const uiFont &) |
void | uisetSensitive (bool yn=true) |
void | uisetTextColor (const OD::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 |
virtual CallBacker * | trueCaller () |
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_type & | name () const override |
NamedObject & | operator= (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 | finalize_ () |
void | loitemDeleted () |
virtual const QWidget * | managewidg_ () const |
virtual i_LayoutItem * | mkLayoutItem_ (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_ = mUdf(int) |
int | vstretch_ = mUdf(int) |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Private Member Functions | |
void | getSzHint () |
void | gtFntWdtHgt () const |
void | itemDelCB (CallBacker *) |
Private Attributes | |
bool | allowshrnk_ = false |
bool | display_ = true |
bool | display_maximized_ = false |
Timer * | displaytimer_ = nullptr |
bool | finalized_ = false |
int | fnt_hgt_ = 0 |
int | fnt_maxwdt_ = 0 |
int | fnt_wdt_ = 0 |
const uiFont * | font_ = nullptr |
uiObject::SzPolicy | hszpol_ = uiObject::Undef |
bool | is_hidden_ = false |
i_LayoutItem * | layoutitem_ = nullptr |
uiParentBody * | parent_ |
float | pref_char_height_ = -1.f |
float | pref_char_width_ = -1.f |
int | pref_height_ = 0 |
int | pref_height_hint_ = 0 |
int | pref_height_set_ = -1 |
int | pref_width_ = 0 |
int | pref_width_hint_ = 0 |
int | pref_width_set_ = -1 |
uiObject::SzPolicy | vszpol_ = uiObject::Undef |
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 () |
<>
|
protected |
|
virtual |
|
virtual |
Beware! this is during layout only use uiObject::width() and height() for 'live' objs
void uiObjectBody::attach | ( | constraintType | , |
uiObject * | other = nullptr , |
||
int | margin = -1 , |
||
bool | reciprocal = true |
||
) |
void uiObjectBody::attach | ( | constraintType | , |
uiParent * | other = nullptr , |
||
int | margin = -1 , |
||
bool | reciprocal = true |
||
) |
void uiObjectBody::display | ( | bool | yn, |
bool | shrink = false , |
||
bool | maximized = false |
||
) |
|
protected |
|
overridevirtual |
Reimplemented from uiBody.
|
inlineprotectedvirtual |
|
inlineoverridevirtual |
Reimplemented from uiBody.
|
overridevirtual |
Reimplemented from uiBody.
int uiObjectBody::fontHeight | ( | ) | const |
int uiObjectBody::fontWidth | ( | bool | max = false | ) | const |
int uiObjectBody::fontWidthFor | ( | const char * | ) | const |
int uiObjectBody::fontWidthFor | ( | const uiString & | ) | const |
|
private |
|
private |
|
inline |
|
inline |
|
private |
bool uiObjectBody::itemInited | ( | ) | const |
|
inline |
|
inlineprotected |
|
inlineprotectedvirtual |
|
inlinevirtual |
i_LayoutItem* uiObjectBody::mkLayoutItem | ( | i_LayoutMngr & | ) |
|
protectedvirtual |
|
inlinevirtual |
float uiObjectBody::prefHeightInCharSet | ( | ) | const |
int uiObjectBody::prefHNrPics | ( | ) | const |
int uiObjectBody::prefVNrPics | ( | ) | const |
float uiObjectBody::prefWidthInCharSet | ( | ) | const |
|
virtual |
|
inline |
void uiObjectBody::setCaption | ( | const uiString & | ) |
void uiObjectBody::setHSzPol | ( | uiObject::SzPolicy | ) |
void uiObjectBody::setMaximumHeight | ( | int | ) |
void uiObjectBody::setMaximumWidth | ( | int | ) |
void uiObjectBody::setMinimumHeight | ( | int | ) |
void uiObjectBody::setMinimumWidth | ( | int | ) |
void uiObjectBody::setPrefHeight | ( | int | ) |
void uiObjectBody::setPrefHeightInChar | ( | float | ) |
void uiObjectBody::setPrefWidth | ( | int | ) |
void uiObjectBody::setPrefWidthInChar | ( | float | ) |
|
inline |
void uiObjectBody::setStretch | ( | int | , |
int | |||
) |
void uiObjectBody::setToolTip | ( | const uiString & | ) |
void uiObjectBody::setVSzPol | ( | uiObject::SzPolicy | ) |
|
inline |
|
virtual |
|
inline |
OD::Color uiObjectBody::uibackgroundColor | ( | ) | const |
|
inline |
const uiFont* uiObjectBody::uifont | ( | ) | const |
bool uiObjectBody::uihasFocus | ( | ) | const |
|
pure virtual |
Implemented in OD3DViewer, ui3DViewerBody, and uiObjBodyImpl< C, T >.
bool uiObjectBody::uisensitive | ( | ) | const |
void uiObjectBody::uisetBackgroundColor | ( | const OD::Color & | ) |
void uiObjectBody::uisetBackgroundPixmap | ( | const uiPixmap & | ) |
|
inline |
void uiObjectBody::uisetFocus | ( | ) |
void uiObjectBody::uisetFont | ( | const uiFont & | ) |
void uiObjectBody::uisetSensitive | ( | bool | yn = true | ) |
void uiObjectBody::uisetTextColor | ( | const OD::Color & | ) |
bool uiObjectBody::uivisible | ( | ) | const |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024