#include <TxqAxis.h>
Inheritance diagram for TxqAxis::

Public Methods | |
| TxqAxis () | |
| The constructor is default. More... | |
| virtual | ~TxqAxis () |
| The destructor is default. More... | |
| void | setOrientation (QString direction) |
| Set the orientation of the axis the orientation is either horizontal or vertical and can be specified with these QStrings: HORIZONTAL, H, horizontal, h, X, x VERTICAL, V, vertical, v, Y, y Z, z. More... | |
| QString | getOrientation () |
| Return the orientation placement. More... | |
| void | setBorderAxes (bool b) |
| Sets the border axes in the paint routine. More... | |
| void | setScientificNotation (bool f) |
| Sets the scientific notation flag. More... | |
| bool | getScientificNotation () |
| Get the scientific notation flag. More... | |
| void | assign (TxqAxis r) |
| Assign the class variables from one axis to another. More... | |
| void | autoSelectDataRanges (bool b) |
| Set data range auto select with a bool flag. More... | |
| void | autoSelectDataRangeMin (bool b) |
| Set min data range auto select with a bool flag. More... | |
| void | autoSelectDataRangeMax (bool b) |
| Set max data range auto select with a bool flag. More... | |
| void | setDataRangeMin (double d) |
| Set the data range minimum. More... | |
| double | getDataRangeMin () |
| Get the data range minimum value. More... | |
| void | setDataRangeMax (double d) |
| Set the data range max value. More... | |
| double | getDataRangeMax () |
| Get the data range maximum value. More... | |
| void | setMajorTickIncrement (double r) |
| Set the major tick increment. More... | |
| void | setMinorTickIncrement (double r) |
| Set the minor tick increment. More... | |
| double | getMajorTickIncrement () |
| Get the major tick increment value. More... | |
| double | getMinorTickIncrement () |
| Get the minor tick increment value. More... | |
| void | autoSelectMajorTickIncrement (bool b) |
| Select the major tick increment automatically. More... | |
| void | autoSelectMinorTickIncrement (bool b) |
| Select the minor tick increment automatically. More... | |
| bool | isBorderAxes () |
| Get the flag for border axis. More... | |
| bool | isAutoSelectedMajorTickIncrement () |
| Get the flag for auto selection of the major tick increment. More... | |
| bool | isAutoSelectedMinorTickIncrement () |
| Get the flag for auto selection of the minor tick increment. More... | |
| void | setTickType (int t) |
| Set the tick type. More... | |
| int | getTickType () |
| Get the tick type. More... | |
| void | setTickLabelFont (QFont f) |
| Set the tick label font. More... | |
| QFont | getTickLabelFont () |
| Get the tick label font. More... | |
| void | setTickLabelColor (QColor c) |
| Set the tick label color. More... | |
| QColor | getTickLabelColor () |
| Get the tick label color. More... | |
| void | setTickLabelPattern (TxqSciNumberPattern f) |
| Set the tick label patern. More... | |
| TxqSciNumberPattern | getTickLabelPattern () |
| Get the tick label patern. More... | |
| TxqSciNumberFormat | getTickLabelFormat () |
| Get the tick label format. More... | |
| bool | insideTick () |
| Get if this is an inside tick mark. More... | |
| bool | outsideTick () |
| Get if this is an outside tick mark. More... | |
| virtual void | setTitleLabel (QString label) |
| Set the title label. More... | |
| virtual void | setTitleLabel (QString lablel, double xpos, double ypos) |
| Set the title label. More... | |
| virtual QString | getTitleLabel () |
| Get the title label. More... | |
| virtual void | setTitleLabelFont (QFont f) |
| Set the title label font. More... | |
| virtual QFont | getTitleLabelFont () |
| Get the title label font. More... | |
| virtual void | setTitleLabelColor (QColor c) |
| Set the title label color. More... | |
| virtual QColor | getTitleLabelColor () |
| Get the title label color. More... | |
| void | invertBW (bool white) |
| Invert the axis black/white colors. More... | |
| bool | isAutoSelectedDataRangeMin () |
| Get if auto data range min is on. More... | |
| bool | isAutoSelectedDataRangeMax () |
| Get if auto selected range max is on. More... | |
| void | setActualMin (double d) |
| Set the actual min of the axis. More... | |
| void | setActualMax (double d) |
| Set the actual max of the axis. More... | |
| virtual int | getAxisMaxWidth () |
| Get the max axis width return of 0 if the axis orientation is VERTICAL. More... | |
| virtual int | getAxisMaxHeight () |
| Get the max axis height return of 0 if the axis orientation is HORIZONTAL. More... | |
| void | setAutoSize (bool b) |
| Set the auto size flag. More... | |
| bool | isAutoSize () |
| Get the autosize flag. More... | |
| void | setLogScale (bool scale) |
| Set the log scale. More... | |
| bool | getLogScale () |
| Get the log scale. More... | |
| void | setAxisAttribs (const TxqAxisAttribs &a) |
| Get the plot attributes of this axis. More... | |
| void | updateAxisAttribs (TxqAxisAttribs &a) |
| Update the plot attributes with new values. More... | |
Static Public Attributes | |
| const int | NO_TICKS = 0 |
| const int | INSIDE_TICK = 1 |
| const int | OUTSIDE_TICK = 2 |
Protected Methods | |
| virtual int | getMaxLabelWidth (QFontMetrics fm) |
| Get the maximum label width. More... | |
| virtual int | getMaxLabelHeight (QFontMetrics fm) |
| Get the maximum label height. More... | |
| int | tickLength (QFontMetrics fm) |
| Get the tick length. More... | |
Protected Attributes | |
| bool | sciNotation |
| The Scientific notation flag set to true if using X.XXE+XX notation on the axes. More... | |
| bool | autoMajorTickIncr |
| The auto major tick increment bool member. More... | |
| bool | autoMinorTickIncr |
| The auto minor tick increment bool member. More... | |
| double | actualMin |
| The actual data min value. More... | |
| double | actualMax |
| The actual data max value. More... | |
| double | selectedMin |
| The selected data min value. More... | |
| double | selectedMax |
| The selected data max value. More... | |
| bool | autoMin |
| The bool member for auto axis minimum. More... | |
| bool | autoMax |
| The bool member for auto axis maximum. More... | |
| double | majorTickIncr |
| The major tick increment member. More... | |
| double | minorTickIncr |
| The minor tick increment member. More... | |
| int | tickType |
| The tick type, inside or outside. More... | |
| QFont | tickLabelFont |
| The tick label font. More... | |
| QColor | tickLabelColor |
| The tick label color. More... | |
| TxqSciNumberPattern | tickLabelPattern |
| The tick label pattern. More... | |
| QString | axisType |
| The axis type, vertical or horizontal or other. More... | |
| bool | borderAxes |
| The bool flag for determing border axes. More... | |
| bool | autoSize |
| The bool flag for auto sizing the canvas. More... | |
| QFont | titleLabelFont |
| The title label font. More... | |
| QColor | titleLabelColor |
| The title label color. More... | |
| bool | hasTitleLabel |
| The bool flag to determine if contains a title label. More... | |
| bool | hasTitleLocation |
| The bool flag to determine if have title location. More... | |
| double | dmin |
| The data min value. More... | |
| double | dmax |
| The data max value. More... | |
| double | dmag |
| The data max - min value. More... | |
| int | axisLoc |
| The specified axis location value. More... | |
| int | axis1Loc |
| The axis location at top or right. More... | |
| int | axis2Loc |
| The axis location at bottom or left. More... | |
| QRect | plotRect |
| The plot rectangle. More... | |
| bool | log |
| the axis scale True if log. More... | |
| bool | xAxis |
| The X axis orientation bool flags. More... | |
| bool | yAxis |
| The Y axis orientation bool flags. More... | |
| bool | zAxis |
| The Z axis orientation bool flags. More... | |
This class provides base functionality for a two or three dimensional axis.
Copyright 2000 by Tech-X Corporation
Definition at line 44 of file TxqAxis.h.
|
|
The constructor is default.
|
|
|
The destructor is default.
|
|
|
Assign the class variables from one axis to another.
|
|
|
Set max data range auto select with a bool flag.
|
|
|
Set min data range auto select with a bool flag.
|
|
|
Set data range auto select with a bool flag.
|
|
|
Select the major tick increment automatically.
|
|
|
Select the minor tick increment automatically.
|
|
|
Get the max axis height return of 0 if the axis orientation is HORIZONTAL.
|
|
|
Get the max axis width return of 0 if the axis orientation is VERTICAL.
|
|
|
Get the data range maximum value.
|
|
|
Get the data range minimum value.
|
|
|
Get the log scale.
|
|
|
Get the major tick increment value.
|
|
|
Get the maximum label height.
|
|
|
Get the maximum label width.
|
|
|
Get the minor tick increment value.
|
|
|
Return the orientation placement.
Reimplemented in Txq3dAxis. |
|
|
Get the scientific notation flag.
|
|
|
Get the tick label color.
|
|
|
Get the tick label font.
|
|
|
Get the tick label format.
|
|
|
Get the tick label patern.
|
|
|
Get the tick type.
|
|
|
Get the title label.
|
|
|
Get the title label color.
|
|
|
Get the title label font.
|
|
|
Get if this is an inside tick mark.
|
|
|
Invert the axis black/white colors.
|
|
|
Get if auto selected range max is on.
|
|
|
Get if auto data range min is on.
|
|
|
Get the flag for auto selection of the major tick increment.
|
|
|
Get the flag for auto selection of the minor tick increment.
|
|
|
Get the autosize flag.
|
|
|
Get the flag for border axis.
|
|
|
Get if this is an outside tick mark.
|
|
|
Set the actual max of the axis.
|
|
|
Set the actual min of the axis.
|
|
|
Set the auto size flag.
|
|
|
Get the plot attributes of this axis.
|
|
|
Sets the border axes in the paint routine.
|
|
|
Set the data range max value.
|
|
|
Set the data range minimum.
|
|
|
Set the log scale.
|
|
|
Set the major tick increment.
|
|
|
Set the minor tick increment.
|
|
|
Set the orientation of the axis the orientation is either horizontal or vertical and can be specified with these QStrings: HORIZONTAL, H, horizontal, h, X, x VERTICAL, V, vertical, v, Y, y Z, z.
Reimplemented in Txq3dAxis. |
|
|
Sets the scientific notation flag.
|
|
|
Set the tick label color.
|
|
|
Set the tick label font.
|
|
|
Set the tick label patern.
|
|
|
Set the tick type.
|
|
|
Set the title label.
|
|
|
Set the title label.
Reimplemented in Txq2dAxis, and Txq3dAxis. Referenced by Txq3dAxis::setTitleLabel().
|
|
|
Set the title label color.
|
|
|
Set the title label font.
|
|
|
Get the tick length.
|
|
|
Update the plot attributes with new values.
|
|
|
|
|
|
|
|
|
|
|
|
The actual data max value.
|
|
|
The actual data min value.
|
|
|
The auto major tick increment bool member.
|
|
|
The bool member for auto axis maximum.
|
|
|
The bool member for auto axis minimum.
|
|
|
The auto minor tick increment bool member.
|
|
|
The bool flag for auto sizing the canvas.
|
|
|
The axis location at top or right.
|
|
|
The axis location at bottom or left.
|
|
|
The specified axis location value.
|
|
|
The axis type, vertical or horizontal or other.
|
|
|
The bool flag for determing border axes.
|
|
|
The data max - min value.
|
|
|
The data max value.
|
|
|
The data min value.
|
|
|
The bool flag to determine if contains a title label.
|
|
|
The bool flag to determine if have title location.
|
|
|
the axis scale True if log.
|
|
|
The major tick increment member.
|
|
|
The minor tick increment member.
|
|
|
The plot rectangle.
|
|
|
The Scientific notation flag set to true if using X.XXE+XX notation on the axes.
|
|
|
The selected data max value.
|
|
|
The selected data min value.
|
|
|
The tick label color.
|
|
|
The tick label font.
|
|
|
The tick label pattern.
|
|
|
The tick type, inside or outside.
|
|
|
The title label color.
|
|
|
The title label font.
|
|
|
The X axis orientation bool flags.
Reimplemented in Txq3dAxis. |
|
|
The Y axis orientation bool flags.
Reimplemented in Txq3dAxis. |
|
|
The Z axis orientation bool flags.
Reimplemented in Txq3dAxis. |
Copyright Tech-X Corporation, all rights reserved.