MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / normalizedPathSegment

Function normalizedPathSegment

pj_widgets/src/CurveTreeView.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45QString normalizedPathSegment(QString path) {
46 path.replace('.', '/');
47 while (path.startsWith('/')) {
48 path.remove(0, 1);
49 }
50 return path;
51}
52
53void setItemName(QTreeWidgetItem* item, const QString& name) {
54 item->setText(kNameColumn, name);

Callers 2

treePathFromCurvePathMethod · 0.85
addCatalogItemMethod · 0.85

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected