itom
Loading...
Searching...
No Matches
ito::AutoIntervalProperty Class Reference
Inheritance diagram for ito::AutoIntervalProperty:
Property

Public Member Functions

 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)
 
- Public Member Functions inherited from Property
 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)
 
PropertyfindPropertyObject (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)
 
PropertyfindPropertyObject (QObject *propertyObject)
 

Properties

double minimum
 
double maximum
 
bool autoScaling
 

Private Member Functions

QString parseHints (const QString &hints, const QChar component)
 

Private Attributes

Propertym_minimum
 
Propertym_maximum
 
Propertym_autoScaling
 

Additional Inherited Members

- Protected Attributes inherited from Property
QObject * m_propertyObject
 
QString m_hints
 
QString m_info
 
bool m_enabled
 

Member Function Documentation

◆ 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
hintsa 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
valuethe 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: