xyplotdomain_p.h
30 lines
| 505 B
| text/x-c
|
CLexer
Michal Klocek
|
r25 | #ifndef PLOTDOMAIN_H_ | ||
#define PLOTDOMAIN_H_ | ||||
Tero Ahola
|
r30 | #include "qchartglobal.h" | ||
Michal Klocek
|
r25 | #include <QRect> | ||
Michal Klocek
|
r12 | |||
Tero Ahola
|
r30 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||
Michal Klocek
|
r12 | |||
Michal Klocek
|
r25 | class XYPlotDomain { | ||
Michal Klocek
|
r12 | public: | ||
Michal Klocek
|
r25 | XYPlotDomain(); | ||
virtual ~XYPlotDomain(); | ||||
Michal Klocek
|
r12 | |||
qreal spanX() const; | ||||
qreal spanY() const; | ||||
int ticksX() const { return m_ticksX; } | ||||
int ticksY() const { return m_ticksY; } | ||||
public: | ||||
int m_ticksX; | ||||
int m_ticksY; | ||||
qreal m_minX; | ||||
qreal m_maxX; | ||||
qreal m_minY; | ||||
qreal m_maxY; | ||||
Michal Klocek
|
r25 | QRect m_viewportRect; | ||
Michal Klocek
|
r12 | }; | ||
Tero Ahola
|
r30 | QTCOMMERCIALCHART_END_NAMESPACE | ||
Michal Klocek
|
r12 | |||
#endif /* PLOTTER_H_ */ | ||||