##// END OF EJS Templates
enablers for tooltip and floating values, bug fixing, updated examples. tidying up the code
enablers for tooltip and floating values, bug fixing, updated examples. tidying up the code

File last commit:

r222:9497ff6ff131
r296:8254aab7233d
Show More
domain_p.h
31 lines | 666 B | text/x-c | CLexer
Michal Klocek
Refactors qchart , adds line animation...
r131 #ifndef DOMAIN_H_
#define DOMAIN_H_
#include "qchartglobal.h"
#include <QRect>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class Domain {
public:
Michal Klocek
Add min max constuctor to domain
r221 Domain(qreal minX=0, qreal maxX=0, qreal minY=0, qreal maxY=0);
Michal Klocek
Refactors qchart , adds line animation...
r131 virtual ~Domain();
qreal spanX() const;
qreal spanY() const;
Michal Klocek
Add overloaded comparison operators to domain
r220 friend bool operator== (const Domain &domain1, const Domain &domain2);
friend bool operator!= (const Domain &domain1, const Domain &domain2);
Michal Klocek
Adds debug operator to domain
r222 friend QDebug operator<<(QDebug dbg, const Domain &domain);
Michal Klocek
Add overloaded comparison operators to domain
r220
Michal Klocek
Refactored for MVP...
r139 Domain subDomain(const QRectF& rect, qreal maxWidth, qreal maxHeight) const;
Michal Klocek
Refactors qchart , adds line animation...
r131
public:
qreal m_minX;
qreal m_maxX;
qreal m_minY;
qreal m_maxY;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif