Home · All Classes · Grouped Classes · Annotated · Functions

QtopiaStyle Class Reference

The QtopiaStyle class encapsulates the common Look and Feel of a Qtopia GUI. More...

    #include <QtopiaStyle>

Inherits QWindowsStyle.

Inherited by QPhoneStyle.

Public Functions

Static Public Members

Additional Inherited Members


Detailed Description

The QtopiaStyle class encapsulates the common Look and Feel of a Qtopia GUI.

This class implements some of the widget's look and feel that is common to all Qtopia GUI styles.

See also QWindowsXPStyle, QMacStyle, QPlastiqueStyle, QCDEStyle, and QMotifStyle.


Member Function Documentation

QtopiaStyle::QtopiaStyle ()

Constructs a QtopiaStyle object.

QtopiaStyle::~QtopiaStyle ()   [virtual]

Destroys the QtopiaStyle object.

void QtopiaStyle::drawRoundRect ( QPainter * painter, const QRect & r, int xRnd, int yRnd )   [static]

Draws a rectangle r with rounded corners using painter.

The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.

The roundness is scaled to maintain a similar appearance at different display resolutions.

See also QPainter::drawRoundRect().

void QtopiaStyle::drawRoundRect ( QPainter * painter, const QRectF & r, int xRnd, int yRnd )   [static]

This is an overloaded member function, provided for convenience.

Draws a rectangle r with rounded corners using painter.

The xRnd and yRnd arguments specify how rounded the corners should be. 0 is angled corners, 99 is maximum roundedness.

The roundness is scaled to maintain a similar appearance at different display resolutions.

See also QPainter::drawRoundRect().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3