MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / changeSelection

Method changeSelection

customWidgets.cpp:303–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301}
302
303void singleSelectGroup::changeSelection(selectionItem *item){
304 int id = selections.indexOf(item);
305 for(int i = 0; i < selections.size(); i++){
306 if(i == id) continue;
307 selections[i]->Deselect();
308 }
309 selectedID = id;
310 emit selectedItemChange(id);
311}
312
313horizontalValueAdjuster::horizontalValueAdjuster(QString name, qreal min, qreal max, qreal step, QWidget *parent) :
314 QWidget(parent),

Callers

nothing calls this directly

Calls 1

DeselectMethod · 0.80

Tested by

no test coverage detected