00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef KDCHARTVALUETRACKERATTRIBUTES_H
00031 #define KDCHARTVALUETRACKERATTRIBUTES_H
00032
00033 #include <QDebug>
00034 #include <QMetaType>
00035 #include "KDChartGlobal.h"
00036
00037 namespace KDChart {
00038
00049 class KDCHART_EXPORT ValueTrackerAttributes
00050 {
00051 public:
00052 ValueTrackerAttributes();
00053 ValueTrackerAttributes( const ValueTrackerAttributes& );
00054 ValueTrackerAttributes &operator= ( const ValueTrackerAttributes& );
00055
00056 ~ValueTrackerAttributes();
00057
00061 void setPen( const QPen& pen );
00062
00066 QPen pen() const;
00067
00073 void setAreaBrush( const QBrush& brush );
00074
00078 QBrush areaBrush() const;
00079
00084 void setMarkerSize( const QSizeF& size );
00085
00089 QSizeF markerSize() const;
00090
00095 void setEnabled( bool enabled );
00096
00100 bool isEnabled() const;
00101
00102 bool operator==( const ValueTrackerAttributes& ) const;
00103 inline bool operator!=( const ValueTrackerAttributes& other ) const { return !operator==(other); }
00104
00105 private:
00106 KDCHART_DECLARE_PRIVATE_BASE_VALUE( ValueTrackerAttributes )
00107 };
00108
00109 }
00110
00111 #if !defined(QT_NO_DEBUG_STREAM)
00112 KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::ValueTrackerAttributes& );
00113 #endif
00114
00115 Q_DECLARE_METATYPE( KDChart::ValueTrackerAttributes )
00116 KDCHART_DECLARE_SWAP_SPECIALISATION( KDChart::ValueTrackerAttributes )
00117 Q_DECLARE_TYPEINFO( KDChart::ValueTrackerAttributes, Q_MOVABLE_TYPE );
00118
00119 #endif // KDCHARTVALUETRACKERATTRIBUTES_H