[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] qt4.5 QGraphicsscene.sceneRect on Windows platform
From: ranis <ranishashi () gmail ! com>
Date: 2011-09-22 16:46:44
Message-ID: 32503831.post () talk ! nabble ! com
[Download RAW message or body]
In Qt 4.5 version, sceneRect of QGraphicsscene on Window, giving wrong
co-ordinates
I have small program (attaching the file) where I am adding QGraphicsText
item to QGraphicsRectItem , QGraphicsRectItem is added to QGraphicsscene.
when queried for QGraphicsscene.sceneRect its giving wrong co-ordinates as
compare to itemsBoundingRect
QGraphicsScene.sceneRect PyQt4.QtCore.QRectF(-1.0000000000
000001e-05, -1.0000000000000001e-05, 226.00001, 224.00001)
QGraphicsScene.itemsBoundingRect PyQt4.QtCore.QRectF(34.0, 80.0, 192.0,
144.0)
I am working on window xp professional version 2,python-2.6 and qt 4.5
But the same on linux ubuntu 10.4,python 2.6 and qt4.6 is fine, can anyone
suggest where is this difference
thanking you
http://old.nabble.com/file/p32503831/layout_22_1.py layout_22_1.py
--
View this message in context: \
http://old.nabble.com/qt4.5-QGraphicsscene.sceneRect-on-Windows-platform-tp32503831p32503831.html
Sent from the PyQt mailing list archive at Nabble.com.
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic