// Created: 11 July 2014
// Author: Vitaly Smetannikov
-
#ifndef ModuleBase_Tools_H
#define ModuleBase_Tools_H
#include "ModuleBase.h"
-#include <ModelAPI_Result.h>
+#include <QWidget>
+#include <QLayout>
class GeomAPI_Shape;
-namespace ModuleBase_Tools
-{
+namespace ModuleBase_Tools {
+
+/*
+ * Methods to adjust margins and spacings.
+ */
+MODULEBASE_EXPORT void adjustMargins(QWidget* theWidget);
+MODULEBASE_EXPORT void adjustMargins(QLayout* theLayout);
- /**
- * 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);
+MODULEBASE_EXPORT void zeroMargins(QWidget* theWidget);
+MODULEBASE_EXPORT void zeroMargins(QLayout* theLayout);
-};
+}
-#endif
\ No newline at end of file
+#endif