KDChartCustomBox.h
Go to the documentation of this file.
Definition of global enums.
void setDataRow(uint dataRow)
Specifies the row number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:542
bool deltaScaleGlobal() const
Returns the way how the distance between the box and its anchor is calculated.
Definition KDChartCustomBox.h:883
void setData3rd(uint data3rd)
Specifies the third dimensions number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:561
void setDistanceAndSize(int deltaX, int deltaY, int width, int height, uint deltaAlign=KDCHART_AlignAuto, bool deltaScaleGlobal=true)
Specifies the distance between the box and the anchor point and specifies the size of the box.
Definition KDChartCustomBox.h:588
KDChartEnums::PositionFlag anchorPosition() const
Returns the anchor position.
Definition KDChartCustomBox.h:792
uint deltaAlign() const
Returns the way how the values specified for deltaX and/or deltaY affect the position of the box.
Definition KDChartCustomBox.h:872
void setPaper(const TQBrush &paper)
Specifies the brush to be used for the background.
Definition KDChartCustomBox.h:732
uint dataCol() const
Returns the column number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:820
const KDChartTextPiece & content() const
Returns the text piece content that is to be drawn.
Definition KDChartCustomBox.h:748
bool fontScaleGlobal() const
Returns the way how the font size is calculated if fontSize() is negative.
Definition KDChartCustomBox.h:774
int width() const
Returns the width of the region where to draw the box.
Definition KDChartCustomBox.h:895
int height() const
Returns the height of the region where to draw the box.
Definition KDChartCustomBox.h:907
void setAnchorPosition(KDChartEnums::PositionFlag position)
Specifies the anchor position.
Definition KDChartCustomBox.h:524
void setInternalFlagAnchorBeingCalculated(bool flag) const
Internal routine for recursion handling.
Definition KDChartCustomBox.h:964
KDChartCustomBox(const KDChartTextPiece &content, int fontSize, bool fontScaleGlobal=true)
Constructor.
Definition KDChartCustomBox.h:109
uint dataRow() const
Returns the row number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:810
void setRotation(int rotation)
Specifies the rotation angle of the box in degrees (0..360).
Definition KDChartCustomBox.h:471
void setFontSize(int fontSize, bool fontScaleGlobal)
Specifies the font size to be used.
Definition KDChartCustomBox.h:505
KDChartCustomBox(const KDChartTextPiece &content, int fontSize, bool fontScaleGlobal, int deltaX, int deltaY, int width, int height, const TQColor &color=TQColor(TQt::black), const TQBrush &paper=TQBrush(TQt::NoBrush), uint area=KDChartEnums::AreaInnermost, KDChartEnums::PositionFlag position=KDChartEnums::PosTopLeft, uint align=TQt::AlignTop+TQt::AlignLeft, uint dataRow=0, uint dataCol=0, uint data3rd=0, uint deltaAlign=KDCHART_AlignAuto, bool deltaScaleGlobal=true, int parentAxis=-1)
Constructor.
Definition KDChartCustomBox.h:202
void setDistance(int deltaX, int deltaY, uint align=KDCHART_AlignAuto, bool deltaScaleGlobal=true)
Specifies the distance between the box and the anchor point.
Definition KDChartCustomBox.h:629
uint data3rd() const
Returns the third dimensions number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:831
int deltaY() const
Returns the Y distance between the box and its anchor.
Definition KDChartCustomBox.h:861
void setAnchorAlign(uint align)
Specifies the way how the box is to be aligned to its anchor.
Definition KDChartCustomBox.h:533
uint anchorArea() const
Returns the area to which the box is to be aligned.
Definition KDChartCustomBox.h:782
int rotation() const
Returns the rotation angle of the box in degrees (0..360).
Definition KDChartCustomBox.h:740
void setDataCol(uint dataCol)
Specifies the column number of the KDChart data region that is to be used as anchor area.
Definition KDChartCustomBox.h:551
void setContent(const KDChartTextPiece &content)
Specifies the text piece content to be drawn.
Definition KDChartCustomBox.h:479
KDChartCustomBox(int rotation, const KDChartTextPiece &content, int fontSize, bool fontScaleGlobal, int deltaX, int deltaY, int width, int height, const TQColor &color=TQColor(TQt::black), const TQBrush &paper=TQBrush(TQt::NoBrush), uint area=KDChartEnums::AreaInnermost, KDChartEnums::PositionFlag position=KDChartEnums::PosTopLeft, uint align=TQt::AlignTop+TQt::AlignLeft, uint dataRow=0, uint dataCol=0, uint data3rd=0, uint deltaAlign=KDCHART_AlignAuto, bool deltaScaleGlobal=true, int parentAxis=-1)
Constructor.
Definition KDChartCustomBox.h:323
bool anchorBeingCalculated() const
Internal routine for recursion handling.
Definition KDChartCustomBox.h:972
void setDeltaScale(bool deltaScaleGlobal)
Specifies the way how the distance between the box and its anchor will be calculated.
Definition KDChartCustomBox.h:687
void setDeltaAlign(uint align, bool deltaScaleGlobal=true)
Specifies the way how the values specified for deltaX and/or deltaY affect the position of the box.
Definition KDChartCustomBox.h:669
int deltaX() const
Returns the X distance between the box and its anchor.
Definition KDChartCustomBox.h:846
void setAnchorArea(uint area)
Specifies the area to which the box is to be aligned.
Definition KDChartCustomBox.h:514
uint anchorAlign() const
Returns the way how the box is to be aligned to its anchor.
Definition KDChartCustomBox.h:800
Project global class providing some enums needed both by KDChartParams and by KDChartCustomBox.
Definition KDChartEnums.h:47
PositionFlag
The general position flag to specify a point of an area, for example this could be the anchor point w...
Definition KDChartEnums.h:259
