11 #ifndef KDCHARTRULERATTRIBUTES_H
12 #define KDCHARTRULERATTRIBUTES_H
39 void setTickMarkPen(
const QPen &pen);
40 QPen tickMarkPen()
const;
45 void setMajorTickMarkPen(
const QPen &pen);
46 bool majorTickMarkPenIsSet()
const;
47 QPen majorTickMarkPen()
const;
52 void setMinorTickMarkPen(
const QPen &pen);
53 bool minorTickMarkPenIsSet()
const;
54 QPen minorTickMarkPen()
const;
62 void setTickMarkPen(qreal value,
const QPen &pen);
63 QPen tickMarkPen(qreal value)
const;
67 bool hasTickMarkPenAt(qreal value)
const;
72 void setTickMarkColor(
const QColor &color);
73 QColor tickMarkColor()
const;
78 void setShowMinorTickMarks(
bool show);
79 bool showMinorTickMarks()
const;
81 void setShowRulerLine(
bool show);
82 bool showRulerLine()
const;
87 void setShowMajorTickMarks(
bool show);
88 bool showMajorTickMarks()
const;
93 void setMajorTickMarkLength(
int length);
94 int majorTickMarkLength()
const;
95 bool majorTickMarkLengthIsSet()
const;
100 void setMinorTickMarkLength(
int length);
101 int minorTickMarkLength()
const;
102 bool minorTickMarkLengthIsSet()
const;
109 void setLabelMargin(
int margin);
110 int labelMargin()
const;
116 void setShowFirstTick(
bool show);
117 bool showFirstTick()
const;
130 #if !defined(QT_NO_DEBUG_STREAM)
Definition of global enums.
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::RulerAttributes &)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::RulerAttributes, Q_MOVABLE_TYPE)
A set of attributes controlling the appearance of axis rulers.
QMap< qreal, QPen > TickMarkerPensMap
bool operator!=(const RulerAttributes &other) const
bool operator==(const TickInfo &, const TickInfo &)