Hi Mark,<br>thank you so much for your help.<br>I use QObject.disconnect(): <span style="font-family: courier new,monospace;">QObject.disconnect(self.grdMain, SIGNAL("itemDoubleClicked(QTableWidgetItem*)"), self.grdClik)</span><br>
<br>Your book about PyQt is great, thank you.<br><br>regards,<br>Jorge<br><br><div class="gmail_quote">On 16 November 2010 08:53, Mark Summerfield <span dir="ltr"><<a href="mailto:list@qtrac.plus.com">list@qtrac.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Mon, 15 Nov 2010 21:20:35 +0000<br>
starglider develop <<a href="mailto:starglider.dev@gmail.com">starglider.dev@gmail.com</a>> wrote:<br>
> Hi,<br>
> I have a QWidgetGrid that need to response to a double click signal,<br>
> but sometimes it as the<br>
> double grid signal disconnected to allow the user to directly edit the<br>
> cells, and a itemChanged signal was<br>
> implemented, my problem is that I can't delete/destroy de signals<br>
> according to my needs.<br>
><br>
> Any help will be great.<br>
><br>
> Thank you in advance.<br>
<br>
</div></div>Have you tried using QObject.blockSignals()? This doesn't create or<br>
destroy them but stops/starts them being acted upon.<br>
<br>
<a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qobject.html#blockSignals" target="_blank">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qobject.html#blockSignals</a><br>
<br>
And if you really want to delete a signal use QObject.disconnect():<br>
<br>
<a href="http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qobject.html#disconnect" target="_blank">http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qobject.html#disconnect</a><br>
<font color="#888888"><br>
--<br>
Mark Summerfield, Qtrac Ltd, <a href="http://www.qtrac.eu" target="_blank">www.qtrac.eu</a><br>
    C++, Python, Qt, PyQt - training and consultancy<br>
        "Advanced Qt Programming" - ISBN 0321635906<br>
            <a href="http://www.qtrac.eu/aqpbook.html" target="_blank">http://www.qtrac.eu/aqpbook.html</a><br>
</font></blockquote></div><br>