pyQT4, QTextEdit & painting ontop of it

Post here if you need help with creating a Graphical User Interface in Python.

pyQT4, QTextEdit & painting ontop of it

Postby Naib » Sat May 10, 2014 4:06 pm

I have been converting an application of from pyGTK/pyGObject to pyQT4 (multiple reasons but the main is gtk3 using cairo and it is very inefficient).
I have re-implemented/duplicated almost all the main functionality.

The last bit is todo with Gtk.Entry --> QtGui.QLineEdit
I have been making use of Gtk.Entry().set_progress_fraction() that basically draws a progressbar on the entry ( ... ction.html)

This is quite useful as it provides a visible feedback to the user as to how large/small their entry is w.r.t. predefined limits.

There doesn't seem to be an equivalent in pyQT4 so I have been looking into how it could be done but have become very lost.

Does anyone have any idea?

I did come across this: ... -or-pyside but it seems overly complicated
Last edited by Mekire on Sat May 10, 2014 4:08 pm, edited 1 time in total.
Reason: First post lock.
Posts: 2
Joined: Sat May 10, 2014 3:56 pm

Return to GUI

Who is online

Users browsing this forum: No registered users and 3 guests