23 #ifndef KDCHARTPLOTTER_H
24 #define KDCHARTPLOTTER_H
33 class ThreeDLineAttributes;
46 Q_PROPERTY(
CompressionMode useDataCompression READ useDataCompression WRITE setUseDataCompression )
47 Q_PROPERTY( qreal mergeRadiusPercentage READ mergeRadiusPercentage WRITE setMergeRadiusPercentage )
54 friend class PlotterType;
64 bool compare(
const Plotter* other )
const;
72 void setType(
const PlotType type );
73 PlotType type()
const;
77 void setLineAttributes(
const QModelIndex & index,
const LineAttributes & a );
78 void resetLineAttributes(
int column );
79 void resetLineAttributes(
const QModelIndex & index );
86 void setThreeDLineAttributes(
const QModelIndex & index,
96 void setValueTrackerAttributes(
const QModelIndex & index,
100 void setModel( QAbstractItemModel *model );
102 CompressionMode useDataCompression()
const;
103 void setUseDataCompression( CompressionMode value );
105 qreal maxSlopeChange()
const;
106 void setMaxSlopeChange( qreal value );
108 qreal mergeRadiusPercentage()
const;
109 void setMergeRadiusPercentage( qreal value );
111 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
114 const int numberOfAbscissaSegments ()
const;
116 const int numberOfOrdinateSegments ()
const;
120 int numberOfAbscissaSegments ()
const;
122 int numberOfOrdinateSegments ()
const;
129 void resize (
const QSizeF& area );
132 virtual qreal threeDItemDepth(
const QModelIndex & index )
const;
133 virtual qreal threeDItemDepth(
int column )
const;
136 void paintEvent ( QPaintEvent* );
137 void resizeEvent ( QResizeEvent* );
139 void setDataBoundariesDirty();
140 void calcMergeRadius();
145 #endif // KDCHARTLINEDIAGRAM_H