swift
|
Settings for last manual entries of own aircraft mode. More...
Static Public Member Functions | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. More... | |
static const QString & | humanReadable () |
Optional human readable name. More... | |
static bool | isValid (const int &valueInSeconds, QString &) |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. More... | |
static const int & | defaultValue () |
Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. More... | |
static int | minSecs () |
Minimum. | |
static int | maxSecs () |
Maximum. | |
![]() | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. | |
static const QString & | humanReadable () |
Optional human readable name. | |
static bool | isValid (const int &value, QString &reason) |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. | |
static const int & | defaultValue () |
Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. | |
Additional Inherited Members | |
![]() | |
using | type = int |
Data type of the value. | |
![]() | |
TSettingTrait ()=delete | |
Deleted default constructor. | |
TSettingTrait (const TSettingTrait &)=delete | |
Deleted copy constructor. | |
TSettingTrait & | operator= (const TSettingTrait &)=delete |
Deleted copy assignment operator. | |
Settings for last manual entries of own aircraft mode.
Definition at line 83 of file guisettings.h.
|
inlinestatic |
Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value.
Definition at line 102 of file guisettings.h.
|
inlinestatic |
Optional human readable name.
Definition at line 89 of file guisettings.h.
|
inlinestatic |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value.
Definition at line 96 of file guisettings.h.
|
inlinestatic |
Key string of the value. Reimplemented in derived class.
Definition at line 86 of file guisettings.h.