QGCUnconnectedInfoWidget.h 829 Bytes
Newer Older
1 2 3 4 5
#ifndef QGCUNCONNECTEDINFOWIDGET_H
#define QGCUNCONNECTEDINFOWIDGET_H

#include <QWidget>

6 7 8
namespace Ui
{
class QGCUnconnectedInfoWidget;
9 10
}

11 12 13 14 15 16 17 18 19 20
/**
 * @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
 */
21 22 23 24 25 26 27 28 29 30
class QGCUnconnectedInfoWidget : public QWidget
{
    Q_OBJECT

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

    Ui::QGCUnconnectedInfoWidget *ui;

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

#endif // QGCUNCONNECTEDINFOWIDGET_H