All Classes Files Functions Enumerations Enumerator Macros
qfi_HSI.h
Go to the documentation of this file.
/***************************************************************************/
#ifndef QFI_HSI_H
#define QFI_HSI_H
#include <QGraphicsView>
#include <QGraphicsSvgItem>
class qfi_HSI : public QGraphicsView
{
Q_OBJECT
public:
qfi_HSI( QWidget *parent = 0 );
virtual ~qfi_HSI();
void reinit();
void update();
void setHeading( float heading );
protected:
void resizeEvent( QResizeEvent *event );
private:
QGraphicsScene *m_scene;
QGraphicsSvgItem *m_itemFace;
QGraphicsSvgItem *m_itemCase;
float m_heading;
float m_scaleX;
float m_scaleY;
const int m_originalHeight;
const int m_originalWidth;
QPointF m_originalHsiCtr;
const int m_faceZ;
const int m_caseZ;
void init();
void reset();
void updateView();
};
#endif // QFI_HSI_H
qfi_HSI::reinit
void reinit()
Definition: qfi_HSI.cpp:111
qfi_HSI::qfi_HSI
qfi_HSI(QWidget *parent=0)
Definition: qfi_HSI.cpp:64
qfi_HSI::resizeEvent
void resizeEvent(QResizeEvent *event)
Definition: qfi_HSI.cpp:137
qfi_HSI
Definition: qfi_HSI.h:59
qfi_HSI::update
void update()
Definition: qfi_HSI.cpp:123
qfi_HSI::setHeading
void setHeading(float heading)
Definition: qfi_HSI.cpp:130
qfi_HSI::~qfi_HSI
virtual ~qfi_HSI()
Definition: qfi_HSI.cpp:97