qchartaxis.cpp
53 lines
| 873 B
| text/x-c
|
CppLexer
/ src / qchartaxis.cpp
Michal Klocek
|
r72 | |||
#include "qchartaxis.h" | ||||
Michal Klocek
|
r85 | QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||
Michal Klocek
|
r140 | QChartAxis::QChartAxis(QObject* parent):QObject(parent), | ||
Michal Klocek
|
r85 | m_axisVisible(true), | ||
m_girdVisible(true), | ||||
m_labelsVisible(true), | ||||
m_rowShadesVisible(true) | ||||
Michal Klocek
|
r72 | { | ||
// TODO Auto-generated constructor stub | ||||
} | ||||
QChartAxis::~QChartAxis() | ||||
{ | ||||
// TODO Auto-generated destructor stub | ||||
} | ||||
Michal Klocek
|
r140 | void QChartAxis::setAxisPen(const QPen& pen) | ||
{ | ||||
m_axisPen = pen; | ||||
} | ||||
void QChartAxis::setAxisBrush(const QBrush& brush) | ||||
{ | ||||
m_axisBrush = brush; | ||||
} | ||||
Michal Klocek
|
r85 | void QChartAxis::setAxisVisible(bool visible) | ||
{ | ||||
m_axisVisible=visible; | ||||
} | ||||
void QChartAxis::setGridVisible(bool visible) | ||||
{ | ||||
m_girdVisible=visible; | ||||
} | ||||
void QChartAxis::setLabelsVisible(bool visible) | ||||
{ | ||||
m_labelsVisible=visible; | ||||
} | ||||
void QChartAxis::setRowShadesVisible(bool visible) | ||||
{ | ||||
m_rowShadesVisible=visible; | ||||
} | ||||
Michal Klocek
|
r140 | #include "moc_qchartaxis.cpp" | ||
Michal Klocek
|
r85 | |||
QTCOMMERCIALCHART_END_NAMESPACE | ||||