 |
KD Chart 2
[rev.2.7]
|
Go to the documentation of this file.
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;
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
KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::RulerAttributes &)
bool operator==(const Span &s1, const Span &s2)
#define KDCHART_DECLARE_SWAP_SPECIALISATION(X)
A set of attributes controlling the appearance of axis rulers.
Definition of global enums.
QMap< qreal, QPen > TickMarkerPensMap
bool operator!=(const RulerAttributes &other) const
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDChart::RulerAttributes, Q_MOVABLE_TYPE)
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE(X)