QwtKnob(3)

NAME
QwtKnob - The Knob Widget.

SYNOPSIS

#include <qwt_knob.h>

Inherits QwtSliderBase, and QwtScaleIf.

  Public Types
enum Symbol { Line, Dot }

  Public Methods
QwtKnob (QWidget *parent=0, const char *name=0)
~QwtKnob ()
void setKnobWidth (int w)
void setTotalAngle (double angle)
void setBorderWidth (int bw)

DETAILED DESCRIPTION

The Knob Widget.

 The QwtKnob widget imitates look and behaviour of a volume knob on a radio. It contains a scale around the knob which is set up automatically or can be configured manually (see QwtScaleIf). Automatic scrolling is enabled when the user presses a mouse button on the scale. For a description of signals, slots and other members, see QwtSliderBase.

See also:
QwtSliderBase and QwtScaleIf for the descriptions of the inherited members.

CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

  QwtKnob::QwtKnob (QWidget * parent = 0, const char * name = 0)

Constructor.

Parameters:

parent
    Parent widget

name
    Name

  QwtKnob::~QwtKnob ()

Destructor.

MEMBER FUNCTION DOCUMENTATION

  void QwtKnob::setBorderWidth (int bw)

Set the knob's border width.

Parameters:

bw  new border width

  void QwtKnob::setKnobWidth (int w)

Change the knob's width.

 The specified width must be >= 5, or it will be clipped.

Parameters:

w   New width

  void QwtKnob::setTotalAngle (double angle)

Set the total angle by which the knob can be turned.

Parameters:

angle
    Angle in degrees.The default angle is 270 degrees. It is possible to specify an angle of more than 360 degrees so that the knob can be turned several times around its axis.

AUTHOR

Generated automatically by Doxygen for Qwt User's Guide from the source code.