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 override;
103 int numberOfOrdinateSegments ()
const override;
110 void resize (
const QSizeF& area )
override;
113 qreal threeDItemDepth(
const QModelIndex & index )
const override;
114 qreal threeDItemDepth(
int column )
const override;
117 void paintEvent ( QPaintEvent* )
override;
118 void resizeEvent ( QResizeEvent* )
override;
121 void calculateValueAndGapWidths(
int rowCount,
int colCount,
124 qreal& spaceBetweenBars,
125 qreal& spaceBetweenGroups );
130 #endif // KDCHARTBARDIAGRAM_H
Set of attributes for changing the appearance of bar charts.
BarDiagram defines a common bar diagram.
Base class for diagrams based on a cartesian coordianate system.
Stores information about painting diagrams.
A set of 3D bar attributes.
#define KDCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE)
Cartesian coordinate plane.