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


Definition at line 211 of file qpropertyeditor_items_p.h.
Public Member Functions | |
| PropertyCollection (const QString &name) | |
| ~PropertyCollection () | |
| IProperty::Kind | kind () const |
| void | addProperty (IProperty *property) |
| void | removeProperty (IProperty *property) |
| int | indexOf (IProperty *property) const |
| int | propertyCount () const |
| IProperty * | propertyAt (int index) const |
| QString | propertyName () const |
| QVariant | value () const |
| void | setValue (const QVariant &value) |
| QVariant | decoration () const |
| QString | toString () const |
| bool | hasEditor () const |
| QWidget * | createEditor (QWidget *parent, const QObject *target, const char *receiver) const |
| bool | hasExternalEditor () const |
| QWidget * | createExternalEditor (QWidget *parent) |
Private Attributes | |
| QString | m_name |
| QList< IProperty * > | m_properties |
| PropertyCollection::PropertyCollection | ( | const QString & | name | ) |
| PropertyCollection::~PropertyCollection | ( | ) |
Definition at line 212 of file qpropertyeditor_items.cpp.
References m_properties, and qDeleteAll().
00213 { 00214 qDeleteAll(m_properties); 00215 }
Here is the call graph for this function:

| IProperty::Kind qdesigner_internal::PropertyCollection::kind | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 217 of file qpropertyeditor_items_p.h.
00218 { return Property_Group; }
| void PropertyCollection::addProperty | ( | IProperty * | property | ) |
Definition at line 217 of file qpropertyeditor_items.cpp.
References m_properties, and qdesigner_internal::IProperty::setParent().
Referenced by qdesigner_internal::PropertyEditor::createPropertySheet().
00218 { 00219 property->setParent(this); 00220 m_properties.append(property); 00221 }
Here is the call graph for this function:

| void PropertyCollection::removeProperty | ( | IProperty * | property | ) |
| int PropertyCollection::indexOf | ( | IProperty * | property | ) | const [virtual] |
Implements qdesigner_internal::IPropertyGroup.
Definition at line 228 of file qpropertyeditor_items.cpp.
References m_properties.
00229 { 00230 return m_properties.indexOf(property); 00231 }
| int PropertyCollection::propertyCount | ( | ) | const [virtual] |
Implements qdesigner_internal::IPropertyGroup.
Definition at line 233 of file qpropertyeditor_items.cpp.
References m_properties.
00234 { 00235 return m_properties.size(); 00236 }
| IProperty * PropertyCollection::propertyAt | ( | int | index | ) | const [virtual] |
Implements qdesigner_internal::IPropertyGroup.
Definition at line 238 of file qpropertyeditor_items.cpp.
References m_properties.
00239 { 00240 return m_properties.at(index); 00241 }
| QString PropertyCollection::propertyName | ( | ) | const [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 243 of file qpropertyeditor_items.cpp.
References m_name.
00244 { 00245 return m_name; 00246 }
| QVariant PropertyCollection::value | ( | ) | const [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 248 of file qpropertyeditor_items.cpp.
Referenced by setValue().
00249 { 00250 return QVariant(); 00251 }
| void PropertyCollection::setValue | ( | const QVariant & | value | ) | [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 253 of file qpropertyeditor_items.cpp.
References value().
00254 { 00255 Q_UNUSED(value); 00256 }
Here is the call graph for this function:

| QVariant qdesigner_internal::PropertyCollection::decoration | ( | ) | const [inline, virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 238 of file qpropertyeditor_items_p.h.
00238 { return QVariant(); }
| QString PropertyCollection::toString | ( | ) | const [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 258 of file qpropertyeditor_items.cpp.
00259 { 00260 return QString(); 00261 }
| bool PropertyCollection::hasEditor | ( | ) | const [virtual] |
| QWidget * PropertyCollection::createEditor | ( | QWidget * | parent, | |
| const QObject * | target, | |||
| const char * | receiver | |||
| ) | const [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 268 of file qpropertyeditor_items.cpp.
References qdesigner_internal::IProperty::parent().
00269 { 00270 Q_UNUSED(parent); 00271 Q_UNUSED(target); 00272 Q_UNUSED(receiver); 00273 return 0; 00274 }
Here is the call graph for this function:

| bool PropertyCollection::hasExternalEditor | ( | ) | const [virtual] |
Implements qdesigner_internal::IProperty.
Definition at line 281 of file qpropertyeditor_items.cpp.
References qdesigner_internal::IProperty::parent().
00282 { 00283 Q_UNUSED(parent); 00284 return 0; 00285 }
Here is the call graph for this function:

Definition at line 249 of file qpropertyeditor_items_p.h.
Referenced by addProperty(), indexOf(), propertyAt(), propertyCount(), and ~PropertyCollection().
1.5.1