KChart
9 #ifndef KCHARTRULERATTRIBUTES_H
10 #define KCHARTRULERATTRIBUTES_H
37 void setTickMarkPen(
const QPen& pen );
38 QPen tickMarkPen()
const;
43 void setMajorTickMarkPen(
const QPen& pen );
44 bool majorTickMarkPenIsSet()
const;
45 QPen majorTickMarkPen()
const;
50 void setMinorTickMarkPen(
const QPen& pen );
51 bool minorTickMarkPenIsSet()
const;
52 QPen minorTickMarkPen()
const;
60 void setTickMarkPen( qreal value,
const QPen& pen );
61 QPen tickMarkPen( qreal value )
const;
65 bool hasTickMarkPenAt( qreal value)
const;
70 void setTickMarkColor(
const QColor& color );
71 QColor tickMarkColor()
const;
76 void setShowMinorTickMarks(
bool show );
77 bool showMinorTickMarks()
const;
82 void setRulerLinePen(
const QPen &pen);
85 QPen rulerLinePen()
const;
87 void setShowRulerLine(
bool show );
88 bool showRulerLine()
const;
93 void setShowMajorTickMarks(
bool show );
94 bool showMajorTickMarks()
const;
99 void setMajorTickMarkLength(
int length );
100 int majorTickMarkLength()
const;
101 bool majorTickMarkLengthIsSet()
const;
106 void setMinorTickMarkLength(
int length );
107 int minorTickMarkLength()
const;
108 bool minorTickMarkLengthIsSet()
const;
115 void setLabelMargin(
int margin);
116 int labelMargin()
const;
122 void setShowFirstTick(
bool show );
123 bool showFirstTick()
const;
126 inline bool operator!=(
const RulerAttributes& other )
const {
return !operator==(other); }
134 #if !defined(QT_NO_DEBUG_STREAM)
146 #endif // KCHARTRULERATTRIBUTES_H
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
A set of attributes controlling the appearance of axis rulers.
Definition of global enums.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Jul 1 2022 05:09:20 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.