MCPcopy Create free account
hub / github.com/Gecode/gecode / selectBookmark

Method selectBookmark

gecode/gist/qtgist.cpp:726–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724 a->isChecked());
725 }
726 void
727 Gist::selectBookmark(QAction* a) {
728 int idx = bookmarksGroup->actions().indexOf(a);
729 canvas->setCurrentNode(canvas->bookmarks[idx]);
730 canvas->centerCurrentNode();
731 }
732
733 void
734 Gist::addBookmark(const QString& id) {

Callers

nothing calls this directly

Calls 2

setCurrentNodeMethod · 0.80
centerCurrentNodeMethod · 0.80

Tested by

no test coverage detected