QWindowsStyle Class Reference
Windows Look and Feel.
More...
#include <qwindowsstyle.h>
Inherits QCommonStyle.
Inherited by QPEStyle and QPlatinumStyle.
List of all member functions.
Public Members
- QWindowsStyle ()
- virtual ~QWindowsStyle ()
- virtual void drawButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 )
- virtual void drawExclusiveIndicatorMask ( QPainter * p, int x, int y, int w, int h, bool on )
- virtual void drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation orient, bool tickAbove, bool tickBelow )
Protected Members
- void drawWinShades ( QPainter * p, int x, int y, int w, int h, const QColor & c1, const QColor & c2, const QColor & c3, const QColor & c4, const QBrush * fill )
Detailed Description
Windows Look and Feel
This class implements the look and feel known from the Windows
platform. Naturally it is also Qt's default GUI style on Windows.
See also
Member Function Documentation
QWindowsStyle::QWindowsStyle ()
Constructs a QWindowsStyle
QWindowsStyle::~QWindowsStyle () [virtual]
Destructs the style.
void QWindowsStyle::drawButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) [virtual]
Draws a press-sensitive shape.
Reimplemented from QStyle.
Reimplemented in QPlatinumStyle.
void QWindowsStyle::drawExclusiveIndicatorMask ( QPainter * p, int x, int y, int w, int h, bool on ) [virtual]
Draws the mask of a mark indicating the state of an exclusive choice
Reimplemented from QStyle.
void QWindowsStyle::drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation orient, bool tickAbove, bool tickBelow ) [virtual]
Draws the mask of a slider
void QWindowsStyle::drawWinShades ( QPainter * p, int x, int y, int w, int h, const QColor & c1, const QColor & c2, const QColor & c3, const QColor & c4, const QBrush * fill ) [protected]
This function draws a rectangle with two pixel line width.
It is called from qDrawWinButton() and qDrawWinPanel().
c1..c4 and fill are used:
1 1 1 1 1 2
1 3 3 3 4 2
1 3 F F 4 2
1 3 F F 4 2
1 4 4 4 4 2
2 2 2 2 2 2
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|