QxtStars Class Reference
[QxtGui module]

A stars assessment widget. More...

 #include <QxtStars>

Inherits QAbstractSlider.

Properties

Public Functions


Detailed Description

QxtStars is an optionally interactive stars assessment widget.

By default, orientation is Qt::Horizonal and range is from 0 to 5.

The stars are rendered accoring to palette with the following color roles:

ColorRole

Element

QPalette::Text

outlines

QPalette::Base

unselected stars

QPalette::Highlight

selected stars

QxtStars in action.
QxtStars in action.

Member Documentation

bool readOnly

This property holds whether stars are adjustable.

In read-only mode, the user is not able to change the value. The default value is false.

Access Functions:




QSize starSize

This property holds the size of star icons.

The default value is QStyle::PM_SmallIconSize.

Access Functions:




explicit QxtStars ( QWidget * parent = 0 )

Constructs a new QxtStars with parent.




virtual ~QxtStars ( )

Destructs the stars.






Copyright © 2007 Qxt Foundation Trademarks
Qt Extension Library 0.4