KD Chart 2  [rev.2.7]
Signals | Public Member Functions | List of all members
KDChart::DiagramObserver Class Reference

A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals. More...

#include <KDChartDiagramObserver.h>

Inheritance diagram for KDChart::DiagramObserver:
Inheritance graph
[legend]
Collaboration diagram for KDChart::DiagramObserver:
Collaboration graph
[legend]

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 AbstractDiagramdiagram () const
 
AbstractDiagramdiagram ()
 
 DiagramObserver (AbstractDiagram *diagram, QObject *parent=0)
 Constructs a new observer observing the given diagram. More...
 
 ~DiagramObserver () override
 

Detailed Description

A DiagramObserver watches the associated diagram for changes and deletion and emits corresponsing signals.

Definition at line 44 of file KDChartDiagramObserver.h.

Constructor & Destructor Documentation

DiagramObserver::DiagramObserver ( AbstractDiagram diagram,
QObject parent = 0 
)
explicit

Constructs a new observer observing the given diagram.

Definition at line 33 of file KDChartDiagramObserver.cpp.

DiagramObserver::~DiagramObserver ( )
override

Definition at line 44 of file KDChartDiagramObserver.cpp.

Member Function Documentation

const AbstractDiagram * DiagramObserver::diagram ( ) const

Definition at line 48 of file KDChartDiagramObserver.cpp.

Referenced by KDChart::Legend::datasetCount().

AbstractDiagram * DiagramObserver::diagram ( )
void KDChart::DiagramObserver::diagramAboutToBeDestroyed ( AbstractDiagram diagram)
signal

Emitted when a diagram is being destroyed, but before its data is invalidated.

Referenced by diagram().

void KDChart::DiagramObserver::diagramAttributesChanged ( AbstractDiagram diagram)
signal

This signal is emitted whenever the attributes of the diagram change.

Referenced by diagram().

void KDChart::DiagramObserver::diagramDataChanged ( AbstractDiagram diagram)
signal

This signal is emitted whenever the data of the diagram changes.

Referenced by diagram().

void KDChart::DiagramObserver::diagramDataHidden ( AbstractDiagram diagram)
signal

This signal is emitted whenever any of the data of the diagram was set (un)hidden.

Referenced by diagram().

void KDChart::DiagramObserver::diagramDestroyed ( AbstractDiagram diagram)
signal

This signal is emitted immediately before the diagram is being destroyed.

Referenced by diagram().


The documentation for this class was generated from the following files:

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/

https://www.kdab.com/development-resources/qt-tools/kd-chart/