From: nds Date: Thu, 28 Nov 2013 12:59:36 +0000 (+0000) Subject: Profile dialog backgound like it is in OCC viewer. X-Git-Tag: issue_132_11_28~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b4585901a8da1014c61781975dc25fc8a650afa2;p=modules%2Fhydro.git Profile dialog backgound like it is in OCC viewer. --- diff --git a/src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx b/src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx index fd242ac1..08d25bb9 100644 --- a/src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx +++ b/src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx @@ -243,6 +243,11 @@ OCCViewer_ViewWidget::~OCCViewer_ViewWidget() #endif } +OCCViewer_ViewPort3d* OCCViewer_ViewWidget::getViewPort() +{ + return myViewPort; +} + void OCCViewer_ViewWidget::reset() { clearViewer(); diff --git a/src/HYDROCurveCreator/OCCViewer_ViewWidget.h b/src/HYDROCurveCreator/OCCViewer_ViewWidget.h index 1c4efc98..af70a8f4 100644 --- a/src/HYDROCurveCreator/OCCViewer_ViewWidget.h +++ b/src/HYDROCurveCreator/OCCViewer_ViewWidget.h @@ -36,6 +36,8 @@ public: OCCViewer_ViewWidget(QWidget* parent); ~OCCViewer_ViewWidget(); + OCCViewer_ViewPort3d* getViewPort(); + bool eventFilter(QObject* watched, QEvent* e); void reset();