X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_CreatePolyhedralVolumeDlg.h;h=e0fe05b0185c24ec099db350231db20e33403ac6;hb=35012b0a3d7a04ff4af9f1622340a814b3f1300b;hp=44dd3ab5de905b97d3909f6f2e47512901c68aa8;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6;p=modules%2Fsmesh.git diff --git a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h index 44dd3ab5d..e0fe05b01 100644 --- a/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h +++ b/src/SMESHGUI/SMESHGUI_CreatePolyhedralVolumeDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 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 @@ -6,7 +6,7 @@ // 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 @@ -72,16 +72,14 @@ private: typedef QList GrpList; void Init(); - void closeEvent( QCloseEvent* ); void enterEvent( QEvent* ); /* mouse enter the QWidget */ - void hideEvent( QHideEvent* ); /* ESC key */ void keyPressEvent( QKeyEvent* ); int GetConstructorId(); void displaySimulation(); bool isValid(); - int checkEditLine( bool = true ); /*! Checking for indices, return 1 if all ok, esle -1*/ + int checkEditLine( bool = true ); /*! Checking for indices, return 1 if all ok, else -1*/ SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */ LightApp_SelectionMgr* mySelectionMgr; /* User shape selection */ @@ -125,11 +123,13 @@ public slots: void onAdd(); void onRemove(); +protected slots: + virtual void reject(); + private slots: void ConstructorsClicked( int ); void ClickOnPreview( bool ); void ClickOnOk(); - void ClickOnCancel(); void ClickOnApply(); void ClickOnHelp(); void SetEditCurrentArgument(); @@ -138,6 +138,8 @@ private slots: void ActivateThisDialog(); void onTextChange( const QString& ); void onListSelectionChanged(); + void onOpenView(); + void onCloseView(); }; #endif // SMESHGUI_CREATEPOLYHEDRALVOLUMEDLG_H