The Knob Widget.
Más...
#include <qwt_knob.h>
Lista de todos los miembros.
Descripción detallada
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 QwtAbstractScale). Automatic scrolling is enabled when the user presses a mouse button on the scale. For a description of signals, slots and other members, see QwtAbstractSlider.
- Ver también:
- QwtAbstractSlider and QwtAbstractScale for the descriptions of the inherited members.
Documentación de las enumeraciones miembro de la clase
Documentación del constructor y destructor
| QwtKnob::QwtKnob |
( |
QWidget * |
parent, |
|
|
const char * |
name |
|
) |
| [explicit] |
Constructor
- Parámetros:
-
| parent | Parent widget |
| name | Object name |
| QwtKnob::~QwtKnob |
( |
| ) |
[virtual] |
Documentación de las funciones miembro
| int QwtKnob::borderWidth |
( |
| ) |
const |
| void QwtKnob::draw |
( |
QPainter * |
p, |
|
|
const QRect & |
ur |
|
) |
| [protected] |
| void QwtKnob::drawKnob |
( |
QPainter * |
painter, |
|
|
const QRect & |
r |
|
) |
| [protected] |
Draw the knob.
- Parámetros:
-
| painter | painter |
| r | Bounding rectangle of the knob (without scale) |
| void QwtKnob::drawMarker |
( |
QPainter * |
p, |
|
|
double |
arc, |
|
|
const QColor & |
c |
|
) |
| [protected] |
Draw the marker at the knob's front.
- Parámetros:
-
| p | Painter |
| arc | Angle of the marker |
| c | Marker color |
| int QwtKnob::knobWidth |
( |
| ) |
const |
| QSize QwtKnob::minimumSizeHint |
( |
| ) |
const [virtual] |
| void QwtKnob::paintEvent |
( |
QPaintEvent * |
e | ) |
[protected, virtual] |
Repaint the knob.
Reimplementado de QWidget.
| void QwtKnob::resizeEvent |
( |
QResizeEvent * |
e | ) |
[protected, virtual] |
| void QwtKnob::setBorderWidth |
( |
int |
bw | ) |
|
Set the knob's border width.
- Parámetros:
-
| void QwtKnob::setKnobWidth |
( |
int |
w | ) |
|
Change the knob's width.
The specified width must be >= 5, or it will be clipped.
- Parámetros:
-
| void QwtKnob::setTotalAngle |
( |
double |
angle | ) |
|
Set the total angle by which the knob can be turned.
- Parámetros:
-
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.
| QSize QwtKnob::sizeHint |
( |
| ) |
const [virtual] |
| Symbol QwtKnob::symbol |
( |
| ) |
const |
| double QwtKnob::totalAngle |
( |
| ) |
const |
Documentación de propiedades
int QwtKnob::borderWidth [read, write] |
int QwtKnob::knobWidth [read, write] |
Return the width of the knob.
double QwtKnob::totalAngle [read, write] |
La documentación para esta clase fue generada a partir de los siguientes ficheros: