#include <qcgaugewidget.h>
Public Member Functions | |
void | draw (QPainter *) |
QcAttitudeMeter (QObject *parent=0) | |
void | setCurrentPitch (float pitch) |
void | setCurrentRoll (float roll) |
Public Member Functions inherited from QcItem | |
float | position () |
QcItem (QObject *parent=0) | |
QRectF | rect () |
void | setPosition (float percentage) |
virtual int | type () |
Private Member Functions | |
void | drawDegree (QPainter *painter, const QRectF &tmpRect, float deg) |
void | drawDegrees (QPainter *) |
void | drawHandle (QPainter *) |
void | drawLowerEllipse (QPainter *, const QRectF &) |
void | drawPitchSteps (QPainter *, const QRectF &) |
void | drawSteps (QPainter *, float) |
void | drawUpperEllipse (QPainter *, const QRectF &) |
QPointF | getIntersection (float r, const QPointF &pitchPoint, const QPointF &pt) |
float | getStartAngle (const QRectF &tmpRect) |
Private Attributes | |
QPolygonF | mHandlePoly |
float | mPitch |
float | mPitchOffset |
float | mRoll |
QPainterPath | mStepsPath |
Additional Inherited Members | |
Public Types inherited from QcItem | |
enum | Error { InvalidValueRange, InvalidDegreeRange, InvalidStep } |
Protected Member Functions inherited from QcItem | |
QRectF | adjustRect (float percentage) |
float | getAngle (const QPointF &, const QRectF &tmpRect) |
QPointF | getPoint (float deg, const QRectF &tmpRect) |
float | getRadius (const QRectF &) |
QRectF | resetRect () |
void | update () |
Definition at line 324 of file qcgaugewidget.h.
|
explicit |
Definition at line 828 of file qcgaugewidget.cpp.
|
virtual |
Implements QcItem.
Definition at line 878 of file qcgaugewidget.cpp.
|
private |
Definition at line 926 of file qcgaugewidget.cpp.
|
private |
Definition at line 901 of file qcgaugewidget.cpp.
|
private |
Definition at line 1021 of file qcgaugewidget.cpp.
|
private |
Definition at line 961 of file qcgaugewidget.cpp.
|
private |
Definition at line 980 of file qcgaugewidget.cpp.
|
private |
|
private |
Definition at line 938 of file qcgaugewidget.cpp.
|
private |
Definition at line 847 of file qcgaugewidget.cpp.
|
private |
Definition at line 857 of file qcgaugewidget.cpp.
void QcAttitudeMeter::setCurrentPitch | ( | float | pitch | ) |
Definition at line 835 of file qcgaugewidget.cpp.
void QcAttitudeMeter::setCurrentRoll | ( | float | roll | ) |
Definition at line 841 of file qcgaugewidget.cpp.
|
private |
Definition at line 338 of file qcgaugewidget.h.
|
private |
Definition at line 335 of file qcgaugewidget.h.
|
private |
Definition at line 336 of file qcgaugewidget.h.
|
private |
Definition at line 334 of file qcgaugewidget.h.
|
private |
Definition at line 339 of file qcgaugewidget.h.