<div dir="ltr">Great! Though I'll have to wait a while until Fedora PyQt is updated to 4.5, it seems.<br>
<br>Dov<br><br><div class="gmail_quote">2009/7/30 Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com">phil@riverbankcomputing.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, 30 Jul 2009 21:26:42 +0300, Dov Grobgeld <<a href="mailto:dov.grobgeld@gmail.com">dov.grobgeld@gmail.com</a>><br>
wrote:<br>
<div class="im">> Thanks! It seems like this is exactly what I was looking for.<br>
><br>
> I have to say it is quite annoying that there is neither any compile time<br>
> nor any run time error reported for errors in the signal signatures.<br>
><br>
> Regards,<br>
> Dov<br>
<br>
</div>Use the new-style connection API...<br>
<br>
self.button.customContextMenuRequested.connect(self.context_menu)<br>
<font color="#888888"><br>
Phil<br>
</font><div><div></div><div class="h5"><br>
> 2009/7/30 Henning Schröder <<a href="mailto:henning.schroeder@gmail.com">henning.schroeder@gmail.com</a>><br>
><br>
>> On Thu, Jul 30, 2009 at 7:10 PM, Dov Grobgeld<<a href="mailto:dov.grobgeld@gmail.com">dov.grobgeld@gmail.com</a>><br>
>> wrote:<br>
>><br>
>> > Regarding contextMenuPolicy, how would you use that. I tried the<br>
>> following,<br>
>> > but it didn't work...<br>
>> > [..]<br>
>> > self.connect(self.button,<br>
>> > QtCore.SIGNAL('customContextMenuRequested()'), self.context_menu)<br>
>> You always have to use the complete signature. Please try:<br>
>> SIGNAL('customContextMenuRequested(const QPoint&)')<br>
>><br>
>> Henning<br>
>><br>
</div></div></blockquote></div><br><div style="display: none;" id="divCleekiAttrib"></div></div>