##// END OF EJS Templates
Fixed AreaSeries initialization for PolarChart...
Fixed AreaSeries initialization for PolarChart The correct domain has to be set for the upper and the lower series of the AreaSeries with polar chart. Updating the geometry of LineChartItem will have problems if the correct domain is not set. Change-Id: Id9664ae175d2ee272c4705fbdbf17d9a719cf428 Task-number: QTRD-3507 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>

File last commit:

r2776:bc1f6aa59d42
r2791:53fbaba3122c
Show More
qvpiemodelmapper.h
68 lines | 2.2 KiB | text/x-c | CLexer
Marek Rosa
Added license text to piemodelmapper classes
r1309 /****************************************************************************
**
Titta Heikkala
Copyright header changes...
r2776 ** Copyright (C) 2015 The Qt Company Ltd
Marek Rosa
Added license text to piemodelmapper classes
r1309 ** All rights reserved.
Titta Heikkala
Copyright header changes...
r2776 ** For any questions to The Qt Company, please use contact form at http://qt.io
Marek Rosa
Added license text to piemodelmapper classes
r1309 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
Marek Rosa
Added license text to piemodelmapper classes
r1309 **
Titta Heikkala
Updated license headers...
r2740 ** Licensees holding valid commercial license for Qt may use this file in
** accordance with the Qt License Agreement provided with the Software
** or, alternatively, in accordance with the terms contained in a written
Titta Heikkala
Copyright header changes...
r2776 ** agreement between you and The Qt Company.
Marek Rosa
Added license text to piemodelmapper classes
r1309 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
Marek Rosa
Added license text to piemodelmapper classes
r1309 **
****************************************************************************/
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237 #ifndef QVPIEMODELMAPPER_H
#define QVPIEMODELMAPPER_H
Titta Heikkala
Fix include syntax...
r2714 #include <QtCharts/QPieModelMapper>
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_BEGIN_NAMESPACE
/* Comment line for syncqt to generate the fwd-include correctly, due to QTBUG-22432 */
class QT_CHARTS_EXPORT QVPieModelMapper : public QPieModelMapper
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237 {
Q_OBJECT
Marek Rosa
PieModelMapper removed from the docs
r1508 Q_PROPERTY(QPieSeries *series READ series WRITE setSeries NOTIFY seriesReplaced)
Q_PROPERTY(QAbstractItemModel *model READ model WRITE setModel NOTIFY modelReplaced)
Marek Rosa
Added NOTIFY to PieModelMapper class properties
r1474 Q_PROPERTY(int valuesColumn READ valuesColumn WRITE setValuesColumn NOTIFY valuesColumnChanged)
Q_PROPERTY(int labelsColumn READ labelsColumn WRITE setLabelsColumn NOTIFY labelsColumnChanged)
Marek Rosa
PieModelMapper properties first and count moved to Vertical and Horizontal mappers with more descriptive names
r1499 Q_PROPERTY(int firstRow READ firstRow WRITE setFirstRow NOTIFY firstRowChanged)
Q_PROPERTY(int rowCount READ rowCount WRITE setRowCount NOTIFY rowCountChanged)
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237
public:
explicit QVPieModelMapper(QObject *parent = 0);
Jani Honkonen
more coding style fixes for src-folder...
r2104 QAbstractItemModel *model() const;
Marek Rosa
PieModelMapper removed from the docs
r1508 void setModel(QAbstractItemModel *model);
Jani Honkonen
more coding style fixes for src-folder...
r2104 QPieSeries *series() const;
Marek Rosa
PieModelMapper removed from the docs
r1508 void setSeries(QPieSeries *series);
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237 int valuesColumn() const;
void setValuesColumn(int valuesColumn);
int labelsColumn() const;
void setLabelsColumn(int labelsColumn);
Marek Rosa
Added NOTIFY to PieModelMapper class properties
r1474
Marek Rosa
PieModelMapper properties first and count moved to Vertical and Horizontal mappers with more descriptive names
r1499 int firstRow() const;
void setFirstRow(int firstRow);
int rowCount() const;
void setRowCount(int rowCount);
Marek Rosa
Added NOTIFY to PieModelMapper class properties
r1474 Q_SIGNALS:
Marek Rosa
PieModelMapper removed from the docs
r1508 void seriesReplaced();
void modelReplaced();
Marek Rosa
Added NOTIFY to PieModelMapper class properties
r1474 void valuesColumnChanged();
void labelsColumnChanged();
Marek Rosa
PieModelMapper properties first and count moved to Vertical and Horizontal mappers with more descriptive names
r1499 void firstRowChanged();
void rowCountChanged();
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237 };
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_END_NAMESPACE
Marek Rosa
Added Vertical and Horizontal PieModelMapper
r1237
#endif // QVPIEMODELMAPPER_H