Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QCommonStyle class encapsulates the common Look and Feel of a GUI. More...
#include <QCommonStyle>
Inherits QStyle.
Inherited by QMotifStyle and QWindowsStyle.
The QCommonStyle class encapsulates the common Look and Feel of a GUI.
This abstract class implements some of the widget's look and feel that is common to all GUI styles provided and shipped as part of Qt.
All the functions are full documented in QStyle, although the extra functions that QCommonStyle provides, e.g. drawComplexControl(), drawComplexControlMask(), drawControl(), drawControlMask(), drawPrimitive(), querySubControl(), querySubControlMetrics(), sizeFromContents(), and subRect() are documented here.
Constructs a QCommonStyle.
Destroys the style
Draws the complex control cc, with style options opt, on painter p. The widget is optional and may contain a widget that is useful for drawing the primitive.
Reimplemented from QStyle.
Draws the mask for the given complex control cc, with style options opt, on painter p. The widget w is optional and may contain a widget that is useful for drawing the mask.
Reimplemented from QStyle.
Draws the control ce, with style options opt, on painter p. The widget is optional and may contain a widget that is useful for drawing the control.
Reimplemented from QStyle.
Draws the mask for the given control ce, with style options opt, on painter p. The widget w is optional and may contain a widget that is useful for drawing the primitive.
Reimplemented from QStyle.
Draws the primitive element pe, with style options opt, on painter p. The widget is optional and may contain a widget that is useful for drawing the primitive.
Reimplemented from QStyle.
Returns the sub-widget in the complex control cc, with style options opt, at point pt, and with parent widget widget.
Reimplemented from QStyle.
See also querySubControlMetrics().
Returns the rectangle occupied by the complex control cc, with style options opt, sub-control sc. The widget is optional and may contain a widget that is useful for drawing the sub-control.
Reimplemented from QStyle.
See also querySubControl().
Returns the size required by the contents of type ct, with style options opt, original size csz. The widget is optional and may contain a widget that is useful for calculating the size.
Reimplemented from QStyle.
Returns the rectangle occupied by sub-rectangle sr, with style options opt. The widget parameter is optional and may contain a widget that is useful for drawing the sub-rectangle.
Reimplemented from QStyle.
Copyright © 2004 Trolltech | Trademarks | Qt 4.0.0-b1 |