June 29, 2011

toxicate20 toxicate20
Lab Rat
7 posts

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!

2 replies

June 29, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

I didn’t understand why you don’t want to use text property. Can you elaborate?

June 29, 2011

Vass Vass
Hobby Entomologist
738 posts

See format property [doc.qt.nokia.com]
you can add your text to this property and it will be show on progress bar

 Signature 


Vasiliy

 
  ‹‹ [SOLVED]save a png file      Style of Window ››

You must log in to post a reply. Not a member yet? Register here!