[PyQt] PyQt4-extrawidgets project

Jim Bublitz jbublitz at nwinternet.com
Wed Nov 12 00:47:54 GMT 2008


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



More information about the PyQt mailing list