-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 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.
+// 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
class SalomeApp_Study;
class SVTK_View;
class QColor;
-class Handle_SALOME_InteractiveObject;
-class Handle_AIS_InteractiveContext;
+class SALOME_InteractiveObject;
+class AIS_InteractiveContext;
#include <QList>
~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();
void OnPublishObject() ;
void OnPointMarker();
void OnMaterialProperties();
+ void OnMaterialsLibrary();
+ void OnSetMaterial(const QVariant& );
void OnEdgeWidth();
void OnIsosWidth();
void OnBringToFront();
void OnClsBringToFront();
+ void OnCreateFolder();
+ void OnSortChildren();
+#ifndef DISABLE_GRAPHICSVIEW
+ void OnShowDependencyTree();
+#endif
+ void OnReduceStudy();
// Shortcut commands
void OnChangeTransparency( bool );
// Recursive deletion of object with children
void removeObjectWithChildren( _PTR(SObject),
- _PTR(Study),
QList<SALOME_View*>,
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