5#include <QtCore/QString>
6#include <QtCore/QJsonValue>
7#include <QtCore/QLoggingCategory>
8#include <QtGui/QVector3D>
31 void parse(
const QJsonValue& jsonValue);
46 void onIntegerFactChanged();
47 void onThisFactChanged();
49 Fact* _integerFact{
nullptr};
51 bool _ignoreChange{
false};
66 void onFloatFactChanged();
67 void onThisFactChanged();
69 Fact* _floatFact{
nullptr};
70 bool _ignoreChange{
false};
108 QString _parameter{};
110 QString _alwaysTrueReason{QStringLiteral(
"empty/default")};
113 Fact* _fact{
nullptr};
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
bool hasCondition() const
virtual ~FactBitset()=default
virtual ~FactFloatAsBool()=default
A Fact is used to hold a single value within the system.
ActuatorGeometry(Type type_=Type::Other, int index_=0, QVector3D position_={}, SpinDirection spinDirection_=SpinDirection::Unspecified)
static Type typeFromStr(const QString &type)
RenderOptions renderOptions
SpinDirection spinDirection
void parse(const QJsonValue &jsonValue)
DisplayOption displayOption
int indexOffset
extra offset to the ${i} index, or bitset shift offset
@ Bitset
integer displayed as boolean (checkbox), where the index defines the bit
@ BoolTrueIfPositive
Show checkbox for float/int value.
bool advanced
whether this should only be shown as advanced option
QString name
vehicle parameter name, this may have an index in the form '${i}'