23 #ifndef KDCHARTTEXTATTRIBUTES_H
24 #define KDCHARTTEXTATTRIBUTES_H
62 void setVisible(
bool visible );
67 bool isVisible()
const;
79 void setFont(
const QFont& font );
91 void setFontSize(
const Measure & measure );
103 void setMinimalFontSize(
const Measure & measure );
108 Measure minimalFontSize()
const;
117 qreal calculatedFontSize(
const QSizeF &referenceSize,
127 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
128 const qreal calculatedFontSize(
130 qreal calculatedFontSize(
132 const QObject* autoReferenceArea,
142 const QFont calculatedFont(
143 const QObject* autoReferenceArea,
149 bool hasAbsoluteFontSize()
const;
156 void setAutoRotate(
bool autoRotate );
162 bool autoRotate()
const;
169 void setAutoShrink(
bool autoShrink );
175 bool autoShrink()
const;
188 void setRotation(
int rotation );
189 void resetRotation();
190 bool hasRotation()
const;
195 int rotation()
const;
201 void setPen(
const QPen& pen );
228 #if !defined(QT_NO_DEBUG_STREAM)
237 Q_DECLARE_METATYPE( KDChart::TextAttributes )
239 #endif // KDCHARTTEXTATTRIBUTES_H