PyQt: UI code separated from event code
===

I'm a newbie of PyQt and I would like the UI class code separated from the event (onclick, etc) code. Is this possible? This way I can just update the UI in Qt Designer, run pyuic4 and import the classes into my main application.pyw which has all the code behind the on_clicks or other events.