|
| QVector4DProperty (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) |
|
float | w () const |
|
void | setW (float w) |
|
| 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) |
|
|
float | x |
|
float | y |
|
float | z |
|
float | w |
|
|
QString | parseHints (const QString &hints, const QChar component) |
|
|
QObject * | m_propertyObject |
|
QString | m_hints |
|
QString | m_info |
|
bool | m_enabled |
|
◆ setEditorHints()
void ito::QVector4DProperty::setEditorHints |
( |
const QString & | hints | ) |
|
|
virtual |
Sets properties for the editor widget that is used to manipulate the data value managed by this instance
- Parameters
-
hints | a string containing property settings for the editor widget that manipulates this property |
Reimplemented from Property.
◆ setValue()
void ito::QVector4DProperty::setValue |
( |
const QVariant & | value | ) |
|
|
virtual |
Sets the value stored by this property
- Parameters
-
value | the data converted to a QVariant |
Reimplemented from Property.
◆ value()
QVariant ito::QVector4DProperty::value |
( |
int | role = Qt::UserRole | ) |
const |
|
virtual |
The value stored by this property
- Returns
- QVariant the data converted to a QVariant
Reimplemented from Property.
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/QPropertyEditor/qVector4DProperty.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/QPropertyEditor/qVector4DProperty.cpp