Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QtopiaStyle Class Reference
[QtBaseModule]

The QtopiaStyle class encapsulates the common Look and Feel of a Qt Extended 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 Qt Extended GUI.

This class implements some of the widget's look and feel that is common to all Qt Extended 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.

QLabel * QtopiaStyle::buddyForWidget ( const QWidget * widget )   [static]

Returns the label that has widget assigned as its buddy.

If no buddy is assigned, 0 is returned.

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 © 2009 Trolltech Trademarks
Qt Extended 4.4.3