##// END OF EJS Templates
Add min max constuctor to domain
Michal Klocek -
r221:ce059d3667fe
parent child
Show More
@@ -2,18 +2,16
2
2
3 QTCOMMERCIALCHART_BEGIN_NAMESPACE
3 QTCOMMERCIALCHART_BEGIN_NAMESPACE
4
4
5 Domain::Domain():
5 Domain::Domain(qreal minX, qreal maxX, qreal minY, qreal maxY):
6 m_minX(0),
6 m_minX(minX),
7 m_maxX(0),
7 m_maxX(maxX),
8 m_minY(0),
8 m_minY(minY),
9 m_maxY(0)
9 m_maxY(maxY)
10 {
10 {
11
12 }
11 }
13
12
14 Domain::~Domain()
13 Domain::~Domain()
15 {
14 {
16 // TODO Auto-generated destructor stub
17 }
15 }
18
16
19 qreal Domain::spanX() const
17 qreal Domain::spanX() const
@@ -7,7 +7,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE
7
7
8 class Domain {
8 class Domain {
9 public:
9 public:
10 Domain();
10 Domain(qreal minX=0, qreal maxX=0, qreal minY=0, qreal maxY=0);
11 virtual ~Domain();
11 virtual ~Domain();
12
12
13 qreal spanX() const;
13 qreal spanX() const;
General Comments 0
You need to be logged in to leave comments. Login now