X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ViewerDlg.h;h=a638b06be9e40f3d84f8f6df89c15b81c108b3fd;hb=d6e19029f8b41f295db878e9aecf451c2edda4af;hp=2b8b50be72db053e4ed3b1ffa93c49d5ca906799;hpb=575363a8b27efeb72d97631bcf9644486b14f2dd;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ViewerDlg.h b/src/HYDROGUI/HYDROGUI_ViewerDlg.h index 2b8b50be..a638b06b 100644 --- a/src/HYDROGUI/HYDROGUI_ViewerDlg.h +++ b/src/HYDROGUI/HYDROGUI_ViewerDlg.h @@ -1,12 +1,8 @@ -// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE -// -// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// +// Copyright (C) 2014-2015 EDF-R&D // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -25,10 +21,14 @@ #include "HYDROGUI_InputPanel.h" +#include #include class QLabel; + class SUIT_ViewWindow; +class SUIT_SelectionMgr; + class OCCViewer_Viewer; class OCCViewer_ViewManager; @@ -42,15 +42,15 @@ public: Handle(AIS_InteractiveContext) getAISContext(); - void deleteSelected(); - bool deleteEnabled(); + OCCViewer_Viewer* viewer() const; + OCCViewer_ViewManager* viewManager() const; + SUIT_SelectionMgr* selectionMgr() const; virtual bool event( QEvent* ); + virtual bool eventFilter( QObject*, QEvent* ); protected: - OCCViewer_Viewer* viewer() const; - OCCViewer_ViewManager* viewManager() const; - virtual bool eventFilter( QObject*, QEvent* ); + virtual Handle(AIS_Trihedron) trihedron(); protected slots: void onMouseMove( SUIT_ViewWindow*, QMouseEvent* );