Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryQtItemSelection.h>
Public Member Functions | |
berryObjectMacro (QtItemSelection) | |
QtItemSelection () | |
QtItemSelection (const QItemSelection &sel) | |
QItemSelection | GetQItemSelection () const |
bool | IsEmpty () const override |
Object::Pointer | GetFirstElement () const override |
iterator | Begin () const override |
iterator | End () const override |
int | Size () const override |
ContainerType::Pointer | ToVector () const override |
bool | operator== (const Object *obj) const override |
Public Member Functions inherited from berry::IStructuredSelection | |
virtual | ~IStructuredSelection () |
Public Member Functions inherited from berry::ISelection | |
berryObjectMacro (berry::ISelection)~ISelection() | |
Public Member Functions inherited from berry::Object | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () 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 |
Additional Inherited Members | |
Public Types inherited from berry::IStructuredSelection | |
typedef ObjectList< Object::Pointer > | ContainerType |
typedef ContainerType::const_iterator | iterator |
Public Types inherited from berry::Object | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
Definition at line 29 of file berryQtItemSelection.h.
berry::QtItemSelection::QtItemSelection | ( | ) |
Definition at line 23 of file berryQtItemSelection.cpp.
berry::QtItemSelection::QtItemSelection | ( | const QItemSelection & | sel | ) |
Definition at line 28 of file berryQtItemSelection.cpp.
|
overridevirtual |
Returns the first element in this selection, or null
if the selection is empty.
null
if none Returns an iterator to the beginning of the elements of this selection.Implements berry::IStructuredSelection.
Definition at line 56 of file berryQtItemSelection.cpp.
berry::QtItemSelection::berryObjectMacro | ( | QtItemSelection | ) |
|
overridevirtual |
Returns an iterator to the end of the elements of this selection.
Implements berry::IStructuredSelection.
Definition at line 61 of file berryQtItemSelection.cpp.
|
override |
Definition at line 49 of file berryQtItemSelection.cpp.
QItemSelection berry::QtItemSelection::GetQItemSelection | ( | ) | const |
Definition at line 39 of file berryQtItemSelection.cpp.
|
overridevirtual |
Returns whether this selection is empty.
true
if this selection is empty, and false
otherwise Implements berry::ISelection.
Definition at line 44 of file berryQtItemSelection.cpp.
|
overridevirtual |
A generic comparison method. Override this method in subclasses and cast to your derived class to provide a more detailed comparison.
Reimplemented from berry::Object.
Definition at line 76 of file berryQtItemSelection.cpp.
|
overridevirtual |
Returns the number of elements selected in this selection.
Implements berry::IStructuredSelection.
Definition at line 66 of file berryQtItemSelection.cpp.
|
overridevirtual |
Returns the elements in this selection as a vector.
Implements berry::IStructuredSelection.
Definition at line 71 of file berryQtItemSelection.cpp.