Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IQtPreferencePage Struct Referenceabstract

#include <berryIQtPreferencePage.h>

Inheritance diagram for berry::IQtPreferencePage:
Collaboration diagram for berry::IQtPreferencePage:

Public Member Functions

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

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
 

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 Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Definition at line 40 of file berryIQtPreferencePage.h.

Member Function Documentation

berry::IQtPreferencePage::berryObjectMacro ( berry::IQtPreferencePage  )
void berry::IQtPreferencePage::CreateControl ( void *  parent)
overrideprotectedvirtual

Creates the top level control for this preference page under the given parent widget.

Implementors are responsible for ensuring that the created control can be accessed via GetControl

Parameters
parentthe parent widget

Implements berry::IPreferencePage.

Definition at line 21 of file berryIQtPreferencePage.cpp.

References CreateQtControl().

virtual void berry::IQtPreferencePage::CreateQtControl ( QWidget *  parent)
pure virtual
void * berry::IQtPreferencePage::GetControl ( ) const
overrideprotectedvirtual

Returns the top level control for this dialog page.

May return null if the control has not been created yet.

Returns
the top level control or null

Implements berry::IPreferencePage.

Definition at line 26 of file berryIQtPreferencePage.cpp.

References GetQtControl().

virtual QWidget* berry::IQtPreferencePage::GetQtControl ( ) const
pure virtual

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