qt_demoe/third/qwtdemo/examples/dials/cockpit_grid.h

29 lines
502 B
C
Raw Normal View History

2019-11-07 02:55:57 +00:00
#include <qframe.h>
#include <qpalette.h>
class QwtDial;
class QwtAnalogClock;
class SpeedoMeter;
class AttitudeIndicator;
class CockpitGrid: public QFrame
{
Q_OBJECT
public:
CockpitGrid( QWidget *parent = NULL );
private Q_SLOTS:
void changeSpeed();
void changeGradient();
void changeAngle();
private:
QPalette colorTheme( const QColor & ) const;
QwtDial *createDial( int pos );
QwtAnalogClock *d_clock;
SpeedoMeter *d_speedo;
AttitudeIndicator *d_ai;
};