Results 1 to 3 of 3

Thread: Interactive graphics in Qt

  1. #1
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Question Interactive graphics in Qt

    Our customer would like to be able to interact with a displayed x-y plot with an overlaid grid by selecting two points within the grid, resulting in a line drawn to connect those points. Alternatively, two points could already exist with a line drawn between them and the user would like to be able to interactively move the two points around and have that line be refreshed "live".

    It has been quite some time since I've used Qt although I did a project last year with Qt 4.6 and Qt Creator to build an app. I don't see any "x-y plot" widgets (so to speak) in the new Qt Creator 2.0.1 and so it seems I will have to build this from the ground up. Is there a Qt expert out there that can point me in the right direction with this request? Are there any tutorials on building interactive line plots with Qt? I can't seem to find any.

    Thanks very much for your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Interactive graphics in Qt

    There is Qwt:
    http://qwt.sourceforge.net/

    But if you want to build your own widgets from scratch, there are two techniques I would try: graphicsview or qml

  3. #3
    Join Date
    Nov 2009
    Posts
    20
    Thanks
    6
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Interactive graphics in Qt

    I have looked at Qwt and their site. But I am not seeing anything on mouse-interactive graphics.. Can you verify that Qwt supports mouse-interactive graphical capabilities?

Similar Threads

  1. QtService on Windows as Non-Interactive
    By stefanadelbert in forum Qt Programming
    Replies: 2
    Last Post: 26th April 2010, 03:27
  2. Replies: 3
    Last Post: 6th February 2010, 22:28
  3. Interactive QProcess
    By inktomi in forum Qt Programming
    Replies: 3
    Last Post: 8th August 2009, 18:21
  4. qsqlquery interactive?
    By lamera in forum Newbie
    Replies: 2
    Last Post: 7th September 2008, 10:09
  5. No Interactive feel-QProcess
    By prasann87 in forum Qt Programming
    Replies: 5
    Last Post: 11th January 2008, 10:47

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.