|
| AutoIntervalProperty (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) |
|
double | minimum () const |
|
void | setMinimum (double minimum) |
|
double | maximum () const |
|
void | setMaximum (double maximum) |
|
bool | autoScaling () const |
|
void | setAutoScaling (bool autoScaling) |
|
| 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) |
|
|
double | minimum |
|
double | maximum |
|
bool | autoScaling |
|
|
QString | parseHints (const QString &hints, const QChar component) |
|
|
QObject * | m_propertyObject |
|
QString | m_hints |
|
QString | m_info |
|
bool | m_enabled |
|
◆ setEditorHints()
void ito::AutoIntervalProperty::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::AutoIntervalProperty::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::AutoIntervalProperty::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/autoIntervalProperty.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/QPropertyEditor/autoIntervalProperty.cpp