Qwt User's Guide svn
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions
QwtCompass Class Reference

#include <qwt_compass.h>

Inherits QwtDial.

List of all members.

Public Types

enum  Direction {
  Clockwise,
  CounterClockwise
}
enum  Mode {
  RotateNeedle,
  RotateScale
}
enum  ScrollMode {
  ScrNone,
  ScrMouse,
  ScrTimer,
  ScrDirect,
  ScrPage
}
enum  Shadow {
  Plain = QFrame::Plain,
  Raised = QFrame::Raised,
  Sunken = QFrame::Sunken
}

Public Slots

virtual void fitValue (double val)
virtual void incValue (int steps)
virtual void setReadOnly (bool)
virtual void setValue (double val)

Signals

void sliderMoved (double value)
void sliderPressed ()
void sliderReleased ()
void valueChanged (double value)

Public Member Functions

QRectF boundingRect () const
Direction direction () const
Shadow frameShadow () const
virtual void incPages (int)
QRectF innerRect () const
bool isReadOnly () const
bool isValid () const
const QMap< double, QString > & labelMap () const
QMap< double, QString > & labelMap ()
int lineWidth () const
virtual double mass () const
double maxScaleArc () const
double maxValue () const
virtual QSize minimumSizeHint () const
double minScaleArc () const
double minValue () const
Mode mode () const
const QwtDialNeedleneedle () const
QwtDialNeedleneedle ()
Qt::Orientation orientation () const
double origin () const
int pageSize () const
bool periodic () const
 QwtCompass (QWidget *parent=NULL)
const QwtCompassRoserose () const
QwtCompassRoserose ()
QwtDialScaleDrawscaleDraw ()
const QwtDialScaleDrawscaleDraw () const
virtual QRectF scaleInnerRect () const
void setDirection (Direction)
void setFrameShadow (Shadow)
void setLabelMap (const QMap< double, QString > &map)
void setLineWidth (int)
virtual void setMass (double val)
void setMode (Mode)
virtual void setNeedle (QwtDialNeedle *)
virtual void setOrientation (Qt::Orientation o)
virtual void setOrigin (double)
void setPeriodic (bool tf)
void setRange (double vmin, double vmax, double vstep=0.0, int pagesize=1)
void setRose (QwtCompassRose *rose)
virtual void setScale (int maxMajIntv, int maxMinIntv, double step=0.0)
void setScaleArc (double min, double max)
void setScaleComponents (QwtAbstractScaleDraw::ScaleComponents)
virtual void setScaleDraw (QwtDialScaleDraw *)
void setScaleTicks (int minLen, int medLen, int majLen, int penWidth=1)
void setStep (double)
void setTracking (bool enable)
void setUpdateTime (int t)
void setValid (bool valid)
virtual void setWrapping (bool)
virtual QSize sizeHint () const
double step () const
void stopMoving ()
double value () const
bool wrapping () const
virtual ~QwtCompass ()

Protected Member Functions

virtual void drawContents (QPainter *) const
virtual void drawFocusIndicator (QPainter *) const
virtual void drawFrame (QPainter *p)
virtual void drawNeedle (QPainter *, const QPointF &, double radius, double direction, QPalette::ColorGroup) const
virtual void drawRose (QPainter *, const QPointF &center, double radius, double north, QPalette::ColorGroup) const
virtual void drawScale (QPainter *, const QPointF &center, double radius, double origin, double arcMin, double arcMax) const
virtual void drawScaleContents (QPainter *, const QPointF &center, double radius) const
double exactPrevValue () const
double exactValue () const
virtual void getScrollMode (const QPoint &, QwtAbstractSlider::ScrollMode &, int &direction) const
virtual double getValue (const QPoint &)
virtual void keyPressEvent (QKeyEvent *)
virtual void mouseMoveEvent (QMouseEvent *e)
double mouseOffset () const
virtual void mousePressEvent (QMouseEvent *e)
virtual void mouseReleaseEvent (QMouseEvent *e)
virtual void paintEvent (QPaintEvent *)
double prevValue () const
virtual void rangeChange ()
virtual QwtText scaleLabel (double value) const
int scrollMode () const
void setMouseOffset (double)
virtual void setPosition (const QPoint &)
virtual void stepChange ()
virtual void timerEvent (QTimerEvent *e)
void updateScale ()
virtual void valueChange ()
virtual void wheelEvent (QWheelEvent *e)

