QGCUnconnectedInfoWidget.h 833 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#ifndef QGCUNCONNECTEDINFOWIDGET_H
#define QGCUNCONNECTEDINFOWIDGET_H

#include <QWidget>

namespace Ui {
    class QGCUnconnectedInfoWidget;
}

10 11 12 13 14 15 16 17 18 19
/**
 * @brief Widget providing initial instructions
 *
 * This widget provides initial instructions to new users how
 * to connect a simulation or a live link to a system to
 * QGroundControl. The widget should be automatically be
 * unloaded and destroyed once the first MAV/UAS is connected.
 *
 * @see UASListWidget
 */
20 21 22 23 24 25 26 27 28 29
class QGCUnconnectedInfoWidget : public QWidget
{
    Q_OBJECT

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

    Ui::QGCUnconnectedInfoWidget *ui;

30 31 32 33
public slots:
    /** @brief Start simulation */
    void simulate();
    /** @brief Add a link */
34 35 36 37
    void addLink();
};

#endif // QGCUNCONNECTEDINFOWIDGET_H