[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QQuickView connect closing signal
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-12-12 18:53:53
Message-ID: 97B9A41C-3DD9-443C-81CD-2E11BB89F7AF () riverbankcomputing ! com
[Download RAW message or body]

On 4 Dec 2015, at 6:54 p.m., Phil Thompson <phil@riverbankcomputing.com> wrote:
> 
> On 4 Dec 2015, at 6:39 p.m., Jérôme Godbout <jerome@bodycad.com> wrote:
> > 
> > Hi,
> > I'm trying to connect the QQuickView::closing(QQuickCloseEvent*) signal to a \
> > python slot, but cannot figure out how to be able to use the QQuickCloseEvent, \
> > nor import it?!? 
> > TypeError: C++ type 'QQuickCloseEvent*' is not supported as a signal argument \
> > type 
> > Is it possible to connect to event handler or how do I import this into Python \
> > (It's declared into QQuickWindow, which I import. 
> > from PyQt5.QtQuick import QQuickView, QQuickWindow
> 
> Although closing() seems to be part of the public API, QQuickCloseEvent isn't. I'll \
> try and clarify.

I've added closing() and QQuickCloseEvent (as an opaque class) to tonight's snapshot.

Phil

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic