equal
deleted
inserted
replaced
21 ** If you have questions regarding the use of this file, please contact |
21 ** If you have questions regarding the use of this file, please contact |
22 ** Nokia at developer.feedback@nokia.com. |
22 ** Nokia at developer.feedback@nokia.com. |
23 ** |
23 ** |
24 ****************************************************************************/ |
24 ****************************************************************************/ |
25 |
25 |
|
26 #include "hbdataformmodel_p.h" |
|
27 #include "hbdataformmodelitem_p.h" |
|
28 |
26 #include <hbdataformmodelitem.h> |
29 #include <hbdataformmodelitem.h> |
27 #include <hbdataformmodel.h> |
30 #include <hbdataformmodel.h> |
28 |
|
29 #include "hbdataformmodel_p.h" |
|
30 #include "hbdataformmodelitem_p.h" |
|
31 |
31 |
32 /* |
32 /* |
33 \internal |
33 \internal |
34 |
34 |
35 adds the dataformviewitem or page or group depending upon /a itemType |
35 adds the dataformviewitem or page or group depending upon /a itemType |
120 \brief The HbDataFormModel class provides data model for HbDataForm. |
120 \brief The HbDataFormModel class provides data model for HbDataForm. |
121 \ingroup model-view |
121 \ingroup model-view |
122 |
122 |
123 HbDataFormModel is derived from QAbstractItemModel. So applications can use, |
123 HbDataFormModel is derived from QAbstractItemModel. So applications can use, |
124 QAbstractItemModel API's to create their datamodel. HbDataFormModel also provides |
124 QAbstractItemModel API's to create their datamodel. HbDataFormModel also provides |
125 convenience API's specific to HbDataForm. These convinience API's are useful in creating |
125 convenience API's specific to HbDataForm. These convenience API's are useful in creating |
126 FormPageItem, GroupItem, GroupPageItem and data item. |
126 FormPageItem, GroupItem, GroupPageItem and data item. |
127 |
127 |
128 A HbDataForm can be used to display the contents of the model. |
128 A HbDataForm can be used to display the contents of the model. |
129 HbDataFormModel also has APIs to return modelindex of the items and vice-versa. |
129 HbDataFormModel also has APIs to return modelindex of the items and vice-versa. |
130 So applications can individually modify the items data and set it to the HbDataForm. |
130 So applications can individually modify the items data and set it to the HbDataForm. |