class Axis: public AlterableObject
Implements an axis object.
Inherits from AlterableObject.
| Axis | Implements an axis object. |
| Functions | |
| Axis | Initializes the object. |
| ~Axis | Releases all allocated resources. |
| Draw | Draws the axis. |
| DrawLabels | Draws the label assigned to the axis. |
| ChangePosition | Unused function. |
| ChangeAlpha | Changes the alpha value of the axis. |
| GetOrientation | Returns the orientation of the axis, either ORIENTATION_HORIZONTAL or ORIENTATION_VERTICAL. |
| GetText | Returns the text of the label assigned to the axis. |
Axis( int iOrientation, QString sText = NULL )
Initializes the object.
| iOrientation | ORIENTATION_HORIZONTAL or ORIENTATION_VERTICAL. |
| sText | Text for the label of the axis. Default value is NULL. |
void Draw( QPainter * pPainter )
Draws the axis. Inherited from AlterableObject.
| pPainter | The QPainter object that shall be used for painting. |
void DrawLabels( QPainter * pPainter )
Draws the label assigned to the axis. Inherited from AlterableObject.
| pPainter | The QPainter object that shall be used for painting. |
void ChangePosition( float fDeltaLeft, float fDeltaTop, float fDeltaBottom )
Unused function. Inherited from AlterableObject.
| fDeltaLeft | Unused parameter. |
| fDeltaTop | Unused parameter. |
| fDeltaBottom | Unused parameter. |
void ChangeAlpha( float fDeltaAlpha )
Changes the alpha value of the axis. Inherited from AlterableObject.
| fDeltaAlpha | Change of alpha value. |
int GetOrientation()
Returns the orientation of the axis, either ORIENTATION_HORIZONTAL or ORIENTATION_VERTICAL.
The orientation of the axis.
Implements an axis object.
class Axis: public AlterableObject
Initializes the object.
Axis( int iOrientation, QString sText = NULL )
Releases all allocated resources.
~Axis()
Draws the axis.
void Draw( QPainter * pPainter )
Draws the label assigned to the axis.
void DrawLabels( QPainter * pPainter )
Unused function.
void ChangePosition( float fDeltaLeft, float fDeltaTop, float fDeltaBottom )
Changes the alpha value of the axis.
void ChangeAlpha( float fDeltaAlpha )
Returns the orientation of the axis, either ORIENTATION_HORIZONTAL or ORIENTATION_VERTICAL.
int GetOrientation()
Returns the text of the label assigned to the axis.
QString GetText()
Abstract class that implements the skeleton of an alterable object, i.e.
class AlterableObject