13#ifndef VEC3FPROPERTY_H_
14#define VEC3FPROPERTY_H_
16#include <QPropertyEditor/Property.h>
27 Q_PROPERTY(
float x READ x WRITE setX DESIGNABLE
true USER
true)
28 Q_PROPERTY(
float y READ y WRITE setY DESIGNABLE
true USER
true)
29 Q_PROPERTY(
float z READ z WRITE setZ DESIGNABLE
true USER
true)
34 QVariant
value(
int role = Qt::UserRole)
const;
49 QString parseHints(
const QString& hints,
const QChar component);
QObject * propertyObject()
Definition Property.h:77
Definition Vec3fProperty.h:25
QVariant value(int role=Qt::UserRole) const
Definition Vec3fProperty.cpp:26
void setEditorHints(const QString &hints)
Definition Vec3fProperty.cpp:74
virtual void setValue(const QVariant &value)
Definition Vec3fProperty.cpp:42