HomeHome

Classes - Annotated - Tree - Functions - Home - Structure Qte

QPlatinumStyle Class Reference


Platinum Look and Feel More...

#include <qplatinumstyle.h>

Inherits QWindowsStyle.

List of all member functions.

Public Members

Protected Members


Detailed Description

Platinum Look and Feel

This class implements the Platinum look and feel. It's an experimental class that tries to resemble a Macintosh-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.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2005 Trolltech, all rights reserved.


Copyright © 2005 TrolltechTrademarks
Qt version 2.3.10