[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Cannot connect to the clicked signal of a QPieSeries
From: Joseba_Echevarria_García <josebagar () gmail ! com>
Date: 2018-03-27 17:58:08
Message-ID: CAKJa1KnqTxY_fNH=_BuvJCnU4Phk6i4UDqc3XDMiB35fsqpfCw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Thank you so much!
El mar., 27 mar. 2018 17:13, Phil Thompson <phil@riverbankcomputing.com>
escribi=C3=B3:
> On 21 Mar 2018, at 11:45 am, Joseba Echevarria Garc=C3=ADa <josebagar@gma=
il.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 als=
o
> have to re-build PyQtChart.
>
> Thanks,
> Phil
>
>
[Attachment #5 (text/html)]
<div dir="auto">Thank you so much! </div><br><div class="gmail_quote"><div \
dir="ltr">El mar., 27 mar. 2018 17:13, Phil Thompson <<a \
href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>> \
escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">On 21 Mar 2018, at 11:45 am, Joseba \
Echevarria García <<a href="mailto:josebagar@gmail.com" target="_blank" \
rel="noreferrer">josebagar@gmail.com</a>> wrote:<br> ><br>
> Hi all,<br>
><br>
> 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).<br> ><br>
> 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:<br> \
> TypeError: C++ type 'QPieSlice*' is not supported as a signal argument \
type<br> <br>
This should be fixed in tonight's SIP *and* PyQt5 snapshots. You will also have \
to re-build PyQtChart.<br> <br>
Thanks,<br>
Phil<br>
<br>
</blockquote></div>
[Attachment #6 (text/plain)]
_______________________________________________
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