23 #ifndef KDCHARTLINEDIAGRAM_H
24 #define KDCHARTLINEDIAGRAM_H
37 class ThreeDLineAttributes;
55 class LineDiagramType;
56 friend class LineDiagramType;
75 void setType(
const LineType type );
76 LineType type()
const;
84 void setCenterDataPoints(
bool center );
86 bool centerDataPoints()
const;
93 void setReverseDatasetOrder(
bool reverse );
95 bool reverseDatasetOrder()
const;
99 void setLineAttributes(
const QModelIndex & index,
const LineAttributes & a );
100 void resetLineAttributes(
int column );
101 void resetLineAttributes(
const QModelIndex & index );
108 void setThreeDLineAttributes(
const QModelIndex & index,
118 void setValueTrackerAttributes(
const QModelIndex & index,
122 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
125 const int numberOfAbscissaSegments ()
const;
127 const int numberOfOrdinateSegments ()
const;
131 int numberOfAbscissaSegments ()
const;
133 int numberOfOrdinateSegments ()
const;
140 void resize (
const QSizeF& area );
144 qreal valueForCellTesting(
int row,
int column,
146 bool showHiddenCellsAsInvalid =
false )
const;
149 bool shiftCountedXValuesByHalfSection,
150 qreal& valueX, qreal& valueY )
const;
152 virtual qreal threeDItemDepth(
const QModelIndex & index )
const;
153 virtual qreal threeDItemDepth(
int column )
const;
156 void paintEvent ( QPaintEvent* );
157 void resizeEvent ( QResizeEvent* );
162 #endif // KDCHARTLINEDIAGRAM_H