You may convert the ui xml file in python code with pyuic4, there is another similiar tool for pyside. The next step is to create a class to integrate/inherit that code. IIRC eric4 should manage that automagically for you.