Qti3DAxis Class Reference

List of all members.

Public Member Functions

bool decorate () const
void enableBackbone (bool)
void enableNumbers (bool)
 Turns number drawing on or off.
void enableTicks (bool)
 toggle whether or not labels/tics will be drawn (overrides individual flags)
double firstMajorTick () const
bool hasBackbone () const
 Whether or not axis backbone will be drawn.
bool hasNumbers () const
 whether number drawing is on or off
bool hasTicks () const
 whether scale drawing is on or off
Qti3DLabellabel ()
 Toggle whether or not axis backbone is drawn.
double lineWidth () const
 Returns line width for axis body.
double lowerBound () const
 Returns scale lower limit.
int majorIntervals () const
 Returns number of major intervals.
double majorTickLength () const
 Returns length of major ticks.
int minorIntervals () const
 Returns number of minor intervals.
double minorTickLength () const
 Returns length of minor ticks.
QFont numberFont () const
 Sets font for numbering.
int numbersGap () const
 Returns axis numbers shift.
Qti3D::NumericFormat numericFormat ()
 Returns numeric format for tick labels.
int numericPrecision ()
 Returns numeric precision for tick labels.
 Qti3DAxis ()
void setColor (const QColor &)
void setDecorate (bool)
 whether or not labels/tics will be drawn (overrides individual flags)
void setFirstMajorTick (double)
void setLineWidth (double val, double=1.0, double=1.0)
void setMajorIntervals (int)
 Requests major intervals.
void setMinorIntervals (int)
 Requests minor intervals.
void setNumberColor (const QColor &)
 Sets the color for axes numbers.
void setNumberFont (const QFont &)
void setNumberFont (const QString &family, int pointSize, int weight=QFont::Normal, bool italic=false)
void setNumbersGap (int)
 Shifts axis numbers in device coordinates.
void setNumericFormat (const Qti3D::NumericFormat &fmt, int prec)
void setStep (double)
void setTickLength (double majorl, double minorl)
 Sets tick lengths in world coordinates.
double step () const
double upperBound () const
 Returns scale upper limit.

Private Member Functions

 Qti3DAxis (const Qti3DAxis &)


Constructor & Destructor Documentation

Qti3DAxis::Qti3DAxis (  ) 

Qti3DAxis::Qti3DAxis ( const Qti3DAxis  )  [private]


Member Function Documentation

bool Qti3DAxis::decorate (  )  const

void Qti3DAxis::enableBackbone ( bool   ) 

void Qti3DAxis::enableNumbers ( bool   ) 

Turns number drawing on or off.

void Qti3DAxis::enableTicks ( bool   ) 

toggle whether or not labels/tics will be drawn (overrides individual flags)

Turns scale drawing on or off

double Qti3DAxis::firstMajorTick (  )  const

bool Qti3DAxis::hasBackbone (  )  const

Whether or not axis backbone will be drawn.

bool Qti3DAxis::hasNumbers (  )  const

whether number drawing is on or off

bool Qti3DAxis::hasTicks (  )  const

whether scale drawing is on or off

Qti3DLabel* Qti3DAxis::label (  ) 

Toggle whether or not axis backbone is drawn.

Returns a pointer to axis title

double Qti3DAxis::lineWidth (  )  const

Returns line width for axis body.

double Qti3DAxis::lowerBound (  )  const

Returns scale lower limit.

int Qti3DAxis::majorIntervals (  )  const

Returns number of major intervals.

double Qti3DAxis::majorTickLength (  )  const

Returns length of major ticks.

int Qti3DAxis::minorIntervals (  )  const

Returns number of minor intervals.

double Qti3DAxis::minorTickLength (  )  const

Returns length of minor ticks.

QFont Qti3DAxis::numberFont (  )  const

Sets font for numbering.

int Qti3DAxis::numbersGap (  )  const

Returns axis numbers shift.

Qti3D::NumericFormat Qti3DAxis::numericFormat (  ) 

Returns numeric format for tick labels.

int Qti3DAxis::numericPrecision (  ) 

Returns numeric precision for tick labels.

void Qti3DAxis::setColor ( const QColor &   ) 

void Qti3DAxis::setDecorate ( bool   ) 

whether or not labels/tics will be drawn (overrides individual flags)

void Qti3DAxis::setFirstMajorTick ( double   ) 

void Qti3DAxis::setLineWidth ( double  val,
double  = 1.0,
double  = 1.0 
)

void Qti3DAxis::setMajorIntervals ( int   ) 

Requests major intervals.

void Qti3DAxis::setMinorIntervals ( int   ) 

Requests minor intervals.

void Qti3DAxis::setNumberColor ( const QColor &   ) 

Sets the color for axes numbers.

void Qti3DAxis::setNumberFont ( const QFont &   ) 

void Qti3DAxis::setNumberFont ( const QString &  family,
int  pointSize,
int  weight = QFont::Normal,
bool  italic = false 
)

void Qti3DAxis::setNumbersGap ( int   ) 

Shifts axis numbers in device coordinates.

void Qti3DAxis::setNumericFormat ( const Qti3D::NumericFormat fmt,
int  prec 
)

void Qti3DAxis::setStep ( double   ) 

void Qti3DAxis::setTickLength ( double  majorl,
double  minorl 
)

Sets tick lengths in world coordinates.

double Qti3DAxis::step (  )  const

double Qti3DAxis::upperBound (  )  const

Returns scale upper limit.


The documentation for this class was generated from the following file:

Generated on Thu Oct 10 18:41:31 2024 for QtiPlot/Python-API by  doxygen 1.5.8