Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I am trying to set a dial value to maximum with a pushbutton. I have used this ;
ui->dial->setMaximum(100);
but it does not work. what can be done ?
You're not setting it to maximum. You're setting the maximum to 100. To set it to maximum use ui->dial->setValue(ui->dial->maximum());
ui->dial->setValue(ui->dial->maximum());
@Chris-Kawa said:
Thanks, it works.