X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOCCViewer%2FOCCViewer_ViewSketcher.h;h=261f8d54f86c3ca6fe48654b808d843564066fad;hb=f52f29e2784cc9ab3e4d7910354edaa4fa75a6db;hp=b33b0690d10afc457f590471dd4d6dfc401dca9f;hpb=1c889394b028b786898a995d38c07c8f3d564837;p=modules%2Fgui.git diff --git a/src/OCCViewer/OCCViewer_ViewSketcher.h b/src/OCCViewer/OCCViewer_ViewSketcher.h index b33b0690d..261f8d54f 100755 --- a/src/OCCViewer/OCCViewer_ViewSketcher.h +++ b/src/OCCViewer/OCCViewer_ViewSketcher.h @@ -1,24 +1,22 @@ -// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +// 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 +// 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. // -// 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. +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + #ifndef OCCVIEWER_VIEWSKETCHER_H #define OCCVIEWER_VIEWSKETCHER_H @@ -36,7 +34,7 @@ class QPolygon; class QtxRectRubberBand; class QtxPolyRubberBand; -#ifdef WNT +#ifdef WIN32 #pragma warning ( disable:4251 ) #endif @@ -59,6 +57,7 @@ public: int type() const; int result() const; int buttonState() const; + bool isHasShift() const; void* data() const; void activate(); @@ -90,6 +89,7 @@ protected: QCursor mySavedCursor; QPoint myStart, myCurr; int myButtonState; + bool myHasShift; }; /*! @@ -144,7 +144,7 @@ private: QtxPolyRubberBand* mypPolyRB; }; -#ifdef WNT +#ifdef WIN32 #pragma warning( default:4251 ) #endif