SciDAVis  1.D4
Public Member Functions | Private Attributes
QwtTextScaleDraw Class Reference

#include <ScaleDraw.h>

Inheritance diagram for QwtTextScaleDraw:

List of all members.

Public Member Functions

QwtText label (double value) const
QStringList labelsList ()
QMap< int, QString > labelsMap ()
 QwtTextScaleDraw (const QMap< int, QString > &list)
 QwtTextScaleDraw (const ScaleDraw &other, const QMap< int, QString > &list)
void setLabelsMap (const QMap< int, QString > &list)
 ~QwtTextScaleDraw ()
- Public Member Functions inherited from ScaleDraw
QString formulaString ()
void labelFormat (char &f, int &prec) const
 Return the number format for the major scale labels.
int labelNumericPrecision () const
int majorTicksStyle () const
int minorTicksStyle () const
 ScaleDraw (const QString &s=QString::null)
 ScaleDraw (const ScaleDraw &other, const QString &s=QString::null)
void setFormulaString (const QString &formula)
void setLabelFormat (char f, int prec)
 Set the number format for the major scale labels.
void setMajorTicksStyle (TicksStyle type)
void setMinorTicksStyle (TicksStyle type)
double transformValue (double value) const
virtual ~ScaleDraw ()

Private Attributes

QMap< int, QString > labels

Additional Inherited Members

- Public Types inherited from ScaleDraw
enum  TicksStyle { None = 0, Out = 1, Both = 2, In = 3 }
- Protected Member Functions inherited from ScaleDraw
void drawTick (QPainter *p, double value, int len) const

Constructor & Destructor Documentation

QwtTextScaleDraw::QwtTextScaleDraw ( const QMap< int, QString > &  list)
QwtTextScaleDraw::QwtTextScaleDraw ( const ScaleDraw other,
const QMap< int, QString > &  list 
QwtTextScaleDraw::~QwtTextScaleDraw ( )

Member Function Documentation

QwtText QwtTextScaleDraw::label ( double  value) const

Reimplemented from ScaleDraw.

References labels.

QStringList QwtTextScaleDraw::labelsList ( )

References labels.

QMap<int, QString> QwtTextScaleDraw::labelsMap ( )

References labels.

Referenced by Graph::copy().

void QwtTextScaleDraw::setLabelsMap ( const QMap< int, QString > &  list)

References labels.

Member Data Documentation

QMap<int, QString> QwtTextScaleDraw::labels

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