PlanViewSettings.h 935 Bytes
Newer Older
1 2
/****************************************************************************
 *
3
 * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
4 5 6 7 8 9 10 11 12 13 14 15 16 17
 *
 * QGroundControl is licensed according to the terms in the file
 * COPYING.md in the root of the source code directory.
 *
 ****************************************************************************/

#pragma once

#include "SettingsGroup.h"

class PlanViewSettings : public SettingsGroup
{
    Q_OBJECT
public:
18 19
    PlanViewSettings(QObject* parent = nullptr);
    DEFINE_SETTING_NAME_GROUP()
20 21 22 23 24 25 26 27 28

    // Most individual settings related to PlanView are still in AppSettings due to historical reasons.

    DEFINE_SETTINGFACT(displayPresetsTabFirst)
    DEFINE_SETTINGFACT(showMissionItemStatus)
    DEFINE_SETTINGFACT(useConditionGate)
    DEFINE_SETTINGFACT(takeoffItemNotRequired)
    DEFINE_SETTINGFACT(showGimbalOnlyWhenSet)
    DEFINE_SETTINGFACT(vtolTransitionDistance)
29
};