[PyQt] LayoutChanged() to refresh

Entity Reborn entityreborn at gmail.com
Sat Feb 5 18:10:06 GMT 2011


It may be worthwhile to note, I'm using layoutChanged instead of
dataChanged, due to failing to be able to use this with anything else
other than the current index being changed.
On Feb 5, 2011, at 10:06 AM, Entity Reborn <entityreborn at gmail.com> 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.


More information about the PyQt mailing list