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

Method currentId

pj_widgets/src/LayerListView.cpp:405–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405std::optional<qint64> LayerListView::currentId() const {
406 const QListWidgetItem* item = list_->currentItem();
407 if (item == nullptr) {
408 return std::nullopt;
409 }
410 return item->data(kLayerIdRole).toLongLong();
411}
412
413std::vector<qint64> LayerListView::order() const {
414 std::vector<qint64> ids;

Callers 3

TESTFunction · 0.80
updateConfigPaneMethod · 0.80
selectedTopicIdMethod · 0.80

Calls 1

dataMethod · 0.45

Tested by 1

TESTFunction · 0.64