QGCUASFileViewMulti.h 631 Bytes
Newer Older
1
#pragma once
2 3 4

#include <QMap>

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

namespace Ui
{
class QGCUASFileViewMulti;
}

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

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

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

private:
    Ui::QGCUASFileViewMulti *ui;
};