I was curious if there was a way for a tool to have its Ui generated from a .ui file but still use custom widgets?
I have a widget I wrote that inherits the QLineEdit widget in which I needed to modify the event() method so that a custom property will be modified if the backspace key was pressed I was able to get everything to work properly, in a simple dialog where I defined the layout within the __init__() method, however for more complex dialog windows I'd like to keep the ability to modify the layout within the designer and just swap out the which ever widget is supposed to be the custom one, that way the __init__() method remains tidy and less lines of code. Is there any straight forward ways to do this? Greg
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
