Re: [PyQt] building a sip module

2008-07-23 Thread Phil Thompson
On Wed, 23 Jul 2008 17:41:50 +0200, Markus Künkler <[EMAIL PROTECTED]> wrote: > Hello! > I tried to build a own sip module for enabling compositing in PyQt4 apps. > but somehow the configs i did doesn't work. > I get a segmentation fault here (configure.py): > > os.system(" ".join([config.sip_bin,

[PyQt] building a sip module

2008-07-23 Thread Markus Künkler
Hello! I tried to build a own sip module for enabling compositing in PyQt4 apps. but somehow the configs i did doesn't work. I get a segmentation fault here (configure.py): os.system(" ".join([config.sip_bin, "-c", ".", "-b", build_file, "-I", config.pyqt_sip_dir, qt_sip_flags, "qcomposite.sip"])

Re: [PyQt] Collapsible Dock Widget??

2008-07-23 Thread Henning Schröder
Hi! On Tue, Jul 22, 2008 at 4:20 PM, Darryl Wallace <[EMAIL PROTECTED]> wrote: > Has anyone tried to make the dock widgets collapsible (similar to the > windows based dock widgets in that have the little thumbtack icon) in Qt or > PyQt? For one of my projects I ported the KOffice2-DockWidget to Py

[PyQt] Weird behaviour of destroyed() slots

2008-07-23 Thread Giovanni Bajo
Hi Phil: = import sip from PyQt4.Qt import * called = [] class Core(QObject): def __init__(self, parent=None): QWidget.__init__(self, parent) QObject.connect(self, SIGNAL("destroyed()"), self.callbac

Re: [PyQt] Collapsible Dock Widget??

2008-07-23 Thread Giovanni Bajo
On 7/23/2008 2:43 PM, Darryl Wallace wrote: Yeah just like that. Except I would also want to put a toggle button on the title bar of the widget so that toggle between auto-hide and staying open. Any tips on how to get started with that auto-hide functionality? I'm attaching a self-contained

Re: [PyQt] Collapsible Dock Widget??

2008-07-23 Thread Darryl Wallace
Yeah just like that. Except I would also want to put a toggle button on the title bar of the widget so that toggle between auto-hide and staying open. Any tips on how to get started with that auto-hide functionality? Thanks, Darryl Giovanni Bajo wrote: On Tue, 2008-07-22 at 10:20 -0400, Dar

Re: [PyQt] Collapsible Dock Widget??

2008-07-23 Thread Giovanni Bajo
On Tue, 2008-07-22 at 10:20 -0400, Darryl Wallace wrote: > Has anyone tried to make the dock widgets collapsible (similar to the > windows based dock widgets in that have the little thumbtack icon) in Qt > or PyQt? I'm not sure what you mean. I made the dock widget auto-hide and reappear when yo

Re: [PyQt] Bug in KHelpMenu believed

2008-07-23 Thread Christoph Burgmer
Am Sonntag, 27. April 2008 schrieb Christoph Burgmer: > 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 sho

Re: [PyQt] QWSWindow.raise() class error with python

2008-07-23 Thread Strato
Hi, Thanks for your answer ! You're right, the right way is to implement the event method in my class :) (I've fund this yesterday evening :) ) But, I do the trick differently, using self.isMinimized() because my class is a QDialog subclass. Thanks ! Strato PS: for the other need of handl