42 #ifndef QWIZARD_WIN_P_H 43 #define QWIZARD_WIN_P_H 57 #ifndef QT_NO_STYLE_WINDOWSVISTA 63 #include <QtGui/private/qwidget_p.h> 64 #include <QtGui/private/qstylehelper_p.h> 91 void setTitleBarIconAndCaptionVisible(
bool visible);
93 bool handleWinEvent(
MSG *message,
long *result);
97 void disconnectBackButton();
99 void setWindowPosHack();
100 QColor basicWindowFrameColor();
108 static int topOffset();
111 static HFONT getCaptionFont(
HANDLE hTheme);
113 static bool drawBlackRect(
const QRect &rect, HDC hdc);
116 static int captionSize();
121 int leftMargin() {
return backButton_->isVisible() ? backButtonSize() + iconSpacing : 0; }
124 bool resolveSymbols();
125 void drawTitleBar(
QPainter *painter);
127 void collapseTopFrameStrut();
137 static bool isCompositionEnabled();
138 static bool isThemeActive();
155 #endif // QT_NO_STYLE_WINDOWSVISTA 156 #endif // QT_NO_WIZARD 157 #endif // QWIZARD_WIN_P_H
The QPainter class performs low-level painting on widgets and other paint devices.
The QColor class provides colors based on RGB, HSV or CMYK values.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QVistaBackButton * backButton_
static VistaState cachedVistaState
static const WinVersion WindowsVersion
the version of the Windows operating system on which the application is run (Windows only) ...
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
static int titleBarSize()
The QResizeEvent class contains event parameters for resize events.
virtual bool eventFilter(QObject *, QEvent *)
Filters events if this object has been installed as an event filter for the watched object...
The QMouseEvent class contains parameters that describe a mouse event.
qreal dpiScaled(qreal value)
QVistaBackButton * backButton() const
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
static void mouseEvent(MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey, QPoint pos, int delay=-1)
The QSize class defines the size of a two-dimensional object using integer point precision.
The QPaintEvent class contains event parameters for paint events.
static int backButtonSize()
The QEvent class is the base class of all event classes.
The QWizard class provides a framework for wizards.