Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Axis Class Reference

#include <Axis.h>

List of all members.

Public Member Functions

 Axis ()
 general axis class
QDomElement saveXML (QDomDocument doc, int id)
void openXML (QDomNode node)
void Enable (bool b=true)
bool Enabled ()
void setScale (TScale s)
TScale Scale ()
void setLabel (Label *l)
LabelgetLabel ()
void setScaling (double s)
double Scaling ()
void setShift (double s)
double Shift ()
void setPosition (int p)
int Position ()
void centerX (int plotsize, double center)
 center label on x axis
void centerY (int plotsize, double center)
 center label on y axis
bool tickType ()
void setTickType (bool t)
bool tickLabelEnabled ()
void enableTickLabel (bool e=true)
void setTickLabelRotation (double r)
double TickLabelRotation ()
void setTickLabelPrefix (QString p)
QString TickLabelPrefix ()
void setTickLabelSuffix (QString s)
QString TickLabelSuffix ()
void setTickLabelFont (QFont a)
QFont TickLabelFont ()
void setTickColor (QColor col)
QColor TickColor ()
void setTickLabelColor (QColor col)
QColor TickLabelColor ()
void setTickLabelFormat (TFormat t)
TFormat TickLabelFormat ()
void setDateTimeFormat (QString f)
QString DateTimeFormat ()
void setTickLabelPrecision (int p)
int TickLabelPrecision ()
void setTickLabelPosition (int g)
int TickLabelPosition ()
void setMajorTicks (double t)
double MajorTicks ()
void setMinorTicks (int t)
int MinorTicks ()
void enableMajorTicks (bool b=true)
void enableMinorTicks (bool b=true)
bool MajorTicksEnabled ()
bool MinorTicksEnabled ()
void setTickPos (int tp)
int TickPos ()
void setMajorTickWidth (int w)
int majorTickWidth ()
void setMinorTickWidth (int w)
int minorTickWidth ()
double majorTickLength ()
void setMajorTickLength (double v)
double minorTickLength ()
void setMinorTickLength (double v)
bool BorderEnabled ()
void enableBorder (bool b=true)
void setBorderColor (QColor c)
QColor BorderColor ()
void setBorderWidth (int b)
int borderWidth ()
bool MajorGridEnabled ()
void enableMajorGrid (bool b=true)
bool MinorGridEnabled ()
void enableMinorGrid (bool b=true)
void setMajorGridColor (QColor c)
QColor majorGridColor ()
void setMinorGridColor (QColor c)
QColor minorGridColor ()
void setMajorGridType (Qt::PenStyle t)
Qt::PenStyle MajorGridType ()
void setMinorGridType (Qt::PenStyle t)
Qt::PenStyle MinorGridType ()
void setMajorGridWidth (int w)
int majorGridWidth ()
void setMinorGridWidth (int w)
int minorGridWidth ()

Private Attributes

bool enabled
 axis enabled ?
Labellabel
int position
 position : 0: normal 1: center
TScale scale
double scaling
double shift
 scaling and shift of axes tic values
int ticktype
 tick type. 0: NUMBER, 1: INCREMENT
bool ticklabel_enabled
 tick label enabled?
double ticklabelrotation
 tick label rotation
QString ticklabelprefix
QString ticklabelsuffix
 tick label prefix and suffix
QFont tickfont
 axis/tics label font
QColor tickcolor
QColor ticklabelcolor
TFormat ticklabelformat
 tick label format
QString datetimeformat
 format for time tick label
int ticklabelprecision
 tick label precision
int tickpos
 tick label position 0:out 1:in 2:in&out 3:none
double majorticks
 number of / increment for major ticks
int minorticks
 number of minor ticks
bool majorticks_enabled
 major ticks enabled ?
bool minorticks_enabled
 minor ticks enabled ?
int gap
 gap between tick label and axis
bool border_enabled
 border enabled
QColor bordercolor
 border color
int borderwidth
bool majorgrid_enabled
bool minorgrid_enabled
 border enabled
