Salome HOME
Within Issue #143 highlight active inputs
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.h
1 // File:        ModuleBase_Tools.h
2 // Created:     11 July 2014
3 // Author:      Vitaly Smetannikov
4
5 #ifndef ModuleBase_Tools_H
6 #define ModuleBase_Tools_H
7
8 #include "ModuleBase.h"
9
10 #include <QWidget>
11 #include <QLayout>
12
13 class GeomAPI_Shape;
14
15 namespace ModuleBase_Tools {
16
17 /*
18  * Methods to adjust margins and spacings.
19  */
20 MODULEBASE_EXPORT void adjustMargins(QWidget* theWidget);
21 MODULEBASE_EXPORT void adjustMargins(QLayout* theLayout);
22
23 MODULEBASE_EXPORT void zeroMargins(QWidget* theWidget);
24 MODULEBASE_EXPORT void zeroMargins(QLayout* theLayout);
25
26 }
27
28 #endif