Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::GuiTk::SelectionEvent Class Reference

#include <berryGuiTkSelectionEvent.h>

Inheritance diagram for berry::GuiTk::SelectionEvent:
Collaboration diagram for berry::GuiTk::SelectionEvent:

Public Member Functions

 berryObjectMacro (SelectionEvent)
 
 SelectionEvent (QWidget *item)
 
- Public Member Functions inherited from berry::GuiTk::Event
 berryObjectMacro (Event)
 
 Event ()
 
QString ToString () const override
 
- 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 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

- 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
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Public Attributes inherited from berry::GuiTk::Event
QWidget * item
 
int detail
 
int x
 
int y
 
int width
 
int height
 
int button
 
char character
 
int keyCode
 
int stateMask
 
QString text
 
bool doit
 
- 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

Instances of this class are sent as a result of widgets being selected.

See also
ISelectionListener

Definition at line 31 of file berryGuiTkSelectionEvent.h.

Constructor & Destructor Documentation

◆ SelectionEvent()

berry::GuiTk::SelectionEvent::SelectionEvent ( QWidget *  item)

Constructs a new instance of this class based on the information in the given untyped event.

Parameters
itemthe GUI dependent widget which has been selected

Member Function Documentation

◆ berryObjectMacro()

berry::GuiTk::SelectionEvent::berryObjectMacro ( SelectionEvent  )

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