QGCUASFileViewMulti.h 710 Bytes
Newer Older
1 2 3 4 5
#ifndef QGCUASFILEVIEWMULTI_H
#define QGCUASFILEVIEWMULTI_H

#include <QMap>

6
#include "QGCDockWidget.h"
7
#include "QGCUASFileView.h"
8
#include "UAS.h"
9 10 11 12 13 14

namespace Ui
{
class QGCUASFileViewMulti;
}

15
class QGCUASFileViewMulti : public QGCDockWidget
16 17 18 19
{
    Q_OBJECT

public:
20
    explicit QGCUASFileViewMulti(const QString& title, QAction* action, QWidget *parent = 0);
21 22 23 24
    ~QGCUASFileViewMulti();

protected:
    void changeEvent(QEvent *e);
25 26 27 28 29 30
    QMap<UAS*, QGCUASFileView*> lists;
    
private slots:
    void _vehicleAdded(Vehicle* vehicle);
    void _vehicleRemoved(Vehicle* vehicle);
    void _activeVehicleChanged(Vehicle* vehicle);
31 32 33 34 35 36

private:
    Ui::QGCUASFileViewMulti *ui;
};

#endif // QGCUASFILEVIEWMULTI_H