MCPcopy Create free account
hub / github.com/KDE/labplot / ~DatapickerView

Method ~DatapickerView

src/frontend/datapicker/DatapickerView.cpp:72–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72DatapickerView::~DatapickerView() {
73 // delete all children views here, its own view will be deleted in ~AbstractPart()
74 for (const auto* aspect : m_datapicker->children<AbstractAspect>(AbstractAspect::ChildIndexFlag::IncludeHidden)) {
75 for (const auto* child : aspect->children<AbstractAspect>()) {
76 const auto* part = dynamic_cast<const AbstractPart*>(child);
77 if (part)
78 part->deleteView();
79 }
80 const auto* part = dynamic_cast<const AbstractPart*>(aspect);
81 if (part)
82 part->deleteView();
83 }
84}
85
86void DatapickerView::fillToolBar(QToolBar* toolBar) {
87 auto* view = static_cast<DatapickerImageView*>(m_datapicker->image()->view());

Callers

nothing calls this directly

Calls 1

deleteViewMethod · 0.80

Tested by

no test coverage detected