Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDataManagerHotkeysPrefPage Struct Reference

#include <QmitkDataManagerHotkeysPrefPage.h>

Inheritance diagram for QmitkDataManagerHotkeysPrefPage:
Collaboration diagram for QmitkDataManagerHotkeysPrefPage:

Public Member Functions

 QmitkDataManagerHotkeysPrefPage ()
 
void Init (berry::IWorkbench::Pointer workbench) override
 
void CreateQtControl (QWidget *parent) override
 
QWidget * GetQtControl () const override
 
virtual bool PerformOk () override
 
virtual void PerformCancel () override
 
virtual void Update () override
 
- Public Member Functions inherited from berry::IQtPreferencePage
 berryObjectMacro (berry::IQtPreferencePage)
 
- Public Member Functions inherited from berry::IPreferencePage
 berryObjectMacro (berry::IPreferencePage)~IPreferencePage()
 
- 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
 

Protected Attributes

berry::IPreferences::WeakPtr m_DataManagerHotkeysPreferencesNode
 
std::map< QString, QmitkHotkeyLineEdit * > m_HotkeyEditors
 
QWidget * m_MainControl
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

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 ()
 
- Protected Member Functions inherited from berry::IQtPreferencePage
void CreateControl (void *parent) override
 
void * GetControl () const override
 
- 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
 

Detailed Description

Definition at line 29 of file QmitkDataManagerHotkeysPrefPage.h.

Constructor & Destructor Documentation

QmitkDataManagerHotkeysPrefPage::QmitkDataManagerHotkeysPrefPage ( )

Definition at line 34 of file QmitkDataManagerHotkeysPrefPage.cpp.

Member Function Documentation

void QmitkDataManagerHotkeysPrefPage::CreateQtControl ( QWidget *  parent)
overridevirtual
QWidget * QmitkDataManagerHotkeysPrefPage::GetQtControl ( ) const
overridevirtual

Implements berry::IQtPreferencePage.

Definition at line 81 of file QmitkDataManagerHotkeysPrefPage.cpp.

References m_MainControl.

void QmitkDataManagerHotkeysPrefPage::Init ( berry::IWorkbench::Pointer  workbench)
overridevirtual

Initializes this preference page for the given workbench.

This method is called automatically as the preference page is being created and initialized. Clients must not call this method.

Parameters
workbenchthe workbench

Implements berry::IPreferencePage.

Definition at line 40 of file QmitkDataManagerHotkeysPrefPage.cpp.

void QmitkDataManagerHotkeysPrefPage::PerformCancel ( )
overridevirtual
See also
IPreferencePage::PerformCancel()

Implements berry::IPreferencePage.

Definition at line 138 of file QmitkDataManagerHotkeysPrefPage.cpp.

bool QmitkDataManagerHotkeysPrefPage::PerformOk ( )
overridevirtual
void QmitkDataManagerHotkeysPrefPage::Update ( )
overridevirtual

Member Data Documentation

berry::IPreferences::WeakPtr QmitkDataManagerHotkeysPrefPage::m_DataManagerHotkeysPreferencesNode
protected

The node from which the properties are taken (will be catched from the preferences service in ctor)

Definition at line 62 of file QmitkDataManagerHotkeysPrefPage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

std::map<QString, QmitkHotkeyLineEdit*> QmitkDataManagerHotkeysPrefPage::m_HotkeyEditors
protected

Maps a label to hotkey lineedit, e.g. "Toggle Visibility of selected nodes" => QmitkHotkeyLineEdit

Definition at line 67 of file QmitkDataManagerHotkeysPrefPage.h.

Referenced by CreateQtControl(), PerformOk(), and Update().

QWidget* QmitkDataManagerHotkeysPrefPage::m_MainControl
protected

Definition at line 69 of file QmitkDataManagerHotkeysPrefPage.h.

Referenced by CreateQtControl(), and GetQtControl().


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