All Classes Files Functions Enumerations Enumerator Macros
qfi_VSI.h
Go to the documentation of this file.
/***************************************************************************/
#ifndef QFI_VSI_H
#define QFI_VSI_H
#include <QGraphicsView>
#include <QGraphicsSvgItem>
class qfi_VSI : public QGraphicsView
{
Q_OBJECT
public:
qfi_VSI( QWidget *parent = 0 );
virtual ~qfi_VSI();
void reinit();
void update();
void setClimbRate( float climbRate );
protected:
void resizeEvent( QResizeEvent *event );
private:
QGraphicsScene *m_scene;
QGraphicsSvgItem *m_itemFace;
QGraphicsSvgItem *m_itemHand;
QGraphicsSvgItem *m_itemCase;
float m_climbRate;
float m_scaleX;
float m_scaleY;
const int m_originalHeight;
const int m_originalWidth;
QPointF m_originalVsiCtr;
const int m_faceZ;
const int m_handZ;
const int m_caseZ;
void init();
void reset();
void updateView();
};
#endif // QFI_VSI_H
qfi_VSI::setClimbRate
void setClimbRate(float climbRate)
Definition: qfi_VSI.cpp:132
qfi_VSI::~qfi_VSI
virtual ~qfi_VSI()
Definition: qfi_VSI.cpp:99
qfi_VSI::reinit
void reinit()
Definition: qfi_VSI.cpp:113
qfi_VSI::update
void update()
Definition: qfi_VSI.cpp:125
qfi_VSI::resizeEvent
void resizeEvent(QResizeEvent *event)
Definition: qfi_VSI.cpp:142
qfi_VSI
Definition: qfi_VSI.h:59
qfi_VSI::qfi_VSI
qfi_VSI(QWidget *parent=0)
Definition: qfi_VSI.cpp:64