##// END OF EJS Templates
ModelMappers dosc update
Marek Rosa -
r1347:573b982b92ef
parent child
Show More
@@ -8,6 +8,9
8 8
9 9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10 10
11 /*!
12 Constructs a mapper object which is a child of \a parent.
13 */
11 14 QBarModelMapper::QBarModelMapper(QObject *parent) :
12 15 QObject(parent),
13 16 d_ptr(new QBarModelMapperPrivate(this))
@@ -10,6 +10,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10 10 Nothing here yet
11 11 */
12 12
13 /*!
14 Constructs a mapper object which is a child of \a parent.
15 */
13 16 QHBarModelMapper::QHBarModelMapper(QObject *parent) :
14 17 QBarModelMapper(parent)
15 18 {
@@ -10,6 +10,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
10 10 Nothing here yet
11 11 */
12 12
13 /*!
14 Constructs a mapper object which is a child of \a parent.
15 */
13 16 QVBarModelMapper::QVBarModelMapper(QObject *parent) :
14 17 QBarModelMapper(parent)
15 18 {
@@ -46,6 +46,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
46 46 Default value is: -1 (invalid mapping)
47 47 */
48 48
49 /*!
50 Constructs a mapper object which is a child of \a parent.
51 */
49 52 QHPieModelMapper::QHPieModelMapper(QObject *parent) :
50 53 QPieModelMapper(parent)
51 54 {
@@ -63,6 +63,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
63 63 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
64 64 */
65 65
66 /*!
67 Constructs a mapper object which is a child of \a parent.
68 */
66 69 QPieModelMapper::QPieModelMapper(QObject *parent) :
67 70 QObject(parent),
68 71 d_ptr(new QPieModelMapperPrivate(this))
@@ -18,7 +18,6
18 18 **
19 19 ****************************************************************************/
20 20
21 #include "qpiemodelmapper_p.h"
22 21 #include "qvpiemodelmapper.h"
23 22
24 23 QTCOMMERCIALCHART_BEGIN_NAMESPACE
@@ -47,6 +46,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
47 46 Default value is: -1 (invalid mapping)
48 47 */
49 48
49 /*!
50 Constructs a mapper object which is a child of \a parent.
51 */
50 52 QVPieModelMapper::QVPieModelMapper(QObject *parent) :
51 53 QPieModelMapper(parent)
52 54 {
@@ -23,6 +23,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
23 23 Default value is: -1 (invalid mapping)
24 24 */
25 25
26 /*!
27 Constructs a mapper object which is a child of \a parent.
28 */
26 29 QHXYModelMapper::QHXYModelMapper(QObject *parent) :
27 30 QXYModelMapper(parent)
28 31 {
@@ -24,6 +24,9 QTCOMMERCIALCHART_BEGIN_NAMESPACE
24 24 Default value is: -1 (invalid mapping)
25 25 */
26 26
27 /*!
28 Constructs a mapper object which is a child of \a parent.
29 */
27 30 QVXYModelMapper::QVXYModelMapper(QObject *parent) :
28 31 QXYModelMapper(parent)
29 32 {
@@ -38,10 +38,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE
38 38 \mainclass
39 39
40 40 The instance of this class cannot be created directly. QHXYModelMapper of QVXYModelMapper should be used instead. This class is used to create a connection between QXYSeries and QAbstractItemModel derived model object.
41 It is possible to use both QAbstractItemModel and QPieSeries model API. QPieModelMapper makes sure that QXYSeries and the model are kept in sync.
41 It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync.
42 42 NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells.
43 43 */
44 44
45 /*!
46 Constructs a mapper object which is a child of \a parent.
47 */
45 48 QXYModelMapper::QXYModelMapper(QObject *parent):
46 49 QObject(parent),
47 50 d_ptr(new QXYModelMapperPrivate(this))
General Comments 0
You need to be logged in to leave comments. Login now