CompassConfig.h 643 Bytes
Newer Older
1 2 3 4 5
#ifndef COMPASSCONFIG_H
#define COMPASSCONFIG_H

#include <QWidget>
#include "ui_CompassConfig.h"
6 7
#include "UASManager.h"
#include "UASInterface.h"
8 9 10 11 12 13 14
class CompassConfig : public QWidget
{
    Q_OBJECT
    
public:
    explicit CompassConfig(QWidget *parent = 0);
    ~CompassConfig();
15 16 17 18 19 20
private slots:
    void activeUASSet(UASInterface *uas);
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
    void enableClicked(bool enabled);
    void autoDecClicked(bool enabled);
    void orientationComboChanged(int index);
21 22
private:
    Ui::CompassConfig ui;
23
    UASInterface *m_uas;
24 25 26
};

#endif // COMPASSCONFIG_H