<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Chris,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I'm not sure if this can be fixed, maybe you can ask this</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">on the Qt info mailing list. If it can be fixed, I'm interested</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">in the solution ;)</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">What happens is, when the TableWidget receives a click, it</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">creates an editor, but the editor has not yet received the</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">click. That is perfect in most cases, but in case you draw</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">a button it isn't.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Cheers,</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Erik</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday, November 07, 2012 02:50:17 PM Cristobal Infante wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi Eric,<br /><br />Thanks for the tip, I've managed to get my button inside my tableview.<br /><br />There is only one thing that bothers me, not sure if it is a limitation or something I can fix.<br /><br />To be able to press a button, I need to "activate" the containing cell with a click. <br />Once the cell is active I can press the button. This could become confusing for your average user.<br /><br />Is this fixable?<br /><br />Best,<br />Cris<br /><br /><br /><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On 6 November 2012 22:05, <<a href="mailto:Erik.Janssens@conceptive.be"><span style=" text-decoration: underline; color:#0057ae;">Erik.Janssens@conceptive.be</span></a>> wrote:<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The delegate itself can only paint, it cannot react to</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">clicks, you should implement the createEditor method,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">the editor then reacts to clicks</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Tuesday, November 06, 2012 09:59:03 PM Cristobal Infante wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hi,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I<span style=" font-family:'Arial,Liberation Sans,DejaVu Sans,sans-serif'; font-size:14px;"> am trying to embed a button per row inside a tableview. My botton are drawing correctly as delegates but are not reacting to any clicks.</span> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Arial,Liberation Sans,DejaVu Sans,sans-serif'; font-size:14px;"><br /></span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><span style=" font-family:'Arial,Liberation Sans,DejaVu Sans,sans-serif'; font-size:14px;">Should I be setting flags for this column? so far I have something like:</span><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> if index.column() == 14:</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> flags |= QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsUserCheckable | Qt.ItemIsEnabled</span> </pre>
<pre style=" margin-top:0px; margin-bottom:10px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> return flags </span> </pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">This is my delegate, but how do I make the button react to clicks?</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Thanks,</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">cris</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">class AButton(QtGui.QStyledItemDelegate):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">mouse_isPressed = False</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def __init__(self, parent = None):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> QtGui.QStyledItemDelegate.__init__(self, parent)</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def boundingRect(self):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> return QtCore.QRectF(0, 0, 40, 40)</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def paint(self, painter, option, widget = 0):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt = QtGui.QStyleOptionButton()</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt.state = ((QtGui.QStyle.State_Sunken if self.mouse_isPressed else QtGui.QStyle.State_Raised) | QtGui.QStyle.State_Enabled)</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt.text = self.text()</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt.icon = self.icon()</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt.rect = option.rect</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> opt.palette = option.palette</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> QtGui.QApplication.style().drawControl(QtGui.QStyle.CE_PushButton, opt, painter)</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def text(self):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> return QtCore.QString("hi")</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def icon(self):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> return QtGui.QIcon()</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def mousePressEvent(self, event):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> self.mouse_isPressed = True</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> print "HELLO"</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> self.update()</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"><br /></span></pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;">def mouseReleaseEvent(self, event):</span> </pre>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> self.mouse_isPressed = False</span> </pre>
<pre style=" margin-top:0px; margin-bottom:10px; margin-left:84px; margin-right:80px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0; background-color:#eeeeee;"><span style=" font-family:'Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,serif'; font-size:14px;"> self.update()</span> </pre>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:44px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br />_______________________________________________<br />PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com"><span style=" text-decoration: underline; color:#0057ae;">PyQt@riverbankcomputing.com</span></a><br /><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt"><span style=" text-decoration: underline; color:#0057ae;">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</span></a><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p></body></html>