23 #ifndef KDCHARTRULERATTRIBUTES_H 24 #define KDCHARTRULERATTRIBUTES_H 51 void setTickMarkPen(
const QPen& pen );
52 QPen tickMarkPen()
const;
57 void setMajorTickMarkPen(
const QPen& pen );
58 bool majorTickMarkPenIsSet()
const;
59 QPen majorTickMarkPen()
const;
64 void setMinorTickMarkPen(
const QPen& pen );
65 bool minorTickMarkPenIsSet()
const;
66 QPen minorTickMarkPen()
const;
74 void setTickMarkPen( qreal value,
const QPen& pen );
75 QPen tickMarkPen( qreal value )
const;
77 TickMarkerPensMap tickMarkPens()
const;
79 bool hasTickMarkPenAt( qreal value)
const;
84 void setTickMarkColor(
const QColor& color );
85 QColor tickMarkColor()
const;
90 void setShowMinorTickMarks(
bool show );
91 bool showMinorTickMarks()
const;
93 void setShowRulerLine(
bool show );
94 bool showRulerLine()
const;
99 void setShowMajorTickMarks(
bool show );
100 bool showMajorTickMarks()
const;
105 void setMajorTickMarkLength(
int length );
106 int majorTickMarkLength()
const;
107 bool majorTickMarkLengthIsSet()
const;
112 void setMinorTickMarkLength(
int length );
113 int minorTickMarkLength()
const;
114 bool minorTickMarkLengthIsSet()
const;
121 void setLabelMargin(
int margin);
122 int labelMargin()
const;
128 void setShowFirstTick(
bool show );
129 bool showFirstTick()
const;
140 #if !defined(QT_NO_DEBUG_STREAM) 152 #endif // KDCHARTRULERATTRIBUTES_H QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::RulerAttributes, Q_MOVABLE_TYPE)
bool operator==(const Span &s1, const Span &s2)
QMap< qreal, QPen > TickMarkerPensMap
Definition of global enums.
bool operator!=(const RulerAttributes &other) const
A set of attributes controlling the appearance of axis rulers.
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
QDebug operator<<(QDebug stream, const DataDimension &r)