[PyKDE] setIndicator in QProgressBar subclass

Hans-Peter Jansen hpj at urpla.net
Wed Feb 2 21:31:37 GMT 2005


Hi Phil,

here's an example from the Practical QT book from Kalle Dalheimer and 
Jesper Pedersen, where behaviour differs between C++ and Python.

In the native version, a string will be displayed in the progressbar, 
shown with setIndicator(), unlike in the Python version.

How can setting a QString reference variable work from within Python?
I can send you the C++ version, if you like..

TIA,
Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: A_QProgress_Dialog_Showing_Time_to_Completion.py
Type: text/x-python
Size: 2450 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20050202/5e2f6cde/A_QProgress_Dialog_Showing_Time_to_Completion.py


More information about the PyQt mailing list