ApmSoftwareConfig.h 1.32 KB
Newer Older
1 2 3 4 5
#ifndef APMSOFTWARECONFIG_H
#define APMSOFTWARECONFIG_H

#include <QWidget>
#include "ui_ApmSoftwareConfig.h"
6 7 8 9 10 11 12
#include "FlightModeConfig.h"
#include "BasicPidConfig.h"
#include "StandardParamConfig.h"
#include "GeoFenceConfig.h"
#include "FailSafeConfig.h"
#include "AdvancedParamConfig.h"
#include "ArduCopterPidConfig.h"
13
#include "ArduPlanePidConfig.h"
14
#include "ArduRoverPidConfig.h"
15
#include "AdvParameterList.h"
16 17
#include "UASInterface.h"
#include "UASManager.h"
18 19 20 21 22 23 24 25

class ApmSoftwareConfig : public QWidget
{
    Q_OBJECT
    
public:
    explicit ApmSoftwareConfig(QWidget *parent = 0);
    ~ApmSoftwareConfig();
26 27 28
private slots:
    void activateStackedWidget();
    void activeUASSet(UASInterface *uas);
29 30
private:
    Ui::ApmSoftwareConfig ui;
31 32 33 34 35 36 37 38 39 40
    QPointer<BasicPidConfig> m_basicPidConfig;
    QPointer<FlightModeConfig> m_flightConfig;
    QPointer<StandardParamConfig> m_standardParamConfig;
    QPointer<GeoFenceConfig> m_geoFenceConfig;
    QPointer<FailSafeConfig> m_failSafeConfig;
    QPointer<AdvancedParamConfig> m_advancedParamConfig;
    QPointer<ArduCopterPidConfig> m_arduCopterPidConfig;
    QPointer<ArduPlanePidConfig> m_arduPlanePidConfig;
    QPointer<ArduRoverPidConfig> m_arduRoverPidConfig;
    QPointer<AdvParameterList> m_advParameterList;
41
    QMap<QObject*,QWidget*> m_buttonToConfigWidgetMap;
42 43 44
};

#endif // APMSOFTWARECONFIG_H