QGCPendingParamWidget.h 690 Bytes
Newer Older
1 2 3 4 5 6
#ifndef QGCPENDINGPARAMWIDGET_H
#define QGCPENDINGPARAMWIDGET_H


#include "QGCParamWidget.h"

7 8
class QGridLayout;

9 10 11 12 13 14 15 16
class QGCPendingParamWidget : public QGCParamWidget
{
    Q_OBJECT

public:
    explicit QGCPendingParamWidget(QObject* parent);

protected:
17 18
    virtual void connectToParamManager();
    virtual void disconnectFromParamManager();
19

20 21
    virtual void connectViewSignalsAndSlots();
    virtual void disconnectViewSignalsAndSlots();
22

23 24
    virtual void addActionButtonsToLayout(QGridLayout* layout);

25 26 27 28

signals:
    
public slots:
29 30
    virtual void handlePendingParamUpdate(int compId, const QString& paramName, QVariant value, bool isPending);

31 32 33
};

#endif // QGCPENDINGPARAMWIDGET_H