Generate parameters.
More...
#include <ParameterGenerator.h>
|
| enum | ParameterTypeGenerator {
INT
, DOUBLE
, BOOLEAN
, QSTRING
,
QDATE
, QTIME
, QCOLOR
, QPOINT
,
QPOINTF
, QVECTOR3D
, QVECTOR4D
, UNKNOWN
} |
| |
◆ ParameterTypeGenerator
| Enumerator |
|---|
| INT | |
| DOUBLE | |
| BOOLEAN | |
| QSTRING | |
| QDATE | |
| QTIME | |
| QCOLOR | |
| QPOINT | |
| QPOINTF | |
| QVECTOR3D | |
| QVECTOR4D | |
| UNKNOWN | |
◆ ParameterGenerator()
| ParameterGenerator::ParameterGenerator |
( |
cepcoreschema::Parameter & |
domParameter | ) |
|
References BOOLEAN, DOUBLE, INT, QCOLOR, QDATE, QPOINT, QPOINTF, QSTRING, QTIME, QVECTOR3D, QVECTOR4D, and UNKNOWN.
◆ getAdditionalInclude()
| QString ParameterGenerator::getAdditionalInclude |
( |
| ) |
const |
◆ getCppName()
| QString ParameterGenerator::getCppName |
( |
| ) |
const |
create a name that can be used as C++ variable name (remove all white space)
Referenced by getToString().
◆ getDefaultValue()
| QString ParameterGenerator::getDefaultValue |
( |
| ) |
const |
◆ getDescription()
| QString ParameterGenerator::getDescription |
( |
| ) |
const |
◆ getName()
| QString ParameterGenerator::getName |
( |
| ) |
const |
◆ getPropertyQVariant()
| QString ParameterGenerator::getPropertyQVariant |
( |
| ) |
const |
◆ getQVariantConversion()
| QString ParameterGenerator::getQVariantConversion |
( |
| ) |
const |
◆ getToString()
| QString ParameterGenerator::getToString |
( |
| ) |
const |
References BOOLEAN, DOUBLE, getCppName(), INT, QCOLOR, QDATE, QPOINT, QPOINTF, QSTRING, QVECTOR3D, and QVECTOR4D.
◆ getType()
| QString ParameterGenerator::getType |
( |
| ) |
const |
◆ getTypeDefaultValue()
| QString ParameterGenerator::getTypeDefaultValue |
( |
QString |
typeName | ) |
|
|
static |
References BOOLEAN, DOUBLE, INT, QCOLOR, QDATE, QPOINT, QPOINTF, QSTRING, QTIME, QVECTOR3D, and UNKNOWN.
Referenced by ActionParameterWidget::typeChanged(), and ComponentPropertyWidget::typeChanged().
◆ getUnit()
| QString ParameterGenerator::getUnit |
( |
| ) |
const |
◆ isEditable()
| bool ParameterGenerator::isEditable |
( |
| ) |
const |
◆ needsAdditionalInclude()
| bool ParameterGenerator::needsAdditionalInclude |
( |
| ) |
const |
The documentation for this class was generated from the following files: