QProgressbar text within QProgressbar
-
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!
-
I didn't understand why you don't want to use text property. Can you elaborate?
-
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