X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGEOMToolsGUI%2FGEOMToolsGUI.h;h=581d10f7bc612b64d00eb655663ee6b1cec4851b;hb=58803ba33ee53a5944d565373782e5f0868c5461;hp=8b6c32c78f1f8f3aa9e2270bf2675c1f3f6d4b89;hpb=8180539548a5038e52445454e88c1a170ee64e56;p=modules%2Fgeom.git diff --git a/src/GEOMToolsGUI/GEOMToolsGUI.h b/src/GEOMToolsGUI/GEOMToolsGUI.h index 8b6c32c78..581d10f7b 100644 --- a/src/GEOMToolsGUI/GEOMToolsGUI.h +++ b/src/GEOMToolsGUI/GEOMToolsGUI.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2015 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 @@ -54,16 +54,13 @@ public: ~GEOMToolsGUI(); bool OnGUIEvent( int, SUIT_Desktop* ); + bool OnGUIEvent( int theCommandID, SUIT_Desktop*, const QVariant& ); + virtual void deactivate(); enum ActionType { SHOWDLG, INCR, DECR }; - static void SetColor( const QString&, const QColor&, bool ); - private: - // Import and export topology methods - bool Import(); - bool Export(); void OnEditDelete(); void OnCheckGeometry(); @@ -82,10 +79,16 @@ private: void OnPublishObject() ; void OnPointMarker(); void OnMaterialProperties(); + void OnMaterialsLibrary(); + void OnSetMaterial(const QVariant& ); void OnEdgeWidth(); void OnIsosWidth(); void OnBringToFront(); void OnClsBringToFront(); + void OnCreateFolder(); + void OnSortChildren(); + void OnShowDependencyTree(); + void OnReduceStudy(); // Shortcut commands void OnChangeTransparency( bool ); @@ -95,18 +98,6 @@ private: _PTR(Study), QList, GEOM_Displayer* ); - - static void setVtkColor( SalomeApp_Study* study, - int mgrId, - SVTK_View* view, - const Handle_SALOME_InteractiveObject& IO, - const QColor& color ); - - static void setOccColor( SalomeApp_Study* study, - int mgrId, - const Handle_AIS_InteractiveContext& ic, - const Handle_SALOME_InteractiveObject& IO, - const QColor& color ); }; #endif // GEOMTOOLSGUI_H