QColor majorgridcolor
QColor minorgridcolor
Qt::PenStyle majorgridtype
 major grid style (solid,dashed,dotted,...)
Qt::PenStyle minorgridtype
 minor grid style (solid,dashed,dotted,...)
int majortickwidth
int minortickwidth
int majorgridwidth
int minorgridwidth
double majorticklength
double minorticklength


Constructor & Destructor Documentation

Axis::Axis  ) 
 

general axis class


Member Function Documentation

QColor Axis::BorderColor  )  [inline]
 

bool Axis::BorderEnabled  )  [inline]
 

int Axis::borderWidth  )  [inline]
 

void Axis::centerX int  plotsize,
double  center
 

center label on x axis

void Axis::centerY int  plotsize,
double  center
 

center label on y axis

QString Axis::DateTimeFormat  )  [inline]
 

void Axis::Enable bool  b = true  )  [inline]
 

void Axis::enableBorder bool  b = true  )  [inline]
 

bool Axis::Enabled  )  [inline]
 

void Axis::enableMajorGrid bool  b = true  )  [inline]
 

void Axis::enableMajorTicks bool  b = true  )  [inline]
 

void Axis::enableMinorGrid bool  b = true  )  [inline]
 

void Axis::enableMinorTicks bool  b = true  )  [inline]
 

void Axis::enableTickLabel bool  e = true  )  [inline]
 

Label* Axis::getLabel  )  [inline]
 

QColor Axis::majorGridColor  )  [inline]
 

bool Axis::MajorGridEnabled  )  [inline]
 

Qt::PenStyle Axis::MajorGridType  )  [inline]
 

int Axis::majorGridWidth  )  [inline]
 

double Axis::majorTickLength  )  [inline]
 

double Axis::MajorTicks  )  [inline]
 

get number/increment of major ticks

bool Axis::MajorTicksEnabled  )  [inline]
 

int Axis::majorTickWidth  )  [inline]
 

QColor Axis::minorGridColor  )  [inline]
 

bool Axis::MinorGridEnabled  )  [inline]
 

Qt::PenStyle Axis::MinorGridType  )  [inline]
 

int Axis::minorGridWidth  )  [inline]
 

double Axis::minorTickLength  )  [inline]
 

int Axis::MinorTicks  )  [inline]
 

get number of minor ticks

bool Axis::MinorTicksEnabled  )  [inline]
 

int Axis::minorTickWidth  )  [inline]
 

void Axis::openXML QDomNode  node  ) 
 

int Axis::Position  )  [inline]
 

QDomElement Axis::saveXML QDomDocument  doc,
int  id
 

TScale Axis::Scale  )  [inline]
 

double Axis::Scaling  )  [inline]
 

void Axis::setBorderColor QColor  c  )  [inline]
 

void Axis::setBorderWidth int  b  )  [inline]
 

void Axis::setDateTimeFormat QString  f  )  [inline]
 

void Axis::setLabel Label l  )  [inline]
 

void Axis::setMajorGridColor QColor  c  )  [inline]
 

void Axis::setMajorGridType Qt::PenStyle  t  )  [inline]
 

void Axis::setMajorGridWidth int  w  )  [inline]
 

void Axis::setMajorTickLength double  v  )  [inline]
 

void Axis::setMajorTicks double  t  )  [inline]
 

set number of /increment for major ticks

void Axis::setMajorTickWidth int  w  )  [inline]
 

void Axis::setMinorGridColor QColor  c  )  [inline]
 

void Axis::setMinorGridType Qt::PenStyle  t  )  [inline]
 

void Axis::setMinorGridWidth int  w  )  [inline]
 

void Axis::setMinorTickLength double  v  )  [inline]
 

void Axis::setMinorTicks int  t  )  [inline]
 

set number of minor ticks

void Axis::setMinorTickWidth int  w  )  [inline]
 

void Axis::setPosition int  p  )  [inline]
 

void Axis::setScale TScale  s  )  [inline]
 

void Axis::setScaling double  s  )  [inline]
 

void Axis::setShift double  s  )  [inline]
 

void Axis::setTickColor QColor  col  )  [inline]
 

void Axis::setTickLabelColor QColor  col  )  [inline]
 

void Axis::setTickLabelFont QFont  a  )  [inline]
 

void Axis::setTickLabelFormat TFormat  t  )  [inline]
 

void Axis::setTickLabelPosition int  g  )  [inline]
 

void Axis::setTickLabelPrecision int  p  )  [inline]
 

void Axis::setTickLabelPrefix QString  p  )  [inline]
 

void Axis::setTickLabelRotation double  r  )  [inline]
 

void Axis::setTickLabelSuffix QString  s  )  [inline]
 

void Axis::setTickPos int  tp  )  [inline]
 

void Axis::setTickType bool  t  )  [inline]
 

double Axis::Shift  )  [inline]
 

QColor Axis::TickColor  )  [inline]
 

QColor Axis::TickLabelColor  )  [inline]
 

bool Axis::tickLabelEnabled  )  [inline]
 

QFont Axis::TickLabelFont  )  [inline]
 

TFormat Axis::TickLabelFormat  )  [inline]
 

int Axis::TickLabelPosition  )  [inline]
 

int Axis::TickLabelPrecision  )  [inline]
 

QString Axis::TickLabelPrefix  )  [inline]
 

double Axis::TickLabelRotation  )  [inline]
 

QString Axis::TickLabelSuffix  )  [inline]
 

int Axis::TickPos  )  [inline]
 

bool Axis::tickType  )  [inline]
 


Member Data Documentation

bool Axis::border_enabled [private]
 

border enabled

QColor Axis::bordercolor [private]
 

border color

int Axis::borderwidth [private]
 

QString Axis::datetimeformat [private]
 

format for time tick label

bool Axis::enabled [private]
 

axis enabled ?

int Axis::gap [private]
 

gap between tick label and axis

Label* Axis::label [private]
 

bool Axis::majorgrid_enabled [private]
 

QColor Axis::majorgridcolor [private]
 

Qt::PenStyle Axis::majorgridtype [private]
 

major grid style (solid,dashed,dotted,...)

int Axis::majorgridwidth [private]
 

double Axis::majorticklength [private]
 

double Axis::majorticks [private]
 

number of / increment for major ticks

bool Axis::majorticks_enabled [private]
 

major ticks enabled ?

int Axis::majortickwidth [private]
 

bool Axis::minorgrid_enabled [private]
 

border enabled

QColor Axis::minorgridcolor [private]
 

Qt::PenStyle Axis::minorgridtype [private]
 

minor grid style (solid,dashed,dotted,...)

int Axis::minorgridwidth [private]
 

double Axis::minorticklength [private]
 

int Axis::minorticks [private]
 

number of minor ticks

bool Axis::minorticks_enabled [private]
 

minor ticks enabled ?

int Axis::minortickwidth [private]
 

int Axis::position [private]
 

position : 0: normal 1: center

TScale Axis::scale [private]
 

double Axis::scaling [private]
 

double Axis::shift [private]
 

scaling and shift of axes tic values

QColor Axis::tickcolor [private]
 

QFont Axis::tickfont [private]
 

axis/tics label font

bool Axis::ticklabel_enabled [private]
 

tick label enabled?

QColor Axis::ticklabelcolor [private]
 

TFormat Axis::ticklabelformat [private]
 

tick label format

int Axis::ticklabelprecision [private]
 

tick label precision

QString Axis::ticklabelprefix [private]
 

double Axis::ticklabelrotation [private]
 

tick label rotation

QString Axis::ticklabelsuffix [private]
 

tick label prefix and suffix

int Axis::tickpos [private]
 

tick label position 0:out 1:in 2:in&out 3:none

int Axis::ticktype [private]
 

tick type. 0: NUMBER, 1: INCREMENT


The documentation for this class was generated from the following files:
Generated on Sun Apr 2 02:05:10 2006 for LabPlot by  doxygen 1.4.4