DataForm Class Reference
A widget that will connect a QMap<key,QVariant> to a form. More...
#include <dataform.h>
Inheritance diagram for DataForm:


Public Slots | |
void | updateView () |
void | resetView () |
void | updateData () |
Signals | |
void | mapChanged () |
Public Member Functions | |
DataForm (QWidget *parent=0, const char *name=0) | |
~DataForm () | |
void | setMap (PropertyMap *map) |
Attach a propertymap to the dataform. | |
void | setForm (QWidget *form) |
Attach a widget to the dataform. | |
QMap< QString, QString > | createPropertyMap (bool fullKey=false) const |
Builds a map compatable with KMacroExpander. | |
void | fillPropertyMap (QMap< QString, QString > *map, bool fullKey=false) const |
Populates an existing QMap<QString,QString> with values from the form that is compatable with KMacroExpander. | |
Private Attributes | |
QWidget * | m_form |
PropertyMap * | m_dataMap |
Detailed Description
A widget that will connect a QMap<key,QVariant> to a form.
- Author:
- Ian Reinhart Geiser
Definition at line 51 of file dataform.h.
Constructor & Destructor Documentation
|
Definition at line 23 of file dataform.cpp. |
|
Definition at line 30 of file dataform.cpp. |
Member Function Documentation
|
Builds a map compatable with KMacroExpander.
Definition at line 69 of file dataform.cpp. References fillPropertyMap(). |
|
Populates an existing QMap<QString,QString> with values from the form that is compatable with KMacroExpander. This will overwrite any duplicate keys already in the map.
Definition at line 76 of file dataform.cpp. References m_dataMap. Referenced by AppWizardDialog::accept(), and createPropertyMap(). |
|
Referenced by updateData(). |
|
Definition at line 47 of file dataform.cpp. |
|
Attach a widget to the dataform.
Definition at line 66 of file dataform.h. References m_form. Referenced by AutoForm::AutoForm(). |
|
Attach a propertymap to the dataform.
Definition at line 61 of file dataform.h. References m_dataMap. Referenced by AutoForm::AutoForm(). |
|
Definition at line 51 of file dataform.cpp. References m_dataMap, m_form, and mapChanged(). |
|
Definition at line 33 of file dataform.cpp. References m_dataMap, and m_form. Referenced by AutoForm::AutoForm(). |
Member Data Documentation
|
Definition at line 97 of file dataform.h. Referenced by fillPropertyMap(), setMap(), updateData(), and updateView(). |
|
Definition at line 96 of file dataform.h. Referenced by setForm(), updateData(), and updateView(). |
The documentation for this class was generated from the following files:
- parts/appwizard/dataform.h
- parts/appwizard/dataform.cpp