QGCUnconnectedInfoWidget.h 735 Bytes
Newer Older
1
#pragma once
2 3 4

#include <QWidget>

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

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
    void addLink();
};