47 #ifndef _MIRA_VIEWPART_H_ 48 #define _MIRA_VIEWPART_H_ 52 #include <QDockWidget> 61 class ViewPartTitleBar;
84 virtual void activate();
85 virtual void deactivate();
95 virtual Qt::DockWidgetArea getDefaultDockArea()
const;
100 bool isVisible()
const;
105 Qt::DockWidgetArea getDockArea()
const;
114 virtual QWidget* createPartControl() = 0;
116 virtual void focusInEvent(QFocusEvent*);
117 virtual void closeEvent(QCloseEvent*);
125 QMenu* getViewMenu();
130 void paintEvent(QPaintEvent *event);
138 void minimizedRequested(
ViewPart* view);
140 void currentDockLocationChanged(Qt::DockWidgetArea area);
144 virtual void onVisibilityChanged(
bool visible);
145 void onMinimizeRequested();
146 void onDockLocationChanged(Qt::DockWidgetArea area);
147 void onTopLevelChanged(
bool topLevel);
156 Qt::DockWidgetArea mArea;
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
A workbench part is a component within the workbench.
Definition: WorkbenchPart.h:118
ViewPartTitleBar * mTitleBar
Definition: ViewPart.h:151
#define MIRA_ABSTRACT_OBJECT(classIdentifier)
Use this MACRO instead of MIRA_OBJECT to declare the class as abstract.
Definition: FactoryMacros.h:235
A view is typically used to display information or properties.
Definition: ViewPart.h:69
The primary interface between a workbench part and the workbench.
Definition: WorkbenchPart.h:68
#define MIRA_GUI_RCP_EXPORT
Definition: GuiRCPExports.h:61
Definition: ViewPartTitleBar.h:60
Declaration of WorkbenchPart and related interfaces.