[PyQt] Cannot connect to the clicked signal of a QPieSeries
Joseba Echevarria García
josebagar at gmail.com
Tue Mar 27 18:58:08 BST 2018
Thank you so much!
El mar., 27 mar. 2018 17:13, Phil Thompson <phil at riverbankcomputing.com>
escribió:
> On 21 Mar 2018, at 11:45 am, Joseba Echevarria García <josebagar at gmail.com>
> wrote:
> >
> > Hi all,
> >
> > I'm trying to create a dynamic QChart plot based on QPieSeries. In this
> context I want to be able to detect which pie slice was clicked.and to do
> so I have set up a basic example (shown below).
> >
> > My problem is that I am unable to detect which slice was clicked; when
> connecting the `clicked` signal of a Series I get a TypeError exception
> stating:
> > TypeError: C++ type 'QPieSlice*' is not supported as a signal argument
> type
>
> This should be fixed in tonight's SIP *and* PyQt5 snapshots. You will also
> have to re-build PyQtChart.
>
> Thanks,
> Phil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180327/87e6ebcc/attachment.html>
More information about the PyQt
mailing list