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

Function checkGroupButton

pj_app/src/MainWindow.cpp:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144// resync (e.g. binding the toolbar to a newly-focused plot) must not run the Curve
145// Width/Style groups' click side effects — refreshing the open preview panels.
146void checkGroupButton(QButtonGroup* group, int id) {
147 if (group == nullptr) {
148 return;
149 }
150 if (auto* btn = group->button(id)) {
151 const QSignalBlocker blocker(group);
152 btn->setChecked(true);
153 }
154}
155
156constexpr auto kDefaultRegistryUrl =
157 "https://raw.githubusercontent.com/PlotJuggler/pj-plugin-registry/"

Callers 2

bindEditorToPlotMethod · 0.85

Calls 1

setCheckedMethod · 0.45

Tested by

no test coverage detected