Thanks for the help. I fixed the code and commited to trunk 2008/11/12, Jim Bublitz <[EMAIL PROTECTED]>: > On Tuesday 11 November 2008 09:04, piotr maliński wrote: > > I've started a project at code.google.com that contains all PyQt4 > > widgets made by me with the help of SIP. > > > > http://code.google.com/p/pyqt4-extrawidgets/ > > > > Currently there are two widgets: QTermWidget and qt-macnavbar > > (screenshot: > > http://www.fotosik.pl/pokaz_obrazek/pelny/cb4b8531394f7906.html). Both do > > work, but some small issues still remain that I have to fix. QTermWidget > > doesn't want to resize (I'll have to probably bind all core header files > > for it), and Qf-MacNavBar has few methods/properties commented out (but it > > works). > > > > SIP doesn't like such code: > > ############## > > QString title (void) const; > > bool isExpanded (void) const; > > ############## > > > > as it says: sip: QfNavBarGroup::title() unsupported function argument > > type - provide %Method code and a valid C++ signature. I'm not a > > C/C++/SIP guru so I can't fix this. Any solutions welcomed. > > > Remove the 'void' in each function declaration (in the sip file - in the h > file it makes no difference).. > > > Jim > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
