59 if (type == QString(
"string"))
63 else if (type == QString(
"bool"))
67 else if (type == QString(
"color"))
71 else if (type == QString(
"empty"))
75 else if (type == QString(
"enum"))
79 else if (type == QString(
"file"))
83 else if (type == QString(
"integer"))
87 else if (type == QString(
"double"))
91 else if (type == QString(
"shortcut"))
95 else if (type == QString(
"vector3d"))
Class for holding a double property.
Class for holding an integer property.
The VBoolProperty can take two states: True or False.
void registerFactory(const QString &type, VAbstractPropertyFactory *factory)
Register a factory to the factory manager Note that the manager takes ownership of the factory,...
This property can be used to handle key shortcuts.
virtual Q_REQUIRED_RESULT VProperty * createProperty(const QString &type, const QString &name) Q_DECL_OVERRIDE
Creates a new property of a certain type and assigns a name and description (otionally)
VStandardPropertyFactory()
Constructor.