23 #ifndef KDCHARTCARTESIANAXIS_H
24 #define KDCHARTCARTESIANAXIS_H
32 class AbstractCartesianDiagram;
76 virtual void paint( QPainter* );
83 void setTitleText(
const QString& text );
84 QString titleText()
const;
91 void setTitleSpace( qreal value );
92 qreal titleSpace()
const;
97 void setTitleSize(qreal value);
98 qreal titleSize()
const;
115 void resetTitleTextAttributes();
116 bool hasDefaultTitleTextAttributes()
const;
118 virtual void setPosition (
Position p );
119 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
120 virtual const Position position ()
const;
125 virtual void layoutPlanes();
127 virtual bool isAbscissa()
const;
128 virtual bool isOrdinate()
const;
156 void setCustomTickLength(
int value);
160 int customTickLength()
const;
163 virtual bool isEmpty()
const;
165 virtual Qt::Orientations expandingDirections()
const;
167 virtual QSize maximumSize()
const;
169 virtual QSize minimumSize()
const;
171 virtual QSize sizeHint()
const;
173 virtual void setGeometry(
const QRect& r );
175 virtual QRect geometry()
const;
178 void setCachedSizeDirty()
const;
180 virtual int tickLength(
bool subUnitTicks =
false )
const;
182 void coordinateSystemChanged();
184 friend class TickIterator;