QProgressBar has a virtual text() method that you could implement and
return custom text:
http://qt-project.org/doc/qt-4.8/qprogressbar.html#text-prop

I am usually using either a QProgressDialog that supports extra text, or
displaying my text in a surrounding QLabel to a QProgressBar, but this is a
way you could get the center text to be custom. Just have to be aware of
how much width you have available if the progress bar can be small.
 On 31/07/2014 7:04 AM, "md" <[email protected]> wrote:

> Does anyone know if there is a way to display text within the PySide
> progressbar ? Right now its displaying a percentage for me. I'd love to
> show what it is actually doing as well.
>
> THanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/7acabeef-4e3e-4fb6-8bf3-6a0aba7d6470%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/7acabeef-4e3e-4fb6-8bf3-6a0aba7d6470%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1X8RxubJ3Qk6W5JFO8ZpVOZqu11O4tcpu_eytTzKKPoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to