47 #ifndef _MIRA_EDITORPART_H_ 48 #define _MIRA_EDITORPART_H_ 50 #include <QtGui/QImage> specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
An editor is typically used to edit or browse data or objects.
Definition: EditorPart.h:69
A workbench part is a component within the workbench.
Definition: WorkbenchPart.h:117
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Use this MACRO instead of MIRA_OBJECT to declare the class as abstract.
Definition: FactoryMacros.h:235
Contains the base interface of all Reflectors, Serializers, etc.
Definition: EditorPartWindow.h:61
virtual QWidget * createPartControl()=0
Must be overloaded in subclasses to create the actual widget for this EditorPart. ...
IWorkbenchPartSite * getSite()
QMenu * getViewMenu()
Returns the optional editor menu that is shown when the user clicks the editor menu tool button...
virtual void closeEvent(QCloseEvent *)
The primary interface between a workbench part and the workbench.
Definition: WorkbenchPart.h:67
void editorClosed(EditorPart *editor)
virtual void init(IWorkbenchPartSite *site)
Is called by the workbench.
virtual QImage captureContent()
Returns the content of the editor part as QImage.
void editorDestroyed(EditorPart *editor)
Declaration of WorkbenchPart and related interfaces.
Declaration of the EditorPartWindow.