Detailed Description

A Compass Widget.

QwtCompass is a widget to display and enter directions. It consists of a scale, an optional needle and rose.

dials1.png
Note:
The examples/dials example shows how to use QwtCompass.

Member Enumeration Documentation

enum QwtDial::Direction [inherited]

Direction of the dial.

Enumerator:
Clockwise 

Clockwise.

CounterClockwise 

Counter clockwise.

enum QwtDial::Mode [inherited]

Mode controlling wether the needle or the scale is rotating.

Enumerator:
RotateNeedle 

The needle is rotating.

RotateScale 

The needle is fixed, the scales are rotating.

Scroll mode

See also:
getScrollMode()
Enumerator:
ScrNone 

Scrolling switched off. Don't change the value.

ScrMouse 

Change the value while the user keeps the button pressed and moves the mouse.

ScrTimer 

Automatic scrolling. Increment the value in the specified direction as long as the user keeps the button pressed.

ScrPage 

Automatic scrolling. Same as ScrTimer, but increment by page size.

enum QwtDial::Shadow [inherited]

Frame shadow.

Unfortunately it is not possible to use QFrame::Shadow as a property of a widget that is not derived from QFrame. The following enum is made for the designer only. It is safe to use QFrame::Shadow instead.

Enumerator:
Plain 

QFrame::Plain.

Raised 

QFrame::Raised.

Sunken 

QFrame::Sunken.


Constructor & Destructor Documentation

QwtCompass::QwtCompass ( QWidget *  parent = NULL) [explicit]

Constructor.

Parameters:
parentParent widget

Create a compass widget with a scale, no needle and no rose. The default origin is 270.0 with no valid value. It accepts mouse and keyboard inputs and has no step size. The default mode is QwtDial::RotateNeedle.

QwtCompass::~QwtCompass ( ) [virtual]

Destructor.


Member Function Documentation

QRectF QwtDial::boundingRect ( ) const [inherited]
Returns:
bounding rect of the dial including the frame
See also:
setLineWidth(), scaleInnerRect(), innerRect()
QwtDial::Direction QwtDial::direction ( ) const [inherited]
Returns:
Direction of the dial

The default direction of a dial is QwtDial::Clockwise

See also:
setDirection()
void QwtDial::drawContents ( QPainter *  painter) const [protected, virtual, inherited]

Draw the contents inside the frame.

QPalette::Window is the background color outside of the frame. QPalette::Base is the background color inside the frame. QPalette::WindowText is the background color inside the scale.

Parameters:
painterPainter
See also:
boundingRect(), innerRect(), scaleInnerRect(), QWidget::setPalette()
void QwtDial::drawFocusIndicator ( QPainter *  painter) const [protected, virtual, inherited]

Draw a dotted round circle, if !isReadOnly()

Parameters:
painterPainter
void QwtDial::drawFrame ( QPainter *  painter) [protected, virtual, inherited]

Draw the frame around the dial

Parameters:
painterPainter
See also:
lineWidth(), frameShadow()
void QwtDial::drawNeedle ( QPainter *  painter,
const QPointF &  center,
double  radius,
double  direction,
QPalette::ColorGroup  cg 
) const [protected, virtual, inherited]

Draw the needle

Parameters:
painterPainter
centerCenter of the dial
radiusLength for the needle
directionDirection of the needle in degrees, counter clockwise
cgColorGroup

Reimplemented in QwtAnalogClock.

void QwtCompass::drawRose ( QPainter *  painter,
const QPointF &  center,
double  radius,
double  north,
QPalette::ColorGroup  cg 
) const [protected, virtual]

Draw the compass rose

Parameters:
painterPainter
centerCenter of the compass
radiusof the circle, where to paint the rose
northDirection pointing north, in degrees counter clockwise
cgColor group
void QwtDial::drawScale ( QPainter *  painter,
const QPointF &  center,
double  radius,
double  origin,
double  minArc,
double  maxArc 
) const [protected, virtual, inherited]

Draw the scale

Parameters:
painterPainter
centerCenter of the dial
radiusRadius of the scale
originOrigin of the scale
minArcMinimum of the arc
maxArcMinimum of the arc
See also:
QwtRoundScaleDraw::setAngleRange()
void QwtCompass::drawScaleContents ( QPainter *  painter,
const QPointF &  center,
double  radius 
) const [protected, virtual]

Draw the contents of the scale

Parameters:
painterPainter
centerCenter of the content circle
radiusRadius of the content circle

Reimplemented from QwtDial.

double QwtDoubleRange::exactPrevValue ( ) const [protected, inherited]

Returns the exact previous value.

double QwtDoubleRange::exactValue ( ) const [protected, inherited]

Returns the exact value.

The exact value is the value which QwtDoubleRange::value would return if the value were not adjusted to the step raster. It differs from the current value only if fitValue() or incValue() have been used before. This function is intended for internal use in derived classes.

void QwtAbstractSlider::fitValue ( double  value) [virtual, slot, inherited]

Set the slider's value to the nearest integer multiple of the step size.

Parameters:
valueValue
See also:
setValue(), incValue()

Reimplemented from QwtDoubleRange.

QwtDial::Shadow QwtDial::frameShadow ( ) const [inherited]
Returns:
Frame shadow /sa setFrameShadow(), lineWidth(), QFrame::frameShadow
void QwtDial::getScrollMode ( const QPoint &  pos,
QwtAbstractSlider::ScrollMode scrollMode,
int &  direction 
) const [protected, virtual, inherited]

See QwtAbstractSlider::getScrollMode()

Parameters:
pospoint where the mouse was pressed
Return values:
scrollModeThe scrolling mode
directiondirection: 1, 0, or -1.
See also:
QwtAbstractSlider::getScrollMode()

Implements QwtAbstractSlider.

double QwtDial::getValue ( const QPoint &  pos) [protected, virtual, inherited]

Find the value for a given position

Parameters:
posPosition
Returns:
Value

Implements QwtAbstractSlider.

void QwtDoubleRange::incPages ( int  nPages) [virtual, inherited]

Increment the value by a specified number of pages.

Parameters:
nPagesNumber of pages to increment. A negative number decrements the value.
Warning:
The Page size is specified in the constructor.
void QwtAbstractSlider::incValue ( int  steps) [virtual, slot, inherited]

Increment the value by a specified number of steps.

Parameters:
stepsnumber of steps
See also:
setValue()

Reimplemented from QwtDoubleRange.

QRectF QwtDial::innerRect ( ) const [inherited]
Returns:
bounding rect of the circle inside the frame
See also:
setLineWidth(), scaleInnerRect(), boundingRect()
bool QwtAbstractSlider::isReadOnly ( ) const [inherited]

In read only mode the slider can't be controlled by mouse or keyboard.

Returns:
true if read only
See also:
setReadOnly()
bool QwtAbstractSlider::isValid ( ) const [inline, inherited]
See also:
QwtDblRange::isValid()

Reimplemented from QwtDoubleRange.

void QwtCompass::keyPressEvent ( QKeyEvent *  kev) [protected, virtual]

Handles key events

Beside the keys described in QwtDial::keyPressEvent numbers from 1-9 (without 5) set the direction according to their position on the num pad.

See also:
isReadOnly()

Reimplemented from QwtDial.

const QMap< double, QString > & QwtCompass::labelMap ( ) const
Returns:
map, mapping values to labels
See also:
setLabelMap()
QMap< double, QString > & QwtCompass::labelMap ( )
Returns:
map, mapping values to labels
See also:
setLabelMap()
int QwtDial::lineWidth ( ) const [inherited]
Returns:
Line width of the frame
See also:
setLineWidth(), frameShadow(), lineWidth()
double QwtAbstractSlider::mass ( ) const [virtual, inherited]
Returns:
mass
See also:
setMass()

Reimplemented in QwtWheel.

double QwtDial::maxScaleArc ( ) const [inherited]
Returns:
Upper limit of the scale arc
double QwtDoubleRange::maxValue ( ) const [inherited]

Returns the value of the second border of the range.

maxValue returns the value which has been specified as the second parameter in QwtDoubleRange::setRange.

See also:
setRange()

Reimplemented in QwtCounter.

QSize QwtDial::minimumSizeHint ( ) const [virtual, inherited]

Return a minimum size hint.

Warning:
The return value of QwtDial::minimumSizeHint() depends on the font and the scale.
double QwtDial::minScaleArc ( ) const [inherited]
Returns:
Lower limit of the scale arc
double QwtDoubleRange::minValue ( ) const [inherited]

Returns the value at the first border of the range.

minValue returns the value which has been specified as the first parameter in setRange().

See also:
setRange()

Reimplemented in QwtCounter.

QwtDial::Mode QwtDial::mode ( ) const [inherited]
Returns:
mode of the dial.

The value of the dial is indicated by the difference between the origin and the direction of the needle. In case of QwtDial::RotateNeedle the scale arc is fixed to the origin() and the needle is rotating, in case of QwtDial::RotateScale, the needle points to origin() and the scale is rotating.

The default mode is QwtDial::RotateNeedle.

See also:
setMode(), origin(), setScaleArc(), value()
void QwtAbstractSlider::mouseMoveEvent ( QMouseEvent *  e) [protected, virtual, inherited]

Mouse Move Event handler

Parameters:
eMouse event
double QwtAbstractSlider::mouseOffset ( ) const [protected, inherited]
See also:
setMouseOffset()
void QwtAbstractSlider::mousePressEvent ( QMouseEvent *  e) [protected, virtual, inherited]

Mouse press event handler

Parameters:
eMouse event
void QwtAbstractSlider::mouseReleaseEvent ( QMouseEvent *  e) [protected, virtual, inherited]

Mouse Release Event handler

Parameters:
eMouse event
const QwtDialNeedle * QwtDial::needle ( ) const [inherited]
Returns:
needle
See also:
setNeedle()
QwtDialNeedle * QwtDial::needle ( ) [inherited]
Returns:
needle
See also:
setNeedle()
Qt::Orientation QwtAbstractSlider::orientation ( ) const [inherited]
Returns:
Orientation
See also:
setOrientation()
double QwtDial::origin ( ) const [inherited]

The origin is the angle where scale and needle is relative to.

Returns:
Origin of the dial
See also:
setOrigin()
int QwtDoubleRange::pageSize ( ) const [inherited]

Returns the page size in steps.

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

Paint the dial

Parameters:
eventPaint event
bool QwtDoubleRange::periodic ( ) const [inherited]

Returns true if the range is periodic.

See also:
setPeriodic()
double QwtDoubleRange::prevValue ( ) const [protected, inherited]

Returns the previous value.

void QwtDial::rangeChange ( ) [protected, virtual, inherited]

QwtDoubleRange update hook.

Reimplemented from QwtDoubleRange.

const QwtCompassRose * QwtCompass::rose ( ) const
Returns:
rose
See also:
setRose()
QwtCompassRose * QwtCompass::rose ( )
Returns:
rose
See also:
setRose()
QwtDialScaleDraw * QwtDial::scaleDraw ( ) [inherited]

Return the scale draw.

const QwtDialScaleDraw * QwtDial::scaleDraw ( ) const [inherited]

Return the scale draw.

QRectF QwtDial::scaleInnerRect ( ) const [virtual, inherited]
Returns:
rect inside the scale
See also:
setLineWidth(), boundingRect(), innerRect()
QwtText QwtCompass::scaleLabel ( double  value) const [protected, virtual]

Map a value to a corresponding label

Parameters:
valueValue that will be mapped
Returns:
Label, or QString::null

label() looks in a map for a corresponding label for value or return an null text.

See also:
labelMap(), setLabelMap()

Reimplemented from QwtDial.

int QwtAbstractSlider::scrollMode ( ) const [protected, inherited]

sa ScrollMode

void QwtDial::setDirection ( Direction  direction) [inherited]

Set the direction of the dial (clockwise/counterclockwise)

Parameters:
directionDirection
See also:
direction()
void QwtDial::setFrameShadow ( Shadow  shadow) [inherited]

Sets the frame shadow value from the frame style.

Parameters:
shadowFrame shadow
See also:
setLineWidth(), QFrame::setFrameShadow()
void QwtCompass::setLabelMap ( const QMap< double, QString > &  map)

Set a map, mapping values to labels.

Parameters:
mapvalue to label map

The values of the major ticks are found by looking into this map. The default map consists of the labels N, NE, E, SE, S, SW, W, NW.

Warning:
The map will have no effect for values that are no major tick values. Major ticks can be changed by QwtScaleDraw::setScale
See also:
labelMap(), scaleDraw(), setScale()
void QwtDial::setLineWidth ( int  lineWidth) [inherited]

Sets the line width

Parameters:
lineWidthLine width
See also:
setFrameShadow()
void QwtAbstractSlider::setMass ( double  val) [virtual, inherited]

