|
| enum | ValueType { INTEGER
, REAL
, BOOL
, INVALID
} |
| |
Definition at line 29 of file toolproperties.h.
◆ ValueType
| enum PropertyInfo::ValueType |
◆ PropertyInfo() [1/7]
| PropertyInfo::PropertyInfo |
( |
| ) |
|
|
inline |
◆ PropertyInfo() [2/7]
| PropertyInfo::PropertyInfo |
( |
int |
min, |
|
|
int |
max, |
|
|
int |
defaultValue |
|
) |
| |
|
inline |
◆ PropertyInfo() [3/7]
| PropertyInfo::PropertyInfo |
( |
qreal |
min, |
|
|
qreal |
max, |
|
|
qreal |
defaultValue |
|
) |
| |
|
inline |
◆ PropertyInfo() [4/7]
| PropertyInfo::PropertyInfo |
( |
bool |
base, |
|
|
bool |
defaultValue |
|
) |
| |
|
inline |
◆ PropertyInfo() [5/7]
| PropertyInfo::PropertyInfo |
( |
bool |
base | ) |
|
|
inline |
◆ PropertyInfo() [6/7]
| PropertyInfo::PropertyInfo |
( |
int |
base | ) |
|
|
inline |
◆ PropertyInfo() [7/7]
| PropertyInfo::PropertyInfo |
( |
qreal |
base | ) |
|
|
inline |
◆ boolValue()
| bool PropertyInfo::boolValue |
( |
| ) |
const |
|
inline |
◆ defaultBool()
| bool PropertyInfo::defaultBool |
( |
| ) |
|
|
inline |
Returns the default value as an bool, otherwise false if it hasn't been specified or the type doesn't match.
Definition at line 186 of file toolproperties.h.
◆ defaultInt()
| int PropertyInfo::defaultInt |
( |
| ) |
|
|
inline |
Returns the default value as an real, otherwise -1 if it hasn't been specified or the type doesn't match.
Definition at line 170 of file toolproperties.h.
◆ defaultReal()
| qreal PropertyInfo::defaultReal |
( |
| ) |
|
|
inline |
Returns the default value as an real, otherwise -1.0 if it hasn't been specified or the type doesn't match.
Definition at line 178 of file toolproperties.h.
◆ intValue()
| int PropertyInfo::intValue |
( |
| ) |
const |
|
inline |
◆ maxInt()
| int PropertyInfo::maxInt |
( |
| ) |
const |
|
inline |
◆ maxReal()
| qreal PropertyInfo::maxReal |
( |
| ) |
const |
|
inline |
◆ minInt()
| int PropertyInfo::minInt |
( |
| ) |
const |
|
inline |
◆ minReal()
| qreal PropertyInfo::minReal |
( |
| ) |
const |
|
inline |
◆ realValue()
| qreal PropertyInfo::realValue |
( |
| ) |
const |
|
inline |
◆ resetBaseValue()
| void PropertyInfo::resetBaseValue |
( |
| ) |
|
|
inline |
◆ setBaseValue() [1/3]
| void PropertyInfo::setBaseValue |
( |
bool |
newValue | ) |
|
|
inline |
◆ setBaseValue() [2/3]
| void PropertyInfo::setBaseValue |
( |
int |
newValue | ) |
|
|
inline |
◆ setBaseValue() [3/3]
| void PropertyInfo::setBaseValue |
( |
qreal |
newValue | ) |
|
|
inline |
◆ toVariant()
| QVariant PropertyInfo::toVariant |
( |
| ) |
const |
|
inline |
◆ type()
| ValueType PropertyInfo::type |
( |
| ) |
const |
|
inline |
◆ mBaseValue
◆ mDefaultValue
◆ mMaxValue
◆ mMinValue
◆ mValueType
| ValueType PropertyInfo::mValueType |
|
private |
The documentation for this struct was generated from the following file: