Results 1 to 3 of 3

Thread: Problem with big visualization in graphics view

  1. #1
    Join Date
    Jul 2009
    Location
    São Paulo - Brasil
    Posts
    20
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem with big visualization in graphics view

    Hello guys, I have a new problem.

    I am drawing in a graphics view, some rects and arcs, I am drawing them in loop. When I put a medium number of rects and arcs I cant see all of them in the screen, then I use the scroll bar, but the scroll bar is not enough and there are some drawing that I cant see. I have change some configs in the property editor, but I still cant see all of my drawing.

    Someone knows what can I do?

    Thanks in advanced.

    jorge.

  2. #2
    Join Date
    Sep 2009
    Posts
    140
    Thanks
    4
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy Re: Problem with big visualization in graphics view

    I am not really sure I can help you since I do not use the designer,
    but have you tried :
    • to update the sceneRect, if it is not updated automatically?
    • to update the view with fitInView?


    What you says seems weird since you are only adding item on the scene. Scrollbars should work well with default values.

    S.Cascio

  3. #3
    Join Date
    Jul 2009
    Location
    São Paulo - Brasil
    Posts
    20
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with big visualization in graphics view

    Hello, scascio, thanks for your time.

    I still didn´t try to use those methods, but I have found out something more, I was drawing only horizontal lines, now when I put more lines, vertical and with angles I can see all of my drawing. I will keep testing it. If I see that it may be a bug I will report it.

    bye bye.

Similar Threads

  1. Centering a Widget in Graphics View
    By tbcpp in forum Qt Programming
    Replies: 4
    Last Post: 23rd June 2009, 05:18
  2. about the contextMenuEvent in graphics view framework
    By bingoking in forum Qt Programming
    Replies: 1
    Last Post: 21st April 2009, 06:04
  3. graphics view FitInView problem
    By aamer4yu in forum Qt Programming
    Replies: 6
    Last Post: 25th January 2007, 10:24
  4. Adding Rectangular overlay on graphics view
    By forrestfsu in forum Qt Programming
    Replies: 10
    Last Post: 21st November 2006, 19:42
  5. View update problem
    By prakash in forum Qt Programming
    Replies: 6
    Last Post: 17th March 2006, 10:13

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.