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

Method clear

src/frontend/datasources/ROOTOptionsWidget.cpp:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void ROOTOptionsWidget::clear() {
32 qDeleteAll(histItem->takeChildren());
33 qDeleteAll(treeItem->takeChildren());
34 ui.twPreview->clearContents();
35}
36
37void fillTree(QTreeWidgetItem* node, const ROOTFilter::Directory& dir) {
38 node->setFlags(Qt::ItemIsEnabled);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected