Results 1 to 5 of 5

Thread: Proper Setup for Using the Graphics View Framework

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2006
    Location
    Colorado
    Posts
    12
    Thanks
    5
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Proper Setup for Using the Graphics View Framework

    I would like to create a 2D Plotter that allows a user to plot various items (Position, lines, etc) on a map of the world. I'm concerned about the organization of where to put the attributes a features of this application.

    I need to give the user the ability to control the zoom (in/out) of the scene, Capturing a image of the plot and saving it to either a file or printing it. The user must be also able to interact with the plot via the mouse.

    Should I put the zoom functionality into the reimplemented QGraphicsView or instead the QGraphicsScene. The same for printing/saving the plot.

    I have a feeling that I need to handle the mouse interaction in my object that reimplements the QGraphicScene but handling the mouse events do I need to use QGraphicsSceneMouseEvent instead of QMouseEvent?

    I'm using the Qt 4.6.1 Version (Its great btw) but I've also noticed that the class QMatrix is now listed as being obsolete with the recommendation not to use it. But there are functions throughout the Graphics View Framework that seem to rely on it.

    Thank you for your time
    Last edited by Wazman; 26th January 2010 at 18:58.

Similar Threads

  1. Problem about Graphics View Framework
    By FinderCheng in forum Qt Programming
    Replies: 5
    Last Post: 3rd November 2009, 08:16
  2. Problem with Graphics View Framework
    By Disperato in forum Qt Programming
    Replies: 1
    Last Post: 27th May 2009, 20:44
  3. Issues with the Graphics View Framework
    By lni in forum Qt Programming
    Replies: 8
    Last Post: 26th April 2009, 14:13
  4. about the contextMenuEvent in graphics view framework
    By bingoking in forum Qt Programming
    Replies: 1
    Last Post: 21st April 2009, 06:04
  5. Replies: 4
    Last Post: 5th August 2008, 19:55

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.