Home · Modules · Classes · Namespaces · Functions

QxtStars Class Reference
[QxtGui module]

The QxtStars widget is a stars assessment widget. More...

    #include <QxtStars>

Inherits QAbstractSlider.

Public Functions

Additional Inherited Members


Detailed Description

The QxtStars widget is a stars assessment widget.

QxtStars is an optionally interactive stars assessment widget.

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

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

ColorRoleElement
QPalette::Textoutlines
QPalette::Baseunselected stars
QPalette::Highlightselected stars

"QxtStars in action."


Member Function Documentation

QxtStars::QxtStars ( QWidget * parent = 0 )

Constructs a new QxtStars with parent.

QxtStars::~QxtStars ()   [virtual]

Destructs the stars.

bool QxtStars::isReadOnly () const

void QxtStars::setReadOnly ( bool readOnly )

See also isReadOnly().

void QxtStars::setStarSize ( const QSize & size )

See also starSize().

QSize QxtStars::starSize () const

See also setStarSize().


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1