TChartAxis Class

Header: #include <TChartAxis>
Inherits: QObject
Inherited By:

TChartAxisCategory and TChartAxisNumeric

Public Functions

TChartAxis(QObject *parent = 0)
~TChartAxis()
virtual QList<TChartDrawItem> getDrawItems() = 0
virtual int getOccupySize()
  • 31 public functions inherited from QObject

Public Slots

double areaEnd() const
int areaNum() const
double areaStart() const
QPen axisPen() const
TChart::AxisType axisType() const
TChartStore *chartStore() const
TChartWidget *chartWidget() const
QBrush evenGridBrush() const
QPen gridPen() const
TChart::Anchor labelAnchor() const
int labelAngle() const
QFont labelFont() const
QString labelFormat() const
QPen labelPen() const
int labelToAxis() const
QString name() const
QBrush oddGridBrush() const
TChart::Edge position() const
QSet<QString> propFlags() const
void setAreaEnd(double pValue)
void setAreaNum(int pNum)
void setAreaStart(double pValue)
void setAxisPen(const QPen &pPen)
bool setConfig(const QVariantMap &pConfig, QString *oErrStr = 0)
void setEvenGridBrush(const QBrush &pBrush)
void setGridPen(const QPen &pPen)
void setLabelAnchor(TChart::Anchor pAnchor)
void setLabelAngle(int pAngle)
void setLabelFont(const QFont &pFont)
void setLabelFormat(const QString &pFormat)
void setLabelPen(const QPen &pPen)
void setLabelToAxis(int pDist)
void setName(const QString &pName)
void setOddGridBrush(const QBrush &pBrush)
void setPosition(TChart::Edge pPosition)
void setStoreField(const QString &pField)
void setStoreFields(const QStringList &pFields)
void setTickLength(int pLength)
void setTickPen(const QPen &pPen)
void setTitle(const QString &pTitle)
void setTitleAnchor(TChart::Anchor pAnchor)
void setTitleAngle(int pAngle)
void setTitleFont(const QFont &pFont)
void setTitleMargin(const QMargins &pMargin)
void setTitlePen(const QPen &pPen)
QStringList storeFields() const
int tickLength() const
QPen tickPen() const
QString title() const
TChart::Anchor titleAnchor() const
int titleAngle() const
QFont titleFont() const
QMargins titleMargin() const
QPen titlePen() const
  • 1 public slot inherited from QObject

Protected Functions

TChartAxis(TChartAxisPrivate &dd, QObject *parent = 0)
int axisToCr() const
TChartDrawItem getDrawTitle()
int getTitleOccupySize()
void setAxisToCr(int size = 0)
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

Member Function Documentation

TChartAxis::TChartAxis(QObject *parent = 0)

Default constructs an instance of TChartAxis.

[protected] TChartAxis::TChartAxis(TChartAxisPrivate &dd, QObject *parent = 0)

Copy constructor.

TChartAxis::~TChartAxis()

Destroys the instance of TChartAxis.

[slot] double TChartAxis::areaEnd() const

See also setAreaEnd().

[slot] int TChartAxis::areaNum() const

See also setAreaNum().

[slot] double TChartAxis::areaStart() const

See also setAreaStart().

[slot] QPen TChartAxis::axisPen() const

See also setAxisPen().

[protected] int TChartAxis::axisToCr() const

See also setAxisToCr().

[slot] TChart::AxisType TChartAxis::axisType() const

[slot] TChartStore *TChartAxis::chartStore() const

[slot] TChartWidget *TChartAxis::chartWidget() const

[slot] QBrush TChartAxis::evenGridBrush() const

See also setEvenGridBrush().

[pure virtual] QList<TChartDrawItem> TChartAxis::getDrawItems()

[protected] TChartDrawItem TChartAxis::getDrawTitle()

[virtual] int TChartAxis::getOccupySize()

[protected] int TChartAxis::getTitleOccupySize()

[slot] QPen TChartAxis::gridPen() const

See also setGridPen().

[slot] TChart::Anchor TChartAxis::labelAnchor() const

See also setLabelAnchor().

[slot] int TChartAxis::labelAngle() const

See also setLabelAngle().

[slot] QFont TChartAxis::labelFont() const

See also setLabelFont().

[slot] QString TChartAxis::labelFormat() const

See also setLabelFormat().

[slot] QPen TChartAxis::labelPen() const

See also setLabelPen().

[slot] int TChartAxis::labelToAxis() const

See also setLabelToAxis().

[slot] QString TChartAxis::name() const

See also setName().

[slot] QBrush TChartAxis::oddGridBrush() const

See also setOddGridBrush().

[slot] TChart::Edge TChartAxis::position() const

See also setPosition().

[slot] QSet<QString> TChartAxis::propFlags() const

[slot] void TChartAxis::setAreaEnd(double pValue)

See also areaEnd().

[slot] void TChartAxis::setAreaNum(int pNum)

See also areaNum().

[slot] void TChartAxis::setAreaStart(double pValue)

See also areaStart().

[slot] void TChartAxis::setAxisPen(const QPen &pPen)

See also axisPen().

[protected] void TChartAxis::setAxisToCr(int size = 0)

See also axisToCr().

[slot] bool TChartAxis::setConfig(const QVariantMap &pConfig, QString *oErrStr = 0)

[slot] void TChartAxis::setEvenGridBrush(const QBrush &pBrush)

See also evenGridBrush().

[slot] void TChartAxis::setGridPen(const QPen &pPen)

See also gridPen().

[slot] void TChartAxis::setLabelAnchor(TChart::Anchor pAnchor)

See also labelAnchor().

[slot] void TChartAxis::setLabelAngle(int pAngle)

See also labelAngle().

[slot] void TChartAxis::setLabelFont(const QFont &pFont)

See also labelFont().

[slot] void TChartAxis::setLabelFormat(const QString &pFormat)

See also labelFormat().

[slot] void TChartAxis::setLabelPen(const QPen &pPen)

See also labelPen().

[slot] void TChartAxis::setLabelToAxis(int pDist)

See also labelToAxis().

[slot] void TChartAxis::setName(const QString &pName)

See also name().

[slot] void TChartAxis::setOddGridBrush(const QBrush &pBrush)

See also oddGridBrush().

[slot] void TChartAxis::setPosition(TChart::Edge pPosition)

See also position().

[slot] void TChartAxis::setStoreField(const QString &pField)

[slot] void TChartAxis::setStoreFields(const QStringList &pFields)

See also storeFields().

[slot] void TChartAxis::setTickLength(int pLength)

See also tickLength().

[slot] void TChartAxis::setTickPen(const QPen &pPen)

See also tickPen().

[slot] void TChartAxis::setTitle(const QString &pTitle)

See also title().

[slot] void TChartAxis::setTitleAnchor(TChart::Anchor pAnchor)

See also titleAnchor().

[slot] void TChartAxis::setTitleAngle(int pAngle)

See also titleAngle().

[slot] void TChartAxis::setTitleFont(const QFont &pFont)

See also titleFont().

[slot] void TChartAxis::setTitleMargin(const QMargins &pMargin)

See also titleMargin().

[slot] void TChartAxis::setTitlePen(const QPen &pPen)

See also titlePen().

[slot] QStringList TChartAxis::storeFields() const

See also setStoreFields().

[slot] int TChartAxis::tickLength() const

See also setTickLength().

[slot] QPen TChartAxis::tickPen() const

See also setTickPen().

[slot] QString TChartAxis::title() const

See also setTitle().

[slot] TChart::Anchor TChartAxis::titleAnchor() const

See also setTitleAnchor().

[slot] int TChartAxis::titleAngle() const

See also setTitleAngle().

[slot] QFont TChartAxis::titleFont() const

See also setTitleFont().

[slot] QMargins TChartAxis::titleMargin() const

See also setTitleMargin().

[slot] QPen TChartAxis::titlePen() const

See also setTitlePen().