23 #ifndef KDCHARTBARDIAGRAM_H
24 #define KDCHARTBARDIAGRAM_H
35 class ThreeDBarAttributes;
52 friend class BarDiagramType;
70 void setType(
const BarType type );
73 void setOrientation( Qt::Orientation orientation );
74 Qt::Orientation orientation()
const;
78 void setBarAttributes(
const QModelIndex & index,
const BarAttributes & a );
82 BarAttributes barAttributes(
const QModelIndex & index )
const;
86 void setThreeDBarAttributes(
const QModelIndex & index,
92 #if QT_VERSION < 0x040400 || defined(Q_COMPILER_MANGLES_RETURN_TYPE)
95 const int numberOfAbscissaSegments ()
const;
97 const int numberOfOrdinateSegments ()
const;
101 int numberOfAbscissaSegments ()
const;
103 int numberOfOrdinateSegments ()
const;
110 void resize (
const QSizeF& area );
113 virtual qreal threeDItemDepth(
const QModelIndex & index )
const;
114 virtual qreal threeDItemDepth(
int column )
const;
117 void paintEvent ( QPaintEvent* );
118 void resizeEvent ( QResizeEvent* );
121 void calculateValueAndGapWidths(
int rowCount,
int colCount,
124 qreal& spaceBetweenBars,
125 qreal& spaceBetweenGroups );
130 #endif // KDCHARTBARDIAGRAM_H