MCPcopy Create free account
hub / github.com/KDAB/KDChart / setChart

Method setChart

examples/DrawIntoPainter/framewidget.cpp:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void FrameWidget::setChart(KDChart::Chart *chart)
25{
26 mChart = chart;
27 // This is necessary because Chart can't automatically schedule somebody else (this object) to
28 // call its custom paint method.
29 connect(mChart, SIGNAL(propertiesChanged()), SLOT(update()));
30}
31
32void FrameWidget::paintEvent(QPaintEvent *e)
33{

Callers 1

MainWindowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected