QGCWaypointListMulti.h 672 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#ifndef QGCWAYPOINTLISTMULTI_H
#define QGCWAYPOINTLISTMULTI_H

#include <QWidget>
#include <QMap>

#include "WaypointList.h"
#include "UASInterface.h"

10 11 12
namespace Ui
{
class QGCWaypointListMulti;
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
}

class QGCWaypointListMulti : public QWidget
{
    Q_OBJECT

public:
    explicit QGCWaypointListMulti(QWidget *parent = 0);
    ~QGCWaypointListMulti();

public slots:
    void systemDeleted(QObject* uas);
    void systemCreated(UASInterface* uas);
    void systemSetActive(int uas);

protected:
29
    quint16 offline_uas_id;
30 31 32 33 34 35 36 37
    void changeEvent(QEvent *e);
    QMap<int, WaypointList*> lists;

private:
    Ui::QGCWaypointListMulti *ui;
};

#endif // QGCWAYPOINTLISTMULTI_H