TSP Solver and Generator
qtwin.h
Go to the documentation of this file.
1 
10 #ifndef QTWIN_H
11 #define QTWIN_H
12 
13 #include <QColor>
14 #include <QWidget>
15 
16 class WindowNotifier;
17 
23 class QtWin
24 {
25 public:
26  static bool enableBlurBehindWindow(QWidget *widget, bool enable = true);
27  static bool extendFrameIntoClientArea(QWidget *widget,
28  int left = -1, int top = -1,
29  int right = -1, int bottom = -1);
30  static bool isCompositionEnabled();
31  static QColor colorizatinColor();
32 
33 private:
34  static WindowNotifier *windowNotifier();
35 };
36 
37 #endif // QTWIN_H
This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vi...
Definition: qtwin.h:23
static bool extendFrameIntoClientArea(QWidget *widget, int left=-1, int top=-1, int right=-1, int bottom=-1)
ExtendFrameIntoClientArea.
Definition: qtwin.cpp:186
static QColor colorizatinColor()
Returns the current colorizationColor for the window.
Definition: qtwin.cpp:218
static bool isCompositionEnabled()
Chekcs and returns true if Windows DWM composition is currently enabled on the system.
Definition: qtwin.cpp:107
Definition: qtwin.cpp:71
static bool enableBlurBehindWindow(QWidget *widget, bool enable=true)
Enables Blur behind on a Widget.
Definition: qtwin.cpp:137