FactDev  0.1
windowsettings.h
1 #ifndef WINDOWSETTINGS_H
2 #define WINDOWSETTINGS_H
3 #include <QDesktopWidget>
4 
5 namespace Gui {
6 namespace Utils {
12 {
13 public:
19  static void setMaximumSize(QWidget &w);
20 
26  static void setPositionToCenter(QWidget &w);
27 };
28 
29 }
30 }
31 #endif // WINDOWSETTINGS_H
The WindowSettings class Utils function on windows.
Definition: windowsettings.h:11
static void setMaximumSize(QWidget &w)
WindowSettings::setMaximumSize Adapt the resolution of the window w to take all screen.
Definition: windowsettings.cpp:6
static void setPositionToCenter(QWidget &w)
WindowSettings::setPositionToCenter Place the current window w to the center of the screen...
Definition: windowsettings.cpp:12