QGCHilFlightGearConfiguration.h 783 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#ifndef QGCHILFLIGHTGEARCONFIGURATION_H
#define QGCHILFLIGHTGEARCONFIGURATION_H

#include <QWidget>

#include "QGCHilLink.h"
#include "QGCFlightGearLink.h"
#include "UAS.h"

namespace Ui {
class QGCHilFlightGearConfiguration;
}

class QGCHilFlightGearConfiguration : public QWidget
{
    Q_OBJECT
    
public:
    explicit QGCHilFlightGearConfiguration(UAS* mav, QWidget *parent = 0);
    ~QGCHilFlightGearConfiguration();

protected:
    UAS* mav;
    
private slots:
    void on_startButton_clicked();
27
    void on_stopButton_clicked();
28
    void on_barometerOffsetLineEdit_textChanged(const QString& baroOffset);
29 30 31

private:
    Ui::QGCHilFlightGearConfiguration *ui;
32 33 34

signals:
     void barometerOffsetChanged(float barometerOffsetkPa);
35 36 37
};

#endif // QGCHILFLIGHTGEARCONFIGURATION_H