MCPcopy Create free account
hub / github.com/KDE/labplot / Segment

Method Segment

src/backend/datapicker/Segment.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 */
28
29Segment::Segment(DatapickerImage* image)
30 : m_image(image)
31 , d_ptr(new SegmentPrivate(this)) {
32 m_image->scene()->addItem(this->graphicsItem());
33}
34
35QGraphicsItem* Segment::graphicsItem() const {
36 return d_ptr;

Callers

nothing calls this directly

Calls 2

graphicsItemMethod · 0.95
sceneMethod · 0.45

Tested by

no test coverage detected