Hi,<br><br>I'm trying to use<span class="pygments-n"> qt_graphicsItem_highlightSelect</span><span class="pygments-n"></span><span class="pygments-n">ed</span><span class="pygments-p"></span>
 static function in PyQt4 but I'm unable to do so. It seems like there's
 no binding to it. Does anyone know how to use it to produce selection 
box around QGraphicsItem? Here it is mentioned how to do it in C++ but I
 could not use it with PyQt4: 
<a href="http://www.qtforum.org/post/109281/custom-qgraphicsitem-doesn-t-get-dotted-selection-rectangle.html#post109281">http://www.qtforum.org/post/109281/custom-qgraphicsitem-doesn-t-get-dotted-selection-rectangle.html#post109281</a><br>

<br>Then
 I tried to re-implement it in Python 
from <a href="http://websvn.kde.org/branches/qt/4.4/src/gui/graphicsview/qgraphicsitem.cpp?view=markup">http://websvn.kde.org/branches/qt/4.4/src/gui/graphicsview/qgraphicsitem.cpp?view=markup</a>.
 But I face a parameter conflict for qFuzzyCompare. I should be able to 
use it like this:<br><br>qFuzzyCompare(float, float) but I can't:<br><br>    if qFuzzyCompare(self.qMax(murect.width(), murect.height()) + 1, 1):<br>TypeError: arguments did not match any overloaded call:<br>  qFuzzyCompare(QMatrix, QMatrix): argument 1 has unexpected type 'float'<br>

  qFuzzyCompare(QMatrix4x4, QMatrix4x4): argument 1 has unexpected type 'float'<br>  qFuzzyCompare(QQuaternion, QQuaternion): argument 1 has unexpected type 'float'<br>  qFuzzyCompare(QTransform, QTransform): argument 1 has unexpected type 'float'<br>

  qFuzzyCompare(QVector2D, QVector2D): argument 1 has unexpected type 'float'<br>  qFuzzyCompare(QVector3D, QVector3D): argument 1 has unexpected type 'float'<br>  qFuzzyCompare(QVector4D, QVector4D): argument 1 has unexpected type 'float'<br>

<br>Any ideas?<br><br>Thanks,<br clear="all"><br>-- <br>Ahmet Emre Aladağ<br><a href="http://www.emrealadag.com">http://www.emrealadag.com</a><br>