]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Profile dialog backgound like it is in OCC viewer.
authornds <nds@opencascade.com>
Thu, 28 Nov 2013 12:59:36 +0000 (12:59 +0000)
committernds <nds@opencascade.com>
Thu, 28 Nov 2013 12:59:36 +0000 (12:59 +0000)
src/HYDROCurveCreator/OCCViewer_ViewWidget.cxx
src/HYDROCurveCreator/OCCViewer_ViewWidget.h

index fd242ac1f64cb7ccbaf49398ae06a7c8576b0cff..08d25bb91ff25f93ee1007018c1d0f195cae2647 100644 (file)
@@ -243,6 +243,11 @@ OCCViewer_ViewWidget::~OCCViewer_ViewWidget()
   #endif
 }
 
+OCCViewer_ViewPort3d* OCCViewer_ViewWidget::getViewPort()
+{
+  return myViewPort;
+}
+
 void OCCViewer_ViewWidget::reset()
 {
   clearViewer();
index 1c4efc983cf0ac7790e38cb3c75d79317e190821..af70a8f432f41efe556cde2c95880cba8b95fad1 100644 (file)
@@ -36,6 +36,8 @@ public:
   OCCViewer_ViewWidget(QWidget* parent);
   ~OCCViewer_ViewWidget();
 
+  OCCViewer_ViewPort3d* getViewPort();
+
   bool      eventFilter(QObject* watched, QEvent* e);
 
   void      reset();