[PyQt] An "UI update" event/signal to update the GUI on

eliben eliben at gmail.com
Sun Jan 18 13:41:00 GMT 2009


Hello,

I'm porting some code from wxPython to PyQt, and am unable to find the
replacement for wx's wx.EVT_UI_UPDATE event. This event is sent to a
frame/window whenever the UI has to be updated. In the handler of the event
I can check my application's state and update the widgets accordingly (for
instance, disable some buttons, enable others, etc). This save code versus
the approach of having a separate update handler for each widget.

Please recommend an equivalent way to achieve this in PyQt.

Thanks in advance
Eli
-- 
View this message in context: http://www.nabble.com/An-%22UI-update%22-event-signal-to-update-the-GUI-on-tp21527935p21527935.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list