[PyQt] LayoutChanged() to refresh

Hans-Peter Jansen hpj at urpla.net
Sun Feb 6 00:22:30 GMT 2011


On Saturday 05 February 2011, 19:06:34 Entity Reborn wrote:
> I've managed to overcome an issue with updating tge gui when a value
> is changed programmatically, in a chechbox enabled, radiobutton
> enhanced Listview, by emitting a layoutChanged() signal after my
> changes are done. (previously the gui was only updated after resizing
> the widget). Would this be an acceptable way to accomplish this? I
> can provide code if requested.
> If this is acceptible, I'd like to submit my proof-of-concept code to
> be added as an example under the listviews category. It supports a
> mix of checkboxes and radiobuttons within the listview, including
> underlaying functionality.

This behavior sounds strange. Show us the code, and we will see..

Pete


More information about the PyQt mailing list