##// END OF EJS Templates
Remove obsolete setBackgroundColor form QChart
Remove obsolete setBackgroundColor form QChart

File last commit:

r115:8cafc623ea10
r137:c3223f1ab305
Show More
qscatterseries_p.h
47 lines | 1.1 KiB | text/x-c | CLexer
/ src / qscatterseries_p.h
Tero Ahola
Integrated scatter type series...
r42 #ifndef QSCATTERSERIESPRIVATE_H
#define QSCATTERSERIESPRIVATE_H
#include "qchartseries.h"
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #include "charttheme_p.h"
Tero Ahola
Refactoring continued: restored ChartItem class
r104 #include "chartitem_p.h"
Tero Ahola
One more alternative for changing themes
r108 #include "plotdomain_p.h"
Tero Ahola
Integrated scatter type series...
r42 #include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
/*!
* The PIMPL class of QScatterSeries.
*/
Tero Ahola
One more alternative for changing themes
r108 class QScatterSeriesPrivate : public ChartItem, public ChartThemeObserver
Tero Ahola
Integrated scatter type series...
r42 {
public:
Tero Ahola
Refactored series creation with QChart
r61 QScatterSeriesPrivate(QGraphicsItem *parent);
Tero Ahola
Integrated scatter type series...
r42
Tero Ahola
Refactoring continued: restored ChartItem class
r104 public: // from ChartObjectInterface
Michal Klocek
Adds layout support for charts....
r115 void setSize(const QSizeF &size);
Tero Ahola
Refactoring continued: restored ChartItem class
r104 void setPlotDomain(const PlotDomain& data);
Tero Ahola
One more alternative for changing themes
r108 public: // from ChartThemeObserver
void themeChanged(ChartTheme *theme);
Tero Ahola
Integrated scatter type series...
r42 public: // from QGraphicsItem
QRectF boundingRect() const;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
Tero Ahola
Color themes now enabled for scatter, pie and line series.
r75 public:
Tero Ahola
Scaling for scatter series
r111 void changeGeometry();
Tero Ahola
Refactoring continued: restored ChartItem class
r104
Tero Ahola
Scaling for scatter series
r111 QRectF m_boundingRect;
Tero Ahola
Integrated scatter type series...
r42 // TODO: use the chart data class instead of list of x and y values?
QList<qreal> m_x;
QList<qreal> m_y;
Tero Ahola
Resizing of QGraphicItems now possible by resize signal from QChart
r48 QList<qreal> m_scenex;
QList<qreal> m_sceney;
Tero Ahola
Draft implementation for setting color themes for a chart
r64 QColor m_markerColor;
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 SeriesTheme m_theme;
Tero Ahola
One more alternative for changing themes
r108 PlotDomain m_visibleChartArea;
Tero Ahola
Integrated scatter type series...
r42 };
QTCOMMERCIALCHART_END_NAMESPACE
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #endif // QSCATTERSERIESPRIVATE_H