#include <qpropertyeditor_items_p.h>
Inheritance diagram for qdesigner_internal::AbstractProperty< T >:


Definition at line 130 of file qpropertyeditor_items_p.h.
Public Member Functions | |
| AbstractProperty (const T &value, const QString &name) | |
| IProperty::Kind | kind () const |
| QVariant | decoration () const |
| QString | propertyName () const |
| QVariant | value () const |
| bool | hasEditor () const |
| bool | hasExternalEditor () const |
| QWidget * | createExternalEditor (QWidget *parent) |
Protected Attributes | |
| T | m_value |
| QString | m_name |
| qdesigner_internal::AbstractProperty< T >::AbstractProperty | ( | const T & | value, | |
| const QString & | name | |||
| ) | [inline] |
| IProperty::Kind qdesigner_internal::AbstractProperty< T >::kind | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 136 of file qpropertyeditor_items_p.h.
00136 { return IProperty::Property_Normal; }
| QVariant qdesigner_internal::AbstractProperty< T >::decoration | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 141 of file qpropertyeditor_items_p.h.
00141 { return QVariant(); }
| QString qdesigner_internal::AbstractProperty< T >::propertyName | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 142 of file qpropertyeditor_items_p.h.
00142 { return m_name; }
| QVariant qdesigner_internal::AbstractProperty< T >::value | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 143 of file qpropertyeditor_items_p.h.
Referenced by qdesigner_internal::LongLongProperty::setValue().
00143 { return qVariantFromValue(m_value); }
| bool qdesigner_internal::AbstractProperty< T >::hasEditor | ( | ) | const [inline, virtual] |
| bool qdesigner_internal::AbstractProperty< T >::hasExternalEditor | ( | ) | const [inline, virtual] |
| QWidget* qdesigner_internal::AbstractProperty< T >::createExternalEditor | ( | QWidget * | parent | ) | [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 147 of file qpropertyeditor_items_p.h.
00147 { Q_UNUSED(parent); return 0; }
T qdesigner_internal::AbstractProperty< T >::m_value [protected] |
QString qdesigner_internal::AbstractProperty< T >::m_name [protected] |
Definition at line 151 of file qpropertyeditor_items_p.h.
1.5.1