Qtopia Home - Classes - Hierachy - Annotated - Functions - Licenses - Reference

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.

See also


Member Function Documentation

QPlatinumStyle::QPlatinumStyle ()

Constructs a QPlatinumStyle

QPlatinumStyle::~QPlatinumStyle () [virtual]

Destructs the style.

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 QWindowsStyle.

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

int QPlatinumStyle::maximumSliderDragDistance () const [virtual]

Reimplementation from QWindowsStyle to disable the Windows typical jump back when dragging controls.

See also QStyle.

QColor QPlatinumStyle::mixedColor ( const QColor & c1, const QColor & c2 ) [protected]

mixes two colors to a new colors

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


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.2.0