Medical Imaging Interaction Toolkit  2024.06.99-5f7b36e7
Medical Imaging Interaction Toolkit
berry::QtEditorPart Class Referenceabstract

#include <berryQtEditorPart.h>

Inheritance diagram for berry::QtEditorPart:
Collaboration diagram for berry::QtEditorPart:

Public Member Functions

 berryObjectMacro (QtEditorPart, EditorPart)
void CreatePartControl (QWidget *parent) override
- Public Member Functions inherited from berry::EditorPart
 berryObjectMacro (EditorPart, WorkbenchPart, IEditorPart)
void DoSave () override=0
void DoSaveAs () override=0
IEditorInput::Pointer GetEditorInput () const override
IEditorSite::Pointer GetEditorSite () const override
QString GetTitleToolTip () const override
void Init (IEditorSite::Pointer site, IEditorInput::Pointer input) override=0
bool IsDirty () const override=0
bool IsSaveAsAllowed () const override=0
bool IsSaveOnCloseNeeded () const override
- Public Member Functions inherited from berry::WorkbenchPart
 berryObjectMacro (WorkbenchPart, QObject, IWorkbenchPart, IExecutableExtension)
 ~WorkbenchPart () override
void AddPropertyListener (IPropertyChangeListener *l) override
void RemovePropertyListener (IPropertyChangeListener *l) override
void SetPartProperty (const QString &key, const QString &value) override
QString GetPartProperty (const QString &key) const override
const QHash< QString, QString > & GetPartProperties () const override
void SetInitializationData (const IConfigurationElement::Pointer &cfig, const QString &propertyName, const Object::Pointer &data) override
void SetFocus () override=0
IWorkbenchPartSite::Pointer GetSite () const override
QString GetPartName () const override
QString GetContentDescription () const override
QIcon GetTitleImage () const override
QString GetTitleToolTip () const override
- Public Member Functions inherited from berry::IWorkbenchPart
 berryObjectMacro (berry::IWorkbenchPart, Object)
 ~IWorkbenchPart () 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 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
- Public Member Functions inherited from berry::IExecutableExtension
virtual ~IExecutableExtension ()
virtual void SetInitializationData (const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data)=0
- Public Member Functions inherited from berry::IEditorPart
 berryObjectMacro (berry::IEditorPart, IWorkbenchPart, ISaveablePart)
 ~IEditorPart () override
virtual void Init (SmartPointer< IEditorSite > site, SmartPointer< IEditorInput > input)=0
- Public Member Functions inherited from berry::ISaveablePart
 berryObjectMacro (berry::ISaveablePart)

Protected Member Functions

virtual void CreateQtPartControl (QWidget *parent)=0
- Protected Member Functions inherited from berry::EditorPart
 EditorPart ()
virtual void SetInput (IEditorInput::Pointer input)
virtual void SetInputWithNotify (IEditorInput::Pointer input)
void SetContentDescription (const QString &description) override
void SetPartName (const QString &partName) override
void CheckSite (IWorkbenchPartSite::Pointer site) override
- Protected Member Functions inherited from berry::WorkbenchPart
 WorkbenchPart ()
IConfigurationElement::Pointer GetConfigurationElement () const
void SetSite (IWorkbenchPartSite::Pointer site)
virtual void SetTitleImage (const QIcon &titleImage)
virtual void SetTitleToolTip (const QString &toolTip)
void FirePropertyChanged (const QString &key, const QString &oldValue, const QString &newValue)
void FirePropertyChange (int propertyId)
- 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 ()
- Static Public Attributes inherited from berry::ISaveablePart
static const int PROP_DIRTY
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
QMutex m_ReferenceCountLock

Detailed Description

Definition at line 24 of file berryQtEditorPart.h.

Member Function Documentation

◆ berryObjectMacro()

berry::QtEditorPart::berryObjectMacro ( QtEditorPart  ,

◆ CreatePartControl()

void berry::QtEditorPart::CreatePartControl ( QWidget *  parent)

Creates the controls for this workbench part.

Clients should not call this method (the workbench calls this method when it needs to, which may be never).

For implementors this is a multi-step process:

  1. Create one or more controls within the parent.
  2. Set the parent layout as needed.
  3. Register any global actions with the site's IActionBars.
  4. Register any context menus with the site.
  5. Register a selection provider with the site, to make it available to the workbench's ISelectionService (optional).
parentthe parent control

Implements berry::WorkbenchPart.

◆ CreateQtPartControl()

virtual void berry::QtEditorPart::CreateQtPartControl ( QWidget *  parent)
protectedpure virtual

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