##// END OF EJS Templates
Fix compilation with namespaced Qt....
Fix compilation with namespaced Qt. Change-Id: I359bbf5c89bd23bb1b6db1aeed8a2a4aa2ca12bf Reviewed-by: Andre Poenitz <andre.poenitz@theqtcompany.com>

File last commit:

r2740:377e4516d036
r2774:7b74d88b3f3d
Show More
drilldownseries.cpp
44 lines | 1.2 KiB | text/x-c | CppLexer
sauimone
splitted barchartdrilldown example to separate files
r903 /****************************************************************************
**
Titta Heikkala
Update copyright year...
r2688 ** Copyright (C) 2014 Digia Plc
sauimone
splitted barchartdrilldown example to separate files
r903 ** All rights reserved.
Titta Heikkala
Updated license headers...
r2740 ** For any questions to Digia, please use contact form at http://qt.io
sauimone
splitted barchartdrilldown example to separate files
r903 **
Titta Heikkala
Updated license headers...
r2740 ** This file is part of the Qt Charts module.
sauimone
splitted barchartdrilldown example to separate files
r903 **
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
** agreement between you and Digia.
sauimone
splitted barchartdrilldown example to separate files
r903 **
** If you have questions regarding the use of this file, please use
Titta Heikkala
Updated license headers...
r2740 ** contact form at http://qt.io
sauimone
splitted barchartdrilldown example to separate files
r903 **
****************************************************************************/
#include "drilldownseries.h"
Titta Heikkala
Qt Charts project file structure change...
r2712 QT_CHARTS_USE_NAMESPACE
sauimone
splitted barchartdrilldown example to separate files
r903
DrilldownBarSeries::DrilldownBarSeries(QStringList categories, QObject *parent)
sauimone
separated categories from barseries constructor
r1112 : QStackedBarSeries(parent)
sauimone
splitted barchartdrilldown example to separate files
r903 {
sauimone
fixed stackedbar drilldown series. categories are updated for xaxis
r1414 m_categories = categories;
sauimone
splitted barchartdrilldown example to separate files
r903 }
Jani Honkonen
more coding style fixes for examples...
r2102 void DrilldownBarSeries::mapDrilldownSeries(int index, DrilldownBarSeries *drilldownSeries)
sauimone
splitted barchartdrilldown example to separate files
r903 {
sauimone
fixed stackedbar drilldown series. categories are updated for xaxis
r1414 m_DrilldownSeries[index] = drilldownSeries;
sauimone
splitted barchartdrilldown example to separate files
r903 }
Jani Honkonen
more coding style fixes for examples...
r2102 DrilldownBarSeries *DrilldownBarSeries::drilldownSeries(int index)
sauimone
splitted barchartdrilldown example to separate files
r903 {
sauimone
fixed stackedbar drilldown series. categories are updated for xaxis
r1414 return m_DrilldownSeries[index];
}
QStringList DrilldownBarSeries::categories()
{
return m_categories;
sauimone
splitted barchartdrilldown example to separate files
r903 }
#include "moc_drilldownseries.cpp"