QGCWaypointListMulti.h 644 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 29 30 31 32 33 34 35 36
}

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:
    void changeEvent(QEvent *e);
    QMap<int, WaypointList*> lists;

private:
    Ui::QGCWaypointListMulti *ui;
};

#endif // QGCWAYPOINTLISTMULTI_H