I need to create a ProgressBar with a gradation of 0.00 to 1.00. I think it is possible to overload the function Value () and setMaximum (), setMinimum ().
Or is it better to draw this element anew in open_gl ???
I need to create a ProgressBar with a gradation of 0.00 to 1.00. I think it is possible to overload the function Value () and setMaximum (), setMinimum ().
Or is it better to draw this element anew in open_gl ???
void MainWindow::on_pB_DD1_valueChanged(int value)
{
double i = value/100.0;
ui->pB_DD1->setFormat(QString::number(i)+trUtf8("МПа"));
}
@Rafalon Thank you