##// END OF EJS Templates
minor. axis grey to lightGrey
minor. axis grey to lightGrey

File last commit:

r106:bc1381ca9ce2
r187:75f1a3de7c19
Show More
chartobjectinterface_p.h
31 lines | 805 B | text/x-c | CLexer
/ src / chartobjectinterface_p.h
Tero Ahola
Refactoring continued: restored ChartItem class
r104 #ifndef CHART_OBJECT_INTERFACE_H
#define CHART_OBJECT_INTERFACE_H
#include "plotdomain_p.h"
#include <qchartglobal.h>
#include <QSize>
class QGraphicsItem;
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartTheme;
class PlotDomain;
/*!
* Internal abstract interface for passing updates on chart related properties.
*/
class ChartObjectInterface
{
public:
sauimone
adopted theme interface to barcharts
r106 // TODO: move setSize and setPlotDomain back to ChartItem. This interface should be only about handling themes.
Tero Ahola
Refactoring continued: restored ChartItem class
r104 virtual void setSize(const QSize &size) = 0;
virtual void setTheme(ChartTheme *theme) = 0;
virtual void setPlotDomain(const PlotDomain& data) = 0;
// TODO: this is a hack; integration ongoing:
virtual QGraphicsItem *graphicsItem() { return 0; }
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // CHART_OBJECT_INTERFACE_H