#include <Dial.h>
|
QSize | sizeHint () const override |
| Gives a hint aboute the optimal size. More...
|
|
bool | event (QEvent *) override |
|
void | paintEvent (QPaintEvent *) override |
|
◆ Dial()
Dial::Dial |
( |
QWidget * |
parent = 0 | ) |
|
◆ ~Dial()
◆ event()
bool Dial::event |
( |
QEvent * |
event | ) |
|
|
overrideprotected |
◆ getMajorStep()
double Dial::getMajorStep |
( |
| ) |
const |
◆ getMajorStops()
unsigned int Dial::getMajorStops |
( |
| ) |
const |
◆ getMinorStops()
unsigned int Dial::getMinorStops |
( |
| ) |
const |
◆ getPieColor()
const QColor & Dial::getPieColor |
( |
| ) |
const |
◆ getScaleMin()
double Dial::getScaleMin |
( |
| ) |
const |
◆ getSpan()
double Dial::getSpan |
( |
| ) |
const |
◆ getTitle()
QString Dial::getTitle |
( |
| ) |
const |
◆ getUnit()
QString Dial::getUnit |
( |
| ) |
const |
◆ paintEvent()
void Dial::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ redrawEvent
void Dial::redrawEvent |
( |
| ) |
|
|
privateslot |
Redraw event slot, that is called by the redraw timer.
References impl.
Referenced by Dial().
◆ resetMajorStep()
void Dial::resetMajorStep |
( |
| ) |
|
◆ resetMajorStops()
void Dial::resetMajorStops |
( |
| ) |
|
◆ resetMinorStops()
void Dial::resetMinorStops |
( |
| ) |
|
◆ resetPieColor()
void Dial::resetPieColor |
( |
| ) |
|
◆ resetScaleMin()
void Dial::resetScaleMin |
( |
| ) |
|
◆ resetSpan()
◆ resetTitle()
void Dial::resetTitle |
( |
| ) |
|
◆ resetUnit()
◆ setGradientStops()
void Dial::setGradientStops |
( |
const QGradientStops & |
stops | ) |
|
◆ setMajorStep()
void Dial::setMajorStep |
( |
double |
s | ) |
|
◆ setMajorStops()
void Dial::setMajorStops |
( |
unsigned int |
s | ) |
|
◆ setMinorStops()
void Dial::setMinorStops |
( |
unsigned int |
s | ) |
|
◆ setNeedle()
void Dial::setNeedle |
( |
const QString & |
path | ) |
|
◆ setNeedleCenterX()
void Dial::setNeedleCenterX |
( |
int |
x | ) |
|
◆ setPieColor()
void Dial::setPieColor |
( |
const QColor & |
c | ) |
|
◆ setpointChanged
void Pd::Dial::setpointChanged |
( |
double |
| ) |
|
|
signal |
◆ setScaleMin()
void Dial::setScaleMin |
( |
double |
s | ) |
|
◆ setSetpoint()
void Dial::setSetpoint |
( |
const QString & |
path | ) |
|
◆ setSpan()
void Dial::setSpan |
( |
double |
s | ) |
|
◆ setTitle()
void Dial::setTitle |
( |
const QString & |
t | ) |
|
◆ setUnit()
void Dial::setUnit |
( |
const QString & |
u | ) |
|
◆ sizeHint()
QSize Dial::sizeHint |
( |
| ) |
const |
|
overrideprotected |
Gives a hint aboute the optimal size.
◆ currentValue
◆ Impl
◆ impl
std::unique_ptr<Impl> Pd::Dial::impl |
|
private |
Referenced by event(), getMajorStep(), getMajorStops(), getMinorStops(), getPieColor(), getScaleMin(), getSpan(), getTitle(), getUnit(), Pd::Dial::Value::getValue(), Pd::Dial::Value::hasData(), Pd::Dial::Value::newValues(), paintEvent(), redrawEvent(), setGradientStops(), setMajorStep(), setMajorStops(), setMinorStops(), setNeedle(), setNeedleCenterX(), setPieColor(), setScaleMin(), setSetpoint(), setSpan(), setTitle(), setUnit(), and Pd::Dial::Value::stateChange().
◆ setpointValue
◆ majorStep
double Pd::Dial::majorStep |
|
readwrite |
◆ majorStops
unsigned int Pd::Dial::majorStops |
|
readwrite |
◆ minorStops
unsigned int Pd::Dial::minorStops |
|
readwrite |
◆ pieColor
QColor Pd::Dial::pieColor |
|
readwrite |
◆ scaleMin
double Pd::Dial::scaleMin |
|
readwrite |
◆ span
◆ title
◆ unit
The documentation for this class was generated from the following files: