 |
KD Chart 2
[rev.2.7]
|
Go to the documentation of this file.
23 #ifndef __KDCHARTDIAGRAMOBSERVER_H_
24 #define __KDCHARTDIAGRAMOBSERVER_H_
30 #include <QModelIndex>
33 class QAbstractItemModel;
38 class AbstractDiagram;
72 void slotAboutToBeDestroyed();
73 void slotHeaderDataChanged(Qt::Orientation,
int,
int);
74 void slotDataChanged(QModelIndex,QModelIndex);
75 void slotDataChanged();
76 void slotDataHidden();
77 void slotAttributesChanged();
78 void slotAttributesChanged(QModelIndex,QModelIndex);
79 void slotModelsChanged();
85 QPointer<QAbstractItemModel> m_model;
86 QPointer<QAbstractItemModel> m_attributesmodel;
90 #endif // KDChartDiagramObserver_H
A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing sig...
void diagramDataChanged(AbstractDiagram *diagram)
This signal is emitted whenever the data of the diagram changes.
void diagramDataHidden(AbstractDiagram *diagram)
This signal is emitted whenever any of the data of the diagram was set (un)hidden.
void diagramAttributesChanged(AbstractDiagram *diagram)
This signal is emitted whenever the attributes of the diagram change.
void diagramDestroyed(AbstractDiagram *diagram)
This signal is emitted immediately before the diagram is being destroyed.
AbstractDiagram defines the interface for diagram classes.
void diagramAboutToBeDestroyed(AbstractDiagram *diagram)
Emitted when a diagram is being destroyed, but before its data is invalidated.