AdvParameterList.h 697 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef ADVPARAMETERLIST_H
#define ADVPARAMETERLIST_H

#include <QWidget>
#include "ui_AdvParameterList.h"
#include "AP2ConfigWidget.h"

class AdvParameterList : public AP2ConfigWidget
{
    Q_OBJECT
    
public:
    explicit AdvParameterList(QWidget *parent = 0);
    void setParameterMetaData(QString name,QString humanname,QString description);
    ~AdvParameterList();
private slots:
    void parameterChanged(int uas, int component, QString parameterName, QVariant value);
private:
19 20 21
    QMap<QString,QTableWidgetItem*> m_paramValueMap;
    QMap<QString,QString> m_paramToNameMap;
    QMap<QString,QString> m_paramToDescriptionMap;
22 23 24 25
    Ui::AdvParameterList ui;
};

#endif // ADVPARAMETERLIST_H