QPlatinumStyle(3qt)

NAME
QPlatinumStyle - Platinum Look and Feel

SYNOPSIS

#include <qplatinumstyle.h>

Inherits QWindowsStyle.

  Public Members
QPlatinumStyle ()
virtual ~QPlatinumStyle ()
virtual void drawButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 )
ScrollControl scrollBarPointOver ( const QScrollBar * sb, int sliderStart, const QPoint & p )
virtual int maximumSliderDragDistance () const

  Protected Members
QColor mixedColor ( const QColor &, const QColor & )
void drawRiffles ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool horizontal )

DESCRIPTION
Platinum Look and Feel

This class implements the Platinum look and feel. It's an experimental class that tries to resemble a Macinosh-like GUI style with the QStyle system. The emulation is, however, far from being perfect yet.

MEMBER FUNCTION DOCUMENTATION

QPlatinumStyle::QPlatinumStyle ()
Constructs a QPlatinumStyle.

QPlatinumStyle::~QPlatinumStyle () [virtual]
Destructs the style.

QRect QPlatinumStyle::buttonRect ( int x, int y, int w, int h ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QRect QPlatinumStyle::comboButtonFocusRect ( int x, int y, int w, int h ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QRect QPlatinumStyle::comboButtonRect ( int x, int y, int w, int h ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawBevelButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::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.

void QPlatinumStyle::drawCheckMark ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool act, bool dis ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawComboButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool = FALSE, bool editable = FALSE, bool = TRUE, const QBrush * fill = 0 ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawExclusiveIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool on, bool down = FALSE, bool = TRUE ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, int s, bool down = FALSE, bool = TRUE ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawIndicatorMask ( QPainter * p, int x, int y, int w, int h, int s ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawPopupMenuItem ( QPainter * p, bool checkable, int maxpmw, int tab, QMenuItem * mi, const QPalette & pal, bool act, bool enabled, int x, int y, int w, int h ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawPopupPanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, int lineWidth = 2, const QBrush * fill = 0 ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawPushButton ( QPushButton * btn, QPainter * p ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawPushButtonLabel ( QPushButton * btn, QPainter * p ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawRiffles ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool horizontal ) [protected]
draw the nifty Macintosh decoration used on sliders.

void QPlatinumStyle::drawScrollBarBackground ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool horizontal, const QBrush * fill = 0 ) [protected]
Reimplemented for internal reasons; the API is not affected.

void QPlatinumStyle::drawScrollBarControls ( QPainter * p, const QScrollBar * sb, int sliderStart, uint controls, uint activeControl ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawSlider ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation orient, bool, bool ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawSliderGroove ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, QCOORD c, Orientation orient ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation orient, bool, bool ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QSize QPlatinumStyle::exclusiveIndicatorSize () const [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QPlatinumStyle::extraPopupMenuItemWidth ( bool checkable, int maxpmw, QMenuItem * mi, const QFontMetrics & fm ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::getButtonShift ( int & x, int & y ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QSize QPlatinumStyle::indicatorSize () const [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QPlatinumStyle::maximumSliderDragDistance () const [virtual]
Reimplementation from QWindowsStyle to disable the Windows typical jump back when dragging controls.

See also QStyle.

Reimplemented from QStyle.

QColor QPlatinumStyle::mixedColor ( const QColor & c1, const QColor & c2 ) [protected]
mixes two colors to a new colors.

void QPlatinumStyle::polishPopupMenu ( QPopupMenu * p ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QPlatinumStyle::popupMenuItemHeight ( bool checkable, QMenuItem * mi, const QFontMetrics & fm ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QPlatinumStyle::scrollBarMetrics ( const QScrollBar * sb, int & sliderMin, int & sliderMax, int & sliderLength, int & buttonDim ) [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QPlatinumStyle::sliderLength () const [virtual]
Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

SEE ALSO
http://doc.trolltech.com/qplatinumstyle.html

COPYRIGHT
Copyright 1992-2000 Trolltech AS, http://www.trolltech.com/. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.