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)
150 Q_DECLARE_METATYPE( KDChart::RulerAttributes )
152 #endif // KDCHARTRULERATTRIBUTES_H