On Monday 10 September 2007, skawaii wrote: > Phil Thompson-2 wrote: > > Sorry, you're out of luck - you need PyQt4 for this. > > > > Phil > > _______________________________________________ > > PyQt mailing list [email protected] > > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > > Seriously? The functionality to add properties is in Qt 3.x, right? Does > that mean that PyQt just doesn't have bindings for creating properties for > custom widgets?
PyQt3 doesn't. PyQt4 does. > That's pretty confusing, especially since Designer let's you add properties > to custom widgets. No it doesn't. It allows you to set custom properties. > However, it only calls QWidget.setProperty(). So, > assuming I had Qt 4.3, where would I be creating these properties anyway, > because it doesn't seem like Designer does it. In PyQt4 you do it with pyqtProperty() - see the documentation. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
