OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
uiBodyImpl< C, T > Class Template Reference

Simple delegating implementation of uiBody. More...

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

Public Member Functions

virtual ~uiBodyImpl ()
 
const C & handle ()
 
T * qthing ()
 
const T * qthing () const
 
- 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...
 

Protected Member Functions

 uiBodyImpl (C &hndle, uiParent *parnt, T &qthng)
 
const QWidget * qwidget_ () const override
 
- Protected Member Functions inherited from uiBody
 uiBody ()
 

Protected Attributes

T * qthing_
 

Private Attributes

C & handle_
 

Detailed Description

template<class C, class T>
class uiBodyImpl< C, T >

Simple delegating implementation of uiBody.

Useful when a Qt object is already made, such as a QStatusBar, QMenuBar, etc.

<>

Constructor & Destructor Documentation

◆ ~uiBodyImpl()

template<class C , class T >
virtual uiBodyImpl< C, T >::~uiBodyImpl ( )
inlinevirtual

◆ uiBodyImpl()

template<class C , class T >
uiBodyImpl< C, T >::uiBodyImpl ( C &  hndle,
uiParent parnt,
T &  qthng 
)
inlineprotected

Member Function Documentation

◆ handle()

template<class C , class T >
const C& uiBodyImpl< C, T >::handle ( )
inline

◆ qthing() [1/2]

template<class C , class T >
T* uiBodyImpl< C, T >::qthing ( )
inline

◆ qthing() [2/2]

template<class C , class T >
const T* uiBodyImpl< C, T >::qthing ( ) const
inline

◆ qwidget_()

template<class C , class T >
const QWidget* uiBodyImpl< C, T >::qwidget_ ( ) const
inlineoverrideprotectedvirtual

Implements uiBody.

Member Data Documentation

◆ handle_

template<class C , class T >
C& uiBodyImpl< C, T >::handle_
private

◆ qthing_

template<class C , class T >
T* uiBodyImpl< C, T >::qthing_
protected

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