KFormDesigner::WidgetWithSubpropertiesInterface Class Reference
#include <widgetwithsubpropertiesinterface.h>
Inheritance diagram for KFormDesigner::WidgetWithSubpropertiesInterface:

Detailed Description
An interface for declaring form widgets to have subproperties.Currently used in KexiDBAutoField to allow editing specific properties of its internal editor. For example, if the autofield is of type Image Box, the Image Box widget has some specific properties like "lineWidth". Such properties are provided by the parent KexiDBAutoField object as subproperties.
Definition at line 36 of file widgetwithsubpropertiesinterface.h.
Public Member Functions | |
| WidgetWithSubpropertiesInterface () | |
| virtual | ~WidgetWithSubpropertiesInterface () |
| void | setSubwidget (QWidget *widget) |
| QWidget * | subwidget () const |
| QValueList< QCString > | subproperies () const |
| const QMetaProperty * | findMetaSubproperty (const char *name) const |
| QVariant | subproperty (const char *name, bool &ok) const |
| bool | setSubproperty (const char *name, const QVariant &value) |
| Sets a subproperty value value for a subproperty name. | |
Protected Attributes | |
| QGuardedPtr< QWidget > | m_subwidget |
| QValueList< QCString > | m_subproperies |
Constructor & Destructor Documentation
|
|
Definition at line 29 of file widgetwithsubpropertiesinterface.cpp. |
|
|
Definition at line 33 of file widgetwithsubpropertiesinterface.cpp. |
Member Function Documentation
|
|
Definition at line 71 of file widgetwithsubpropertiesinterface.cpp. References m_subproperies, and m_subwidget. Referenced by KFormDesigner::WidgetPropertySet::createPropertiesForWidget(), and KFormDesigner::WidgetPropertySet::isPropertyVisible(). |
|
||||||||||||
|
Sets a subproperty value value for a subproperty name.
Definition at line 92 of file widgetwithsubpropertiesinterface.cpp. References m_subproperies, and m_subwidget. Referenced by KexiDBAutoField::setProperty(). |
|
|
Setting 0 clears subwidget.
Definition at line 37 of file widgetwithsubpropertiesinterface.cpp. References m_subproperies, and m_subwidget. Referenced by KexiDBAutoField::createEditor(). |
|
|
Definition at line 66 of file widgetwithsubpropertiesinterface.cpp. References m_subproperies. Referenced by KFormDesigner::WidgetPropertySet::createPropertiesForWidget(). |
|
||||||||||||
|
Definition at line 82 of file widgetwithsubpropertiesinterface.cpp. References m_subproperies, and m_subwidget. Referenced by KexiDBAutoField::property(). |
|
Member Data Documentation
|
|
Definition at line 68 of file widgetwithsubpropertiesinterface.h. Referenced by findMetaSubproperty(), setSubproperty(), setSubwidget(), subproperies(), and subproperty(). |
|
The documentation for this class was generated from the following files:
