PlanViewSettings.h 888 Bytes
Newer Older
1 2
/****************************************************************************
 *
Gus Grubba's avatar
Gus Grubba committed
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

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

    DEFINE_SETTINGFACT(displayPresetsTabFirst)
24
    DEFINE_SETTINGFACT(showMissionItemStatus)
25
    DEFINE_SETTINGFACT(useConditionGate)
26
    DEFINE_SETTINGFACT(takeoffItemNotRequired)
Remek Zajac's avatar
Remek Zajac committed
27
    DEFINE_SETTINGFACT(showGimbalOnlyWhenSet)
28
};