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

Method init

src/KDChart/Cartesian/KDChartAbstractCartesianDiagram.cpp:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void AbstractCartesianDiagram::init()
56{
57 d->compressor.setModel(attributesModel());
58 connect(this, SIGNAL(layoutChanged(AbstractDiagram *)),
59 &d->compressor, SLOT(slotDiagramLayoutChanged(AbstractDiagram *)));
60 connect(this, SIGNAL(attributesModelAboutToChange(AttributesModel *, AttributesModel *)),
61 this, SLOT(connectAttributesModel(AttributesModel *)));
62
63 if (d->plane) {
64 connect(d->plane, SIGNAL(viewportCoordinateSystemChanged()),
65 this, SIGNAL(viewportCoordinateSystemChanged()));
66 }
67}
68
69void AbstractCartesianDiagram::addAxis(CartesianAxis *axis)
70{

Callers

nothing calls this directly

Calls 1

setModelMethod · 0.45

Tested by

no test coverage detected