libqutim  0.3.1.0
qutim_sdk_0_3::QtWin Namespace Reference

Functions

Q_DECL_IMPORT QColor colorizationColor ()
 
Q_DECL_IMPORT bool enableBlurBehindWindow (QWidget *widget, bool enable=true)
 
Q_DECL_IMPORT bool extendFrameIntoClientArea (QWidget *widget, int left=-1, int top=-1, int right=-1, int bottom=-1)
 
Q_DECL_IMPORT bool isCompositionEnabled ()
 

Detailed Description

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

On other platforms these functions will simply not do anything.

Function Documentation

Q_DECL_IMPORT QColor qutim_sdk_0_3::QtWin::colorizationColor ( )

Returns the current colorizationColor for the window.

enable tells if the blur should be enabled or not

Q_DECL_IMPORT bool qutim_sdk_0_3::QtWin::enableBlurBehindWindow ( QWidget *  widget,
bool  enable = true 
)

Enables Blur behind on a Widget.

enable tells if the blur should be enabled or not

Q_DECL_IMPORT bool qutim_sdk_0_3::QtWin::extendFrameIntoClientArea ( QWidget *  widget,
int  left = -1,
int  top = -1,
int  right = -1,
int  bottom = -1 
)

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

Q_DECL_IMPORT bool qutim_sdk_0_3::QtWin::isCompositionEnabled ( )

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

Note
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.
Returns
current composition status

Generated by Doxygen