Medical Imaging Interaction Toolkit  2016.11.0
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 35 of file berryGuiTkSelectionEvent.h.

Constructor & Destructor Documentation

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

Definition at line 27 of file berryGuiTkSelectionEvent.cpp.

References berry::GuiTk::Event::item.

Member Function Documentation

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

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