emit contextMenuRequested( anEvent );
delete anEvent;
}
+
+/*!
+ \brief Handle show event.
+
+ Emits Show() signal.
+
+ \param theEvent show event
+*/
+void GraphicsView_ViewFrame::showEvent( QShowEvent* theEvent )
+{
+ emit Show( theEvent );
+}
+
+/*!
+ \brief Handle hide event.
+
+ Emits Hide() signal.
+
+ \param theEvent hide event
+*/
+void GraphicsView_ViewFrame::hideEvent( QHideEvent* theEvent )
+{
+ emit Hide( theEvent );
+}
GraphicsView_ViewFrame( SUIT_Desktop*, GraphicsView_Viewer*, QWidget* w = NULL );
~GraphicsView_ViewFrame();
-public:
GraphicsView_Viewer* getViewer() const { return myViewer; }
GraphicsView_ViewPort* getViewPort() const { return myViewPort; }
virtual void expandToolBarActions();
int getToolBarId();
+public slots:
+ virtual void showEvent( QShowEvent* );
+ virtual void hideEvent( QHideEvent* );
+
protected slots:
void onViewPan();
void onViewZoom();
void sketchingFinished( QPainterPath );
+ void Show( QShowEvent* );
+ void Hide( QHideEvent* );
+
protected:
virtual void createActions();
virtual int createToolBar();