How to change fore-ground color of progress-bar
General and Desktop
5
Posts
2
Posters
4.4k
Views
1
Watching
-
"Customizing QProgressBar":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qprogressbar
-
I don't want to use this sort of syntax:
@QProgressBar::chunk {
background-color: #05B8CC;
width: 20px;
}@Where to use this piece of code by the way? in constructor where?
By the way can't we use a syntax of this type:
@ui->progressBar->setStyleSheet("background-color: white");@ -
You should start reading right "here":http://qt-project.org/doc/qt-4.8/stylesheet.html.