##// END OF EJS Templates
Renames header axisitem -> axis
Renames header axisitem -> axis

File last commit:

r938:43d9ec405aa3
r959:6fbac6697666
Show More
qbarset_p.h
46 lines | 992 B | text/x-c | CLexer
Michal Klocek
Adds big fat pimpl to series classes...
r938 #ifndef QBARSET_P_H
#define QBARSET_P_H
#include "qbarset.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QBarSetPrivate : public QObject
{
Q_OBJECT
public:
QBarSetPrivate(QString name, QBarSet *parent);
~QBarSetPrivate();
Q_SIGNALS:
void clicked(QString category, Qt::MouseButtons button);
void structureChanged();
void valueChanged();
void hoverEnter(QPoint pos);
void hoverLeave();
void showToolTip(QPoint pos, QString tip);
void labelsVisibleChanged(bool visible);
public Q_SLOTS:
void barHoverEnterEvent(QPoint pos);
void barHoverLeaveEvent();
public:
QBarSet * const q_ptr;
QString m_name;
QList<qreal> m_values; // TODO: replace with map (category, value)
QMap<QString, qreal> m_mappedValues;
QPen m_pen;
QBrush m_brush;
QPen m_labelPen;
QBrush m_labelBrush;
QFont m_labelFont;
bool m_labelsVisible;
friend class QBarSet;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // QBARSETPRIVATE_P_H