X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Tools.h;h=6c903d3fbd7b41d7aeba8ff97694fa2aef27cd87;hb=28c90c232ffe159b88edd156286a398bfa3bb73b;hp=e2a09c54624833ac3bd0d9f17aa25e7aa0fc2222;hpb=cd9217d7e87997ec8bc150a6d8c389e742ca0f84;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Tools.h b/src/ModuleBase/ModuleBase_Tools.h index e2a09c546..6c903d3fb 100644 --- a/src/ModuleBase/ModuleBase_Tools.h +++ b/src/ModuleBase/ModuleBase_Tools.h @@ -7,21 +7,22 @@ #include "ModuleBase.h" -#include -#include +#include +#include class GeomAPI_Shape; namespace ModuleBase_Tools { -/** - * Returns returns a shape if the result has a shape method. Otherwise returns NULL pointer +/* + * Methods to adjust margins and spacings. */ -MODULEBASE_EXPORT boost::shared_ptr shape(ResultPtr theResult); +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