Set the slider's mass for flywheel effect.

If the slider's mass is greater then 0, it will continue to move after the mouse button has been released. Its speed decreases with time at a rate depending on the slider's mass. A large mass means that it will continue to move for a long time.

Derived widgets may overload this function to make it public.

Parameters:
valNew mass in kg
See also:
mass()

Reimplemented in QwtWheel.

void QwtDial::setMode ( Mode  mode) [inherited]

Change the mode of the meter.

Parameters:
modeNew mode

The value of the meter is indicated by the difference between north of the scale and the direction of the needle. In case of QwtDial::RotateNeedle north is pointing to the origin() and the needle is rotating, in case of QwtDial::RotateScale, the needle points to origin() and the scale is rotating.

The default mode is QwtDial::RotateNeedle.

See also:
mode(), setValue(), setOrigin()
void QwtAbstractSlider::setMouseOffset ( double  offset) [protected, inherited]
See also:
mouseOffset()
void QwtDial::setNeedle ( QwtDialNeedle needle) [virtual, inherited]

Set a needle for the dial

Qwt is missing a set of good looking needles. Contributions are very welcome.

Parameters:
needleNeedle
Warning:
The needle will be deleted, when a different needle is set or in ~QwtDial()
void QwtAbstractSlider::setOrientation ( Qt::Orientation  o) [virtual, inherited]

Set the orientation.

Parameters:
oOrientation. Allowed values are Qt::Horizontal and Qt::Vertical.

Reimplemented in QwtSlider, and QwtWheel.

void QwtDial::setOrigin ( double  origin) [virtual, inherited]

Change the origin.

The origin is the angle where scale and needle is relative to.

Parameters:
originNew origin
See also:
origin()
void QwtDoubleRange::setPeriodic ( bool  tf) [inherited]

Make the range periodic.

When the range is periodic, the value will be set to a point inside the interval such that

point = value + n * width 

if the user tries to set a new value which is outside the range. If the range is nonperiodic (the default), values outside the range will be clipped.

Parameters:
tftrue for a periodic range
void QwtAbstractSlider::setPosition ( const QPoint &  p) [protected, virtual, inherited]

Move the slider to a specified point, adjust the value and emit signals if necessary.

void QwtDoubleRange::setRange ( double  vmin,
double  vmax,
double  vstep = 0.0,
int  pageSize = 1 
) [inherited]

Specify range and step size.

Parameters:
vminlower boundary of the interval
vmaxhigher boundary of the interval
vstepstep width
pageSizepage size in steps
Warning:
  • A change of the range changes the value if it lies outside the new range. The current value will *not* be adjusted to the new step raster.
  • vmax < vmin is allowed.
  • If the step size is left out or set to zero, it will be set to 1/100 of the interval length.
  • If the step size has an absurd value, it will be corrected to a better one.
void QwtAbstractSlider::setReadOnly ( bool  readOnly) [virtual, slot, inherited]

En/Disable read only mode

In read only mode the slider can't be controlled by mouse or keyboard.

Parameters:
readOnlyEnables in case of true
See also:
isReadOnly()
void QwtCompass::setRose ( QwtCompassRose rose)

Set a rose for the compass

Parameters:
roseCompass rose
Warning:
The rose will be deleted, when a different rose is set or in ~QwtCompass
See also:
rose()
void QwtDial::setScale ( int  maxMajIntv,
int  maxMinIntv,
double  step = 0.0 
) [virtual, inherited]

Change the intervals of the scale

Parameters:
maxMajIntvMaximum for the number of major steps
maxMinIntvMaximum number of minor steps
stepStep size
See also:
QwtScaleEngine::divideScale()
void QwtDial::setScaleArc ( double  minArc,
double  maxArc 
) [inherited]

Change the arc of the scale

Parameters:
minArcLower limit
maxArcUpper limit
void QwtDial::setScaleComponents ( QwtAbstractScaleDraw::ScaleComponents  components) [inherited]

A wrapper method for accessing the scale draw.

Parameters:
componentsScale components
See also:
QwtAbstractScaleDraw::enableComponent()
void QwtDial::setScaleDraw ( QwtDialScaleDraw scaleDraw) [virtual, inherited]

Set an individual scale draw

Parameters:
scaleDrawScale draw
Warning:
The previous scale draw is deleted
void QwtDial::setScaleTicks ( int  minLen,
int  medLen,
int  majLen,
int  penWidth = 1 
) [inherited]

Assign length and width of the ticks

Parameters:
minLenLength of the minor ticks
medLenLength of the medium ticks
majLenLength of the major ticks
penWidthWidth of the pen for all ticks
See also:
QwtAbstractScaleDraw::setTickLength(), QwtDialScaleDraw::setPenWidth()
void QwtDoubleRange::setStep ( double  vstep) [inherited]

Change the step raster.

Parameters:
vstepnew step width
Warning:
The value will not be adjusted to the new step raster.

Reimplemented in QwtCounter.

void QwtAbstractSlider::setTracking ( bool  enable) [inherited]

Enables or disables tracking.

If tracking is enabled, the slider emits a valueChanged() signal whenever its value changes (the default behaviour). If tracking is disabled, the value changed() signal will only be emitted if:

  • the user releases the mouse button and the value has changed or
  • at the end of automatic scrolling.

Tracking is enabled by default.

Parameters:
enabletrue (enable) or false (disable) tracking.
void QwtAbstractSlider::setUpdateTime ( int  t) [inherited]

Specify the update interval for automatic scrolling.

Parameters:
tupdate interval in milliseconds
See also:
getScrollMode()
void QwtAbstractSlider::setValid ( bool  valid) [inline, inherited]
Parameters:
validtrue/false
See also:
QwtDblRange::isValid()

Reimplemented from QwtDoubleRange.

void QwtAbstractSlider::setValue ( double  val) [virtual, slot, inherited]

Move the slider to a specified value.

This function can be used to move the slider to a value which is not an integer multiple of the step size.

Parameters:
valnew value
See also:
fitValue()

Reimplemented from QwtDoubleRange.

void QwtDial::setWrapping ( bool  wrapping) [virtual, inherited]

Sets whether it is possible to step the value from the highest value to the lowest value and vice versa to on.

Parameters:
wrappingen/disables wrapping
See also:
wrapping(), QwtDoubleRange::periodic()
Note:
The meaning of wrapping is like the wrapping property of QSpinBox, but not like it is used in QDial.
QSize QwtDial::sizeHint ( ) const [virtual, inherited]
Returns:
Size hint
void QwtAbstractSlider::sliderMoved ( double  value) [signal, inherited]

This signal is emitted when the user moves the slider with the mouse.

Parameters:
valuenew value
void QwtAbstractSlider::sliderPressed ( ) [signal, inherited]

This signal is emitted when the user presses the movable part of the slider (start ScrMouse Mode).

void QwtAbstractSlider::sliderReleased ( ) [signal, inherited]

This signal is emitted when the user releases the movable part of the slider.

double QwtDoubleRange::step ( ) const [inherited]
Returns:
the step size
See also:
setStep(), setRange()

Reimplemented in QwtCounter.

void QwtDoubleRange::stepChange ( ) [protected, virtual, inherited]

Notify a change of the step size.

This virtual function is called whenever the step size changes. The default implementation does nothing.

void QwtAbstractSlider::stopMoving ( ) [inherited]

Stop updating if automatic scrolling is active.

void QwtAbstractSlider::timerEvent ( QTimerEvent *  e) [protected, virtual, inherited]

Qt timer event

Parameters:
eTimer event
void QwtDial::updateScale ( ) [protected, inherited]

Update the scale with the current attributes

See also:
setScale()
double QwtDoubleRange::value ( ) const [inherited]

Returns the current value.

Reimplemented in QwtCounter.

void QwtDial::valueChange ( ) [protected, virtual, inherited]

QwtDoubleRange update hook.

Reimplemented from QwtAbstractSlider.

void QwtAbstractSlider::valueChanged ( double  value) [signal, inherited]

Notify a change of value.

In the default setting (tracking enabled), this signal will be emitted every time the value changes ( see setTracking() ).

Parameters:
valuenew value
void QwtAbstractSlider::wheelEvent ( QWheelEvent *  e) [protected, virtual, inherited]

Wheel Event handler

Parameters:
eWhell event
bool QwtDial::wrapping ( ) const [inherited]

wrapping() holds whether it is possible to step the value from the highest value to the lowest value and vice versa.

See also:
setWrapping(), QwtDoubleRange::setPeriodic()
Note:
The meaning of wrapping is like the wrapping property of QSpinBox, but not like it is used in QDial.
qmi style