[PyQt] Bug in KHelpMenu believed

Christoph Burgmer chrislb at gmx.de
Sun Apr 27 16:38:53 BST 2008


As already pointed out in "[PyQt] Help menu and own icon" (this month) there 
seems to be a bug in the KHelpMenu bindings.

Though the SIP files states:

KHelpMenu (QWidget* parent /TransferThis/, const KAboutData* aboutData, bool 
showWhatsThis = 1, KActionCollection* actions = 0);

No menu entry for "What's This" is shown when creating a KHelpMenu with this 
constructor.

KXmlGuiWindow includes the KHelpMenu in createGUI() and in the Python version 
it does show the menu, so the erroneous behaviour seems to be deeper inside.

Sorry for bringing this up a second time, if somebody already is looking into 
this, but as there is no bug reporting system, this seems to be the only way 
to bring cases up to attention.

I'll append a modified KApplication derivate taken from the PyKDE4's 
tutorial which demonstrates the case.

Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testapp.py
Type: application/x-python
Size: 1500 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080427/edd48106/testapp.bin


More information about the PyQt mailing list