Salome HOME
Fixed problem with too many executions of extrusion wit hexternal sketch edges
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
index 3a2dbacfffacbc88b11387e7bffbb6d3183d5ff9..6c903d3fbd7b41d7aeba8ff97694fa2aef27cd87 100644 (file)
@@ -2,27 +2,27 @@
 // Created:     11 July 2014
 // Author:      Vitaly Smetannikov
 
-
 #ifndef ModuleBase_Tools_H
 #define ModuleBase_Tools_H
 
 #include "ModuleBase.h"
 
-#include <ModelAPI_Result.h>
-#include <ModelAPI_Feature.h>
+#include <QWidget>
+#include <QLayout>
 
 class GeomAPI_Shape;
 
-namespace ModuleBase_Tools 
-{
+namespace ModuleBase_Tools {
 
-  /**
-  * Returns returns a shape if the result has a shape method. Otherwise returns NULL pointer
-  */
-  MODULEBASE_EXPORT boost::shared_ptr<GeomAPI_Shape> shape(ResultPtr theResult);
+/*
+ * Methods to adjust margins and spacings.
+ */
+MODULEBASE_EXPORT void adjustMargins(QWidget* theWidget);
+MODULEBASE_EXPORT void adjustMargins(QLayout* theLayout);
 
-  MODULEBASE_EXPORT FeaturePtr feature(ObjectPtr theObject);
+MODULEBASE_EXPORT void zeroMargins(QWidget* theWidget);
+MODULEBASE_EXPORT void zeroMargins(QLayout* theLayout);
 
-};
+}
 
-#endif
\ No newline at end of file
+#endif