Static Public Member Functions

QtWin Class Reference

This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista. More...

#include <qtwin.h>

List of all members.

Static Public Member Functions

static bool enableBlurBehindWindow (QWidget *widget, bool enable=true)
 Enables Blur behind on a Widget.
static bool extendFrameIntoClientArea (QWidget *widget, int left=-1, int top=-1, int right=-1, int bottom=-1)
 ExtendFrameIntoClientArea.
static bool isCompositionEnabled ()
 Chekcs and returns true if Windows DWM composition is currently enabled on the system.
static QColor colorizatinColor ()
 Returns the current colorizationColor for the window.

Detailed Description

This is a helper class for using the Desktop Window Manager functionality on Windows 7 and Windows Vista.

On other platforms these functions will simply not do anything.


Member Function Documentation

QColor QtWin::colorizatinColor (  )  [static]

Returns the current colorizationColor for the window.

enable tells if the blur should be enabled or not

Here is the call graph for this function:

bool QtWin::enableBlurBehindWindow ( QWidget widget,
bool  enable = true 
) [static]

Enables Blur behind on a Widget.

enable tells if the blur should be enabled or not

Here is the call graph for this function:

bool QtWin::extendFrameIntoClientArea ( QWidget widget,
int  left = -1,
int  top = -1,
int  right = -1,
int  bottom = -1 
) [static]

ExtendFrameIntoClientArea.

This controls the rendering of the frame inside the window. Note that passing margins of -1 (the default value) will completely remove the frame from the window.

Note:
you should not call enableBlurBehindWindow before calling this functions

enable tells if the blur should be enabled or not

Here is the call graph for this function:

bool QtWin::isCompositionEnabled (  )  [static]

Chekcs and returns true if Windows DWM composition is currently enabled on the system.

To get live notification on the availability of this feature, you will currently have to reimplement winEvent() on your widget and listen for the WM_DWMCOMPOSITIONCHANGED event to occur.

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines