ScrollDialPopup Class Reference

The ScrollDialPopup is a private class of QtScrollDial. More...

#include <scrolldialpopup.h>

Collaboration diagram for ScrollDialPopup:
[legend]

List of all members.

Public Member Functions

 ScrollDialPopup (QtScrollDial *parent)
virtual ~ScrollDialPopup ()
void setSkin (const QString &skin)
QString skin () const
void setRange (int minimum, int maximum)
void setValue (int value)

Protected Member Functions

virtual void hideEvent (QHideEvent *event)
virtual void resizeEvent (QResizeEvent *event)
virtual void paintEvent (QPaintEvent *event)
virtual void wheelEvent (QWheelEvent *event)
void init ()
void updateMask ()

Properties

QString skin

Detailed Description

The ScrollDialPopup is a private class of QtScrollDial.

The description of the QtBasicDialGauge.


Constructor & Destructor Documentation

ScrollDialPopup::ScrollDialPopup ( QtScrollDial parent  ) 

Constructor of the ScrollDialPopup with parent as parent.

ScrollDialPopup::~ScrollDialPopup (  )  [virtual]

Destructor


Member Function Documentation

void ScrollDialPopup::hideEvent ( QHideEvent *  event  )  [protected, virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void ScrollDialPopup::paintEvent ( QPaintEvent *  event  )  [protected, virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void ScrollDialPopup::resizeEvent ( QResizeEvent *  event  )  [protected, virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

References updateMask().

void ScrollDialPopup::setRange ( int  minimum,
int  maximum 
)

Sets the ScrollDialPopup's minimum to min and its maximum to max. If max is smaller than min, min becomes the only legal value. See also minimum and maximum.

References QtBasicDialGauge::setRange().

Referenced by QtScrollDial::mousePressEvent().

void ScrollDialPopup::setSkin ( const QString &  skin  ) 

With this function you can set the skin that will be displayed in the widget.

        ScrollDialPopup * scroll = new ScrollDialPopup(this);
        scroll->setSkin("Beryl");

This function has to be called before using the ScrollDialPopup.

See also:
skin()

References QtScrollWheel::setSkin().

Referenced by QtScrollDial::setSkin().

void ScrollDialPopup::setValue ( int  value  ) 

Set the current value of the display and wheel widget.

References QtBasicDialGauge::setValue().

Referenced by QtScrollDial::mousePressEvent().

void ScrollDialPopup::updateMask (  )  [protected]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Referenced by resizeEvent().

void ScrollDialPopup::wheelEvent ( QWheelEvent *  event  )  [protected, virtual]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


Property Documentation

QString ScrollDialPopup::skin [read, write]

This function returns the actual skin name. If no skin has been set the return value is "".

        ScrollDialPopup * scroll = new ScrollDialPopup(this);
        scroll->setSkin("Beryl");
        qDebug() << scroll->skin();
See also:
setSkin()

The documentation for this class was generated from the following files:

Generated on Wed Nov 25 17:57:35 2009 for Embedded Widgets by  doxygen 1.6.1