QGCUDPLinkConfiguration.h 577 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
#ifndef QGCUDPLINKCONFIGURATION_H
#define QGCUDPLINKCONFIGURATION_H

#include <QWidget>

#include "UDPLink.h"

namespace Ui {
    class QGCUDPLinkConfiguration;
}

class QGCUDPLinkConfiguration : public QWidget
{
    Q_OBJECT

public:
    explicit QGCUDPLinkConfiguration(UDPLink* link, QWidget *parent = 0);
    ~QGCUDPLinkConfiguration();

public slots:
    void addHost();

protected:
    void changeEvent(QEvent *e);

    UDPLink* link;    ///< UDP link instance this widget configures

private:
    Ui::QGCUDPLinkConfiguration *ui;
};

#endif // QGCUDPLINKCONFIGURATION_H