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

Method setValue

customWidgets.cpp:382–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382void horizontalValueAdjuster::setValue(qreal value){
383 valueLabel->setText(QString::asprintf("%g", value));
384 slider->setValue((value - minValue) / stepValue);
385 curValue = value;
386 emit valueChanged(value);
387}
388
389//********************
390

Callers 4

wheelEventMethod · 0.80
InitMethod · 0.80
CreateSettingsMethod · 0.80
InitMethod · 0.80

Calls 2

moveMethod · 0.80
setTextMethod · 0.45

Tested by

no test coverage detected