19 #ifndef QVCT_CINSTRUMENTGACHRONOGRAPH_HPP
20 #define QVCT_CINSTRUMENTGACHRONOGRAPH_HPP
General aviation chronograph (instrument)
QPixmap qPixmapBufferBackground
Pixmap buffer used to render and cache the instrument's (static) background.
virtual void draw()
Draws the instrument (resets if the vessel is undefined)
double fdSW2TimeStarted
Stop-watch 2 last started time (stopped if 0)
double fdSW2TimeAccumulated
Stop-watch 2 accumulated time.
double fdSW1TimeAccumulated
Stop-watch 1 accumulated time.
QPixmap qPixmapBuffer
Pixmap buffer used to render and cache the instrument.
virtual void mouseReleaseEvent(QMouseEvent *_pqMouseEvent)
double fdSW1TimeStarted
Stop-watch 1 last started time (stopped if 0)
CUnitTimeZone::EUnit eUnit
Unit for which the last rendering was achieved.
void drawStatic(CUnitTimeZone::EUnit _eUnit)
bool bForceRedraw
Forces the redraw of the instrument (not matter its cache content)
void drawDynamic(CUnitTimeZone::EUnit _eUnit, double _fdTime)
CInstrumentGAChronograph(CVesselCockpit *_poVesselCockpit)
virtual ~CInstrumentGAChronograph()
double fdTime
Time at which the last rendering was achieved.
virtual void mouseDoubleClickEvent(QMouseEvent *_pqMouseEvent)
[UI] Generic vessel's cockpit view (window)