KD Chart 2
[rev.2.7]
|
A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals. More...
#include <KDChartDiagramObserver.h>
Signals | |
void | diagramAboutToBeDestroyed (AbstractDiagram *diagram) |
Emitted when a diagram is being destroyed, but before its data is invalidated. More... | |
void | diagramAttributesChanged (AbstractDiagram *diagram) |
This signal is emitted whenever the attributes of the diagram change. More... | |
void | diagramDataChanged (AbstractDiagram *diagram) |
This signal is emitted whenever the data of the diagram changes. More... | |
void | diagramDataHidden (AbstractDiagram *diagram) |
This signal is emitted whenever any of the data of the diagram was set (un)hidden. More... | |
void | diagramDestroyed (AbstractDiagram *diagram) |
This signal is emitted immediately before the diagram is being destroyed. More... | |
Public Member Functions | |
const AbstractDiagram * | diagram () const |
AbstractDiagram * | diagram () |
DiagramObserver (AbstractDiagram *diagram, QObject *parent=0) | |
Constructs a new observer observing the given diagram. More... | |
~DiagramObserver () override | |
A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals.
Definition at line 44 of file KDChartDiagramObserver.h.
|
explicit |
Constructs a new observer observing the given diagram.
Definition at line 33 of file KDChartDiagramObserver.cpp.
|
override |
Definition at line 44 of file KDChartDiagramObserver.cpp.
const AbstractDiagram * DiagramObserver::diagram | ( | ) | const |
Definition at line 48 of file KDChartDiagramObserver.cpp.
Referenced by KDChart::Legend::datasetCount().
AbstractDiagram * DiagramObserver::diagram | ( | ) |
Definition at line 53 of file KDChartDiagramObserver.cpp.
References KDChart::AbstractDiagram::attributesModel(), diagramAboutToBeDestroyed(), diagramAttributesChanged(), diagramDataChanged(), diagramDataHidden(), and diagramDestroyed().
|
signal |
Emitted when a diagram is being destroyed, but before its data is invalidated.
Referenced by diagram().
|
signal |
This signal is emitted whenever the attributes of the diagram change.
Referenced by diagram().
|
signal |
This signal is emitted whenever the data of the diagram changes.
Referenced by diagram().
|
signal |
This signal is emitted whenever any of the data of the diagram was set (un)hidden.
Referenced by diagram().
|
signal |
This signal is emitted immediately before the diagram is being destroyed.
Referenced by diagram().