Home · All Classes · Main Classes · Deprecated |
Spinner view for MProgressIndicator. More...
Inherits MWidgetView.
Public Member Functions | |
MSpinnerView (MProgressIndicator *controller) | |
virtual | ~MSpinnerView () |
Protected Slots | |
virtual void | updateData (const QList< const char * > &modifications) |
Protected Member Functions | |
virtual void | drawContents (QPainter *painter, const QStyleOptionGraphicsItem *option) const |
virtual void | setupModel () |
virtual void | applyStyle () |
Protected Attributes | |
MSpinnerViewPrivate *const | d_ptr |
Spinner view for MProgressIndicator.
Spinner rotates clockwise indefinitely until the process is finished or interrupted. Spinner is used only for unknown durations. It can can be placed anywhere in UI and also on top of other UI components to indicate ongoing processes. It should be used when the available space is limited. It can be used to indicate e.g. scanning or refreshing
![]() | Progress indicator with spinner view. |
Spinner is always non-interactive.
MSpinnerView::MSpinnerView | ( | MProgressIndicator * | controller | ) |
Constructor.
controller | Pointer to the progressindicator's controller |
MSpinnerView::~MSpinnerView | ( | ) | [virtual] |
Destructor.
void MSpinnerView::applyStyle | ( | ) | [protected, virtual] |
Updates MSpinnerView class instance when current style is changed.
Called when MSpinnerStyle class instance is changed (usually) during initialization.
Reimplemented from MWidgetView.
void MSpinnerView::drawContents | ( | QPainter * | painter, | |
const QStyleOptionGraphicsItem * | option | |||
) | const [protected, virtual] |
Draws the contents for this view.
Reimplemented from MWidgetView.
void MSpinnerView::setupModel | ( | ) | [protected, virtual] |
Updates MSpinnerView class instance when current model is changed.
Reimplemented from MWidgetView.
void MSpinnerView::updateData | ( | const QList< const char * > & | modifications | ) | [protected, virtual, slot] |
Updates MSpinnerView class instance when some component of underlying model is modified.
modifications | List containing the names of modified model components. |
Reimplemented from MWidgetView.
MSpinnerViewPrivate* const MSpinnerView::d_ptr [protected] |
Reimplemented from MWidgetView.
Copyright © 2010 Nokia Corporation | MeeGo Touch |