Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berry::GuiTk::ControlMovedAdapter< R > Struct Template Reference

#include <berryGuiTkIControlListener.h>

Inheritance diagram for berry::GuiTk::ControlMovedAdapter< R >:
Collaboration diagram for berry::GuiTk::ControlMovedAdapter< 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

 ControlMovedAdapter (R *l, Callback c)
 
Events::Types GetEventTypes () const override
 
void ControlMoved (ControlEvent::Pointer e) override
 
- Public Member Functions inherited from berry::GuiTk::IControlListener
 berryObjectMacro (berry::GuiTk::IControlListener)
 
 ~IControlListener () override
 
virtual void ControlResized (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::ControlMovedAdapter< R >

Definition at line 107 of file berryGuiTkIControlListener.h.

Member Typedef Documentation

◆ Callback

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

Definition at line 111 of file berryGuiTkIControlListener.h.

◆ Listener

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

Definition at line 109 of file berryGuiTkIControlListener.h.

Constructor & Destructor Documentation

◆ ControlMovedAdapter()

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

Definition at line 113 of file berryGuiTkIControlListener.h.

Member Function Documentation

◆ ControlMoved()

template<typename R >
void berry::GuiTk::ControlMovedAdapter< R >::ControlMoved ( ControlEvent::Pointer  )
inlineoverridevirtual

Sent when the location (x, y) of a control changes relative to its parent (or relative to the display, for Shells).

Reimplemented from berry::GuiTk::IControlListener.

Definition at line 125 of file berryGuiTkIControlListener.h.

◆ GetEventTypes()

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

Implements berry::GuiTk::IControlListener.

Definition at line 120 of file berryGuiTkIControlListener.h.


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