Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::GuiTk::ControlResizedAdapter< R > Struct Template Reference

#include <berryGuiTkIControlListener.h>

Inheritance diagram for berry::GuiTk::ControlResizedAdapter< R >:
Collaboration diagram for berry::GuiTk::ControlResizedAdapter< R >:

Public Types

typedef R Listener
 
typedef void(R::* Callback) (ControlEvent::Pointer)
 
- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 

Public Member Functions

 ControlResizedAdapter (R *l, Callback c)
 
Events::Types GetEventTypes () const override
 
void ControlResized (ControlEvent::Pointer e) override
 
- Public Member Functions inherited from berry::GuiTk::IControlListener
 berryObjectMacro (berry::GuiTk::IControlListener)
 
 ~IControlListener () override
 
virtual void ControlMoved (ControlEvent::Pointer)
 
virtual void ControlActivated (ControlEvent::Pointer)
 
virtual void ControlDestroyed (ControlEvent::Pointer)
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Additional Inherited Members

- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

template<typename R>
struct berry::GuiTk::ControlResizedAdapter< R >

Definition at line 137 of file berryGuiTkIControlListener.h.

Member Typedef Documentation

◆ Callback

template<typename R >
typedef void(R::* berry::GuiTk::ControlResizedAdapter< R >::Callback) (ControlEvent::Pointer)

Definition at line 141 of file berryGuiTkIControlListener.h.

◆ Listener

template<typename R >
typedef R berry::GuiTk::ControlResizedAdapter< R >::Listener

Definition at line 139 of file berryGuiTkIControlListener.h.

Constructor & Destructor Documentation

◆ ControlResizedAdapter()

template<typename R >
berry::GuiTk::ControlResizedAdapter< R >::ControlResizedAdapter ( R *  l,
Callback  c 
)
inline

Definition at line 143 of file berryGuiTkIControlListener.h.

Member Function Documentation

◆ ControlResized()

template<typename R >
void berry::GuiTk::ControlResizedAdapter< R >::ControlResized ( ControlEvent::Pointer  )
inlineoverridevirtual

Sent when the size (width, height) of a control changes.

Reimplemented from berry::GuiTk::IControlListener.

Definition at line 155 of file berryGuiTkIControlListener.h.

◆ GetEventTypes()

template<typename R >
Events::Types berry::GuiTk::ControlResizedAdapter< R >::GetEventTypes ( ) const
inlineoverridevirtual

Implements berry::GuiTk::IControlListener.

Definition at line 150 of file berryGuiTkIControlListener.h.


The documentation for this struct was generated from the following file: