QGCUASFileViewMulti.h 640 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
#ifndef QGCUASFILEVIEWMULTI_H
#define QGCUASFILEVIEWMULTI_H

#include <QWidget>
#include <QMap>

#include "QGCUASFileView.h"
#include "UASInterface.h"

namespace Ui
{
class QGCUASFileViewMulti;
}

class QGCUASFileViewMulti : public QWidget
{
    Q_OBJECT

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

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

protected:
    void changeEvent(QEvent *e);
    QMap<int, QGCUASFileView*> lists;

private:
    Ui::QGCUASFileViewMulti *ui;
};

#endif // QGCUASFILEVIEWMULTI_H