QProgressbar text within QProgressbar
General and Desktop
3
Posts
3
Posters
6.3k
Views
1
Watching
-
wrote on 29 Jun 2011, 11:11 last edited by
Hey everyone,
I've implemented a QProgressbar in my Qt GUI application but now i want to show a small text within the bar. I know that QProgressbar has the property .text but that would probably just be the %. You guys have any idea how to do this?
Thanks in advance!
-
wrote on 29 Jun 2011, 11:26 last edited by
I didn't understand why you don't want to use text property. Can you elaborate?
-
wrote on 29 Jun 2011, 11:26 last edited by
See "format property":http://doc.qt.nokia.com/4.7/qprogressbar.html#format-prop
you can add your text to this property and it will be show on progress bar
1/3