Results 1 to 1 of 1

Thread: QGraphicsscene.sceneRect on Windows platform

  1. #1
    Join Date
    Sep 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QGraphicsscene.sceneRect on Windows platform

    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
    Attached Files Attached Files

Similar Threads

  1. macintosh style on windows platform
    By ad3d in forum Newbie
    Replies: 1
    Last Post: 27th July 2011, 06:08
  2. grabFrameBuffer function on Solarix and Windows platform
    By jordan86 in forum Qt Programming
    Replies: 0
    Last Post: 11th April 2011, 04:08
  3. Using Kcfg in qt on windows platform
    By kurrachow in forum Newbie
    Replies: 0
    Last Post: 18th March 2011, 13:33
  4. QGraphicsScene's sceneRect() doesn't update
    By blooglet in forum Qt Programming
    Replies: 2
    Last Post: 17th February 2011, 09:11
  5. QGraphicsScene: evolution of sceneRect
    By Pieter from Belgium in forum Qt Programming
    Replies: 2
    Last Post: 10th November 2006, 15:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.