On Thu, Jul 30, 2009 at 7:10 PM, Dov Grobgeld<[email protected]> wrote:

> Regarding contextMenuPolicy, how would you use that. I tried the following,
> but it didn't work...
>   [..]
>         self.connect(self.button,
> QtCore.SIGNAL('customContextMenuRequested()'), self.context_menu)
You always have  to use the complete signature. Please try:
SIGNAL('customContextMenuRequested(const QPoint&)')

Henning

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to