QGCHilConfiguration.h 1002 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/****************************************************************************
 *
 *   (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

10

11 12 13 14 15
#ifndef QGCHILCONFIGURATION_H
#define QGCHILCONFIGURATION_H

#include <QWidget>

16
#include "Vehicle.h"
17 18 19 20 21 22 23 24 25 26

namespace Ui {
class QGCHilConfiguration;
}

class QGCHilConfiguration : public QWidget
{
    Q_OBJECT
    
public:
27
    QGCHilConfiguration(Vehicle* vehicle, QWidget *parent = 0);
28 29 30
    ~QGCHilConfiguration();

public slots:
31 32
    /** @brief Receive status message */
    void receiveStatusMessage(const QString& message);
33
    void setVersion(QString version);
34

35 36 37
private slots:
    void on_simComboBox_currentIndexChanged(int index);

38
private:
39 40
    Vehicle* _vehicle;
    
41 42 43 44
    Ui::QGCHilConfiguration *ui;
};

#endif // QGCHILCONFIGURATION_H