diff --git a/src/barchart/qbarmodelmapper.cpp b/src/barchart/qbarmodelmapper.cpp index 86c1fdb..a27f994 100644 --- a/src/barchart/qbarmodelmapper.cpp +++ b/src/barchart/qbarmodelmapper.cpp @@ -28,10 +28,22 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! + \class QBarModelMapper + \brief part of QtCommercial chart API. + \mainclass + + The instance of this class cannot be created directly. QHBarModelMapper of QVBarModelMapper should be used instead. This class is used to create a connection between QBarSeries and QAbstractItemModel derived model object. + Curently it is NOT possible to use both QAbstractItemModel and QBarSeries model API. + When the series is set to the mapper the QBarSeries and QBarSet API that affect the data (append, setValue, remove) should not be used. + The model and the QBarSeries won't be kept in sync. Model API should be used to insert,remove,modify BarSets. + NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. +*/ + +/*! \property QBarModelMapper::series \brief Defines the QPieSeries object that is used by the mapper. - All the data in the series in the series is discarded when it is set to the mapper. + All the data in the series is discarded when it is set to the mapper. When new series is specified the old series is disconnected (it preserves its data) */ @@ -55,18 +67,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - \class QBarModelMapper - \brief part of QtCommercial chart API. - \mainclass - - The instance of this class cannot be created directly. QHBarModelMapper of QVBarModelMapper should be used instead. This class is used to create a connection between QBarSeries and QAbstractItemModel derived model object. - Curently it is NOT possible to use both QAbstractItemModel and QXYSeries model API. - When the series is set to the mapper the QBarSeries and QBarSet API that affect the data (append, setValue, remove) should not be used. - The model and the QBarSeries won't be kept in sync. Model API should be used to insert,remove,modify BarSets. - NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. -*/ - -/*! Constructs a mapper object which is a child of \a parent. */ QBarModelMapper::QBarModelMapper(QObject *parent) : diff --git a/src/barchart/qhbarmodelmapper.cpp b/src/barchart/qhbarmodelmapper.cpp index f9b488f..7e78af0 100644 --- a/src/barchart/qhbarmodelmapper.cpp +++ b/src/barchart/qhbarmodelmapper.cpp @@ -27,7 +27,11 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \brief part of QtCommercial chart API. \mainclass - Nothing here yet + Horizontal model mapper is used to create a connection between QBarSeries and QAbstractItemModel derived model object. + Curently it is NOT possible to use both QAbstractItemModel and QBarSeries model API. + When the series is set to the mapper the QBarSeries and QBarSet API that affect the data (append, setValue, remove) should not be used. + The model and the QBarSeries won't be kept in sync. Model API should be used to insert,remove,modify BarSets. + NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. */ /*! diff --git a/src/barchart/qvbarmodelmapper.cpp b/src/barchart/qvbarmodelmapper.cpp index 57dfb58..448f412 100644 --- a/src/barchart/qvbarmodelmapper.cpp +++ b/src/barchart/qvbarmodelmapper.cpp @@ -27,7 +27,11 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \brief part of QtCommercial chart API. \mainclass - Nothing here yet + Vertical model mapper is used to create a connection between QBarSeries and QAbstractItemModel derived model object. + Curently it is NOT possible to use both QAbstractItemModel and QBarSeries model API. + When the series is set to the mapper the QBarSeries and QBarSet API that affect the data (append, setValue, remove) should not be used. + The model and the QBarSeries won't be kept in sync. Model API should be used to insert,remove,modify BarSets. + NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. */ /*! diff --git a/src/piechart/qhpiemodelmapper.cpp b/src/piechart/qhpiemodelmapper.cpp index 7bc058f..bac494b 100644 --- a/src/piechart/qhpiemodelmapper.cpp +++ b/src/piechart/qhpiemodelmapper.cpp @@ -27,7 +27,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \brief part of QtCommercial chart API. \mainclass - This class is used to create a connection between QPieSeries and QAbstractItemModel derived model object that keeps the consecutive pie slices data in rows. + Horizontal model mapper is used to create a connection between QPieSeries and QAbstractItemModel derived model object that keeps the consecutive pie slices data in rows. It is possible to use both QAbstractItemModel and QPieSeries model API. QHPieModelMapper makes sure that Pie and the model are kept in sync. NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. */ diff --git a/src/piechart/qpiemodelmapper.cpp b/src/piechart/qpiemodelmapper.cpp index b1a0878..2a8410e 100644 --- a/src/piechart/qpiemodelmapper.cpp +++ b/src/piechart/qpiemodelmapper.cpp @@ -30,7 +30,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \property QPieModelMapper::series \brief Defines the QPieSeries object that is used by the mapper. - All the data in the series in the series is discarded when it is set to the mapper. + All the data in the series is discarded when it is set to the mapper. When new series is specified the old series is disconnected (it preserves its data) */ diff --git a/src/piechart/qvpiemodelmapper.cpp b/src/piechart/qvpiemodelmapper.cpp index 50721b9..44eaa1a 100644 --- a/src/piechart/qvpiemodelmapper.cpp +++ b/src/piechart/qvpiemodelmapper.cpp @@ -27,7 +27,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \brief part of QtCommercial chart API. \mainclass - This class is used to create a connection between QPieSeries and QAbstractItemModel derived model object that keeps the consecutive pie slices data in columns. + Vertical model mapper is used to create a connection between QPieSeries and QAbstractItemModel derived model object that keeps the consecutive pie slices data in columns. It is possible to use both QAbstractItemModel and QPieSeries model API. QVPieModelMapper makes sure that Pie and the model are kept in sync. NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. */ diff --git a/src/xychart/qhxymodelmapper.cpp b/src/xychart/qhxymodelmapper.cpp index 9e41a9d..a221744 100644 --- a/src/xychart/qhxymodelmapper.cpp +++ b/src/xychart/qhxymodelmapper.cpp @@ -27,7 +27,9 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \brief part of QtCommercial chart API. \mainclass - Nothing here yet + Horizontal model mapper is used to create a connection between QXYSeries and QAbstractItemModel derived model object. + It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync. + NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. */ /*! diff --git a/src/xychart/qxymodelmapper.cpp b/src/xychart/qxymodelmapper.cpp index da8138f..b39f98a 100644 --- a/src/xychart/qxymodelmapper.cpp +++ b/src/xychart/qxymodelmapper.cpp @@ -26,10 +26,20 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! + \class QXYModelMapper + \brief part of QtCommercial chart API. + \mainclass + + 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. + It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync. + NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. +*/ + +/*! \property QXYModelMapper::series \brief Defines the QPieSeries object that is used by the mapper. - All the data in the series in the series is discarded when it is set to the mapper. + All the data in the series is discarded when it is set to the mapper. When new series is specified the old series is disconnected (it preserves its data) */ @@ -53,16 +63,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - \class QXYModelMapper - \brief part of QtCommercial chart API. - \mainclass - - 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. - It is possible to use both QAbstractItemModel and QXYSeries model API. QXYModelMapper makes sure that QXYSeries and the model are kept in sync. - NOTE: used model has to support adding/removing rows/columns and modifying the data of the cells. -*/ - -/*! Constructs a mapper object which is a child of \a parent. */ QXYModelMapper::QXYModelMapper(QObject *parent):