Results 1 to 6 of 6

Thread: How to show items in the same position saved in QGraphicsView/Scene ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2011
    Posts
    19
    Thanks
    9
    Qt products
    Qt4

    Default Re: How to show items in the same position saved in QGraphicsView/Scene ?

    My problem is ...

    I have some early sketch data recorded in view coordinate but the image objects are saved in scene coordinate. So when I open the file in different window size, these images seems not located on the same position vs. the left-top corner of the window.

    The leader said that I can fix the view resolution, so I can save/load images both in view coordinate and additem() in scene coordinate. It works...

    Sorry Stampede deeply that you spend time for my question but I did not understand well my request and my problem clearly. Sorry sorry sorry ...

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to show items in the same position saved in QGraphicsView/Scene ?

    Ok, no problem, good that it works now

Similar Threads

  1. QGraphicsview - how to organize scene and items
    By metRo_ in forum Qt Programming
    Replies: 0
    Last Post: 10th April 2012, 00:39
  2. QGraphicsView - show mouse cursor position in status bar
    By mwgobetti in forum Qt Programming
    Replies: 5
    Last Post: 19th November 2011, 18:34
  3. Cursor Position in scene
    By rogerholmes in forum Newbie
    Replies: 2
    Last Post: 12th March 2010, 15:31
  4. Position of Items in QGraphicsScene/QGraphicsView
    By StefanK2 in forum Qt Programming
    Replies: 11
    Last Post: 7th July 2009, 14:04
  5. Cursor scene position
    By xgoan in forum Qt Programming
    Replies: 1
    Last Post: 26th December 2006, 13:51

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.