|
| Vec3fProperty (const QString &name=QString(), QObject *propertyObject=0, QObject *parent=0) |
|
QVariant | value (int role=Qt::UserRole) const |
|
virtual void | setValue (const QVariant &value) |
|
void | setEditorHints (const QString &hints) |
|
float | x () const |
|
void | setX (float x) |
|
float | y () const |
|
void | setY (float y) |
|
float | z () const |
|
void | setZ (float z) |
|
| Property (const QString &name=QString(), QObject *propertyObject=0, QObject *parent=0) |
|
virtual QString | displayValue (int role=Qt::UserRole) const |
|
QObject * | propertyObject () |
|
bool | isRoot () |
|
bool | isReadOnly () |
|
int | row () |
|
QString | editorHints () |
|
QString | info () |
|
virtual void | setInfo (const QString &info) |
|
bool | enabled () |
|
virtual void | setEnabled (bool enabled) |
|
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option) |
|
virtual QVariant | editorData (QWidget *editor) |
|
virtual bool | setEditorData (QWidget *editor, const QVariant &data) |
|
Property * | findPropertyObject (QObject *propertyObject) |
|
| Property (const QString &name=QString(), QObject *propertyObject=0, QObject *parent=0) |
|
QObject * | propertyObject () |
|
bool | isRoot () |
|
bool | isReadOnly () |
|
int | row () |
|
QString | editorHints () |
|
virtual QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option) |
|
virtual QVariant | editorData (QWidget *editor) |
|
virtual bool | setEditorData (QWidget *editor, const QVariant &data) |
|
Property * | findPropertyObject (QObject *propertyObject) |
|
A custom property for Vec3f
This class provides a QLineEdit editor for all three values of a Vec3f struct (x, y, z) and also contains three QDoubleSpinBox instances to manipulate each value separately