Public Member Functions | Private Member Functions | Private Attributes
QcAttitudeMeter Class Reference

#include <qcgaugewidget.h>

Inheritance diagram for QcAttitudeMeter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void draw (QPainter *)
 QcAttitudeMeter (QObject *parent=0)
void setCurrentPitch (float pitch)
void setCurrentRoll (float roll)

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

Detailed Description

Definition at line 324 of file qcgaugewidget.h.


Constructor & Destructor Documentation

QcAttitudeMeter::QcAttitudeMeter ( QObject *  parent = 0) [explicit]

Definition at line 828 of file qcgaugewidget.cpp.


Member Function Documentation

void QcAttitudeMeter::draw ( QPainter *  painter) [virtual]

Implements QcItem.

Definition at line 878 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawDegree ( QPainter *  painter,
const QRectF &  tmpRect,
float  deg 
) [private]

Definition at line 926 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawDegrees ( QPainter *  painter) [private]

Definition at line 901 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawHandle ( QPainter *  painter) [private]

Definition at line 1021 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawLowerEllipse ( QPainter *  painter,
const QRectF &  tmpRect 
) [private]

Definition at line 961 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawPitchSteps ( QPainter *  painter,
const QRectF &  tmpRect 
) [private]

Definition at line 980 of file qcgaugewidget.cpp.

void QcAttitudeMeter::drawSteps ( QPainter *  ,
float   
) [private]
void QcAttitudeMeter::drawUpperEllipse ( QPainter *  painter,
const QRectF &  tmpRect 
) [private]

Definition at line 938 of file qcgaugewidget.cpp.

QPointF QcAttitudeMeter::getIntersection ( float  r,
const QPointF &  pitchPoint,
const QPointF &  pt 
) [private]

Definition at line 847 of file qcgaugewidget.cpp.

float QcAttitudeMeter::getStartAngle ( const QRectF &  tmpRect) [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.


Member Data Documentation

QPolygonF QcAttitudeMeter::mHandlePoly [private]

Definition at line 338 of file qcgaugewidget.h.

float QcAttitudeMeter::mPitch [private]

Definition at line 335 of file qcgaugewidget.h.

Definition at line 336 of file qcgaugewidget.h.

float QcAttitudeMeter::mRoll [private]

Definition at line 334 of file qcgaugewidget.h.

QPainterPath QcAttitudeMeter::mStepsPath [private]

Definition at line 339 of file qcgaugewidget.h.


The documentation for this class was generated from the following files:


gauges
Author(s):
autogenerated on Thu Dec 8 2016 03:30:53