ApmSoftwareConfig.h 1.21 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
    BasicPidConfig *basicPidConfig;
    FlightModeConfig *flightConfig;
    StandardParamConfig *standardParamConfig;
    GeoFenceConfig *geoFenceConfig;
    FailSafeConfig *failSafeConfig;
    AdvancedParamConfig *advancedParamConfig;
37 38
    ArduCopterPidConfig *arduCopterPidConfig;
    ArduPlanePidConfig *arduPlanePidConfig;
39
    ArduRoverPidConfig *arduRoverPidConfig;
40
    AdvParameterList *advParameterList;
41
    QMap<QObject*,QWidget*> buttonToConfigWidgetMap;
42 43 44
};

#endif // APMSOFTWARECONFIG_H