#include <Common.h>
Public Types | |
| enum class | DisplayOption { Default , BoolTrueIfPositive , Bitset } |
Public Member Functions | |
| void | parse (const QJsonValue &jsonValue) |
Public Attributes | |
| QString | label {} |
| QString | name {} |
| vehicle parameter name, this may have an index in the form '${i}' | |
| int | indexOffset {} |
| extra offset to the ${i} index, or bitset shift offset | |
| DisplayOption | displayOption {DisplayOption::Default} |
| bool | advanced {false} |
| whether this should only be shown as advanced option | |
Represents a per-channel or per-item vehicle configuration parameter
|
strong |
| void Parameter::parse | ( | const QJsonValue & | jsonValue | ) |
Definition at line 8 of file Common.cc.
References advanced, Bitset, BoolTrueIfPositive, displayOption, indexOffset, label, name, and parse().
Referenced by parse().
| bool Parameter::advanced {false} |
| DisplayOption Parameter::displayOption {DisplayOption::Default} |
| int Parameter::indexOffset {} |
| QString Parameter::name {} |