appveyorimgbot
Last change
on this file since fecf053b50 was
2bbe924ad8,
checked in by Oleksii Serdiuk, 15 years ago
|
Added svn:eol-style=native property to all text files.
|
-
Property mode set to
100644
|
File size:
974 bytes
|
Rev | Line | |
---|
[2bbe924ad8] | 1 | /*! |
---|
| 2 | * \file qtwin.h |
---|
| 3 | * |
---|
| 4 | * \author Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). |
---|
| 5 | * |
---|
| 6 | * Use, modification and distribution is allowed without limitation, |
---|
| 7 | * warranty, liability or support of any kind. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #ifndef QTWIN_H |
---|
| 11 | #define QTWIN_H |
---|
| 12 | |
---|
| 13 | #include <QColor> |
---|
| 14 | #include <QWidget> |
---|
| 15 | |
---|
| 16 | class WindowNotifier; |
---|
| 17 | |
---|
| 18 | /*! |
---|
| 19 | * This is a helper class for using the Desktop Window Manager |
---|
| 20 | * functionality on Windows 7 and Windows Vista. On other platforms |
---|
| 21 | * these functions will simply not do anything. |
---|
| 22 | */ |
---|
| 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.