TChartLegend Class

Header: #include <TChartLegend>
Inherits: QObject

Public Functions

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

Public Slots

TChart::Anchor anchor() const
QBrush boxBrush() const
QMargins boxPadding() const
QPen boxPen() const
double boxToCrEdge() const
TChartWidget *chartWidget() const
int horizontalSpacing() const
QSize iconSize() const
QFont labelFont() const
QPen labelPen() const
QMargins margin() const
Qt::Orientation orientation() const
int queueCount() const
void setAnchor(TChart::Anchor pAnchor)
void setBoxBrush(const QBrush &pBrush)
void setBoxPadding(const QMargins pPadding)
void setBoxPen(const QPen &pPen)
void setBoxToCrEdge(double pValue)
bool setConfig(const QVariantMap &pConfig, QString *oErrStr = 0)
void setHorizontalSpacing(int pSpacing)
void setIconSize(const QSize &pSize)
void setLabelFont(const QFont &pFont)
void setLabelPen(const QPen &pPen)
void setMargin(const QMargins &pMargin)
void setOrientation(Qt::Orientation pOrient)
void setQueueCount(int pCount)
void setVerticalSpacing(int pSpacing)
int verticalSpacing() const
  • 1 public slot 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
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

Member Function Documentation

TChartLegend::TChartLegend(QObject *parent = 0)

Default constructs an instance of TChartLegend.

TChartLegend::~TChartLegend()

Destroys the instance of TChartLegend.

[slot] TChart::Anchor TChartLegend::anchor() const

See also setAnchor().

[slot] QBrush TChartLegend::boxBrush() const

See also setBoxBrush().

[slot] QMargins TChartLegend::boxPadding() const

See also setBoxPadding().

[slot] QPen TChartLegend::boxPen() const

See also setBoxPen().

[slot] double TChartLegend::boxToCrEdge() const

See also setBoxToCrEdge().

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

QList<TChartDrawItem> TChartLegend::getDrawItems()

int TChartLegend::getOccupySize()

[slot] int TChartLegend::horizontalSpacing() const

See also setHorizontalSpacing().

[slot] QSize TChartLegend::iconSize() const

See also setIconSize().

[slot] QFont TChartLegend::labelFont() const

See also setLabelFont().

[slot] QPen TChartLegend::labelPen() const

See also setLabelPen().

[slot] QMargins TChartLegend::margin() const

See also setMargin().

[slot] Qt::Orientation TChartLegend::orientation() const

See also setOrientation().

[slot] int TChartLegend::queueCount() const

See also setQueueCount().

[slot] void TChartLegend::setAnchor(TChart::Anchor pAnchor)

See also anchor().

[slot] void TChartLegend::setBoxBrush(const QBrush &pBrush)

See also boxBrush().

[slot] void TChartLegend::setBoxPadding(const QMargins pPadding)

See also boxPadding().

[slot] void TChartLegend::setBoxPen(const QPen &pPen)

See also boxPen().

[slot] void TChartLegend::setBoxToCrEdge(double pValue)

See also boxToCrEdge().

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

[slot] void TChartLegend::setHorizontalSpacing(int pSpacing)

See also horizontalSpacing().

[slot] void TChartLegend::setIconSize(const QSize &pSize)

See also iconSize().

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

See also labelFont().

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

See also labelPen().

[slot] void TChartLegend::setMargin(const QMargins &pMargin)

See also margin().

[slot] void TChartLegend::setOrientation(Qt::Orientation pOrient)

See also orientation().

[slot] void TChartLegend::setQueueCount(int pCount)

See also queueCount().

[slot] void TChartLegend::setVerticalSpacing(int pSpacing)

See also verticalSpacing().

[slot] int TChartLegend::verticalSpacing() const

See also setVerticalSpacing().