##// END OF EJS Templates
cleaned crap from barseries private headers. Added missing license texts
cleaned crap from barseries private headers. Added missing license texts

File last commit:

r1170:0973e1eca7c6
r1248:5e60d9ed9e00
Show More
qbarmodelmapper.h
50 lines | 969 B | text/x-c | CLexer
Marek Rosa
BarSeries Model mapper added
r1170 #ifndef QBARMODELMAPPER_H
#define QBARMODELMAPPER_H
#include "qchartglobal.h"
#include <QObject>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QTCOMMERCIALCHART_EXPORT QBarModelMapper : public QObject
{
Q_OBJECT
public:
explicit QBarModelMapper(QObject *parent = 0);
int first() const;
void setFirst(int first);
int count() const;
void setCount(int count);
Qt::Orientation orientation() const;
void setOrientation(Qt::Orientation orientation);
int mapBarBottom() const;
void setMapBarBottom(int mapBarBottom);
int mapBarTop() const;
void setMapBarTop(int mapBarTop);
int mapCategories() const;
void setMapCategories(int mapCategories);
void reset();
Q_SIGNALS:
void updated();
private:
int m_first;
int m_count;
Qt::Orientation m_orientation;
int m_mapBarBottom;
int m_mapBarTop;
int m_mapCategories;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARMODELMAPPER_H