#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 829 of file qcgaugewidget.cpp.
|
virtual |
Implements QcItem.
Definition at line 879 of file qcgaugewidget.cpp.
|
private |
Definition at line 927 of file qcgaugewidget.cpp.
|
private |
Definition at line 902 of file qcgaugewidget.cpp.
|
private |
Definition at line 1022 of file qcgaugewidget.cpp.
|
private |
Definition at line 962 of file qcgaugewidget.cpp.
|
private |
Definition at line 981 of file qcgaugewidget.cpp.
|
private |
|
private |
Definition at line 939 of file qcgaugewidget.cpp.
|
private |
Definition at line 848 of file qcgaugewidget.cpp.
|
private |
Definition at line 858 of file qcgaugewidget.cpp.
void QcAttitudeMeter::setCurrentPitch | ( | float | pitch | ) |
Definition at line 836 of file qcgaugewidget.cpp.
void QcAttitudeMeter::setCurrentRoll | ( | float | roll | ) |
Definition at line 842 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.