Results 1 to 3 of 3

Thread: Graph (nodes, edges) Drawing in Qt

  1. #1
    Join Date
    Oct 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Graph (nodes, edges) Drawing in Qt

    I need to visualize a schematic transit map of a rail network in real time using C++ (Qt/Linux). To do that first I need to read the real coordinates of track elements (tracks, crossing, signals, stations etc) from main memory and then dynamically generate the corresponding graph elements over a Cartesian plane (like the parallel lines in the example picture below). So far I was unable to implement this graph in Qt (As far as I know there is no Qt library for graph drawing!!)

    Is Qt is good for this kind of problem?

    How can I read memory objects within Qt framework?

    It would be highly appreciated if someone could refer me few example links/repos of similar (graph, network, circuit, mesh) problems done with Qt.

    OpenTrack.Stadelhofen.jpg

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,363
    Thanks
    3
    Thanked 5,012 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Graph (nodes, edges) Drawing in Qt

    Quote Originally Posted by Sabbir View Post
    How can I read memory objects within Qt framework?
    What exactly do you consider a "memory object"?

    It would be highly appreciated if someone could refer me few example links/repos of similar (graph, network, circuit, mesh) problems done with Qt.
    Such graph as in your attachment should easily be created with Graphics View. If you need help with the graph itself, any C++ graphing library should work. Then it's just a matter of visualizing the graph in Qt.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2011
    Posts
    25
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Graph (nodes, edges) Drawing in Qt


Similar Threads

  1. Problem with graph drawing
    By Rizo Isrof in forum Qt Programming
    Replies: 2
    Last Post: 29th August 2011, 12:06
  2. Whats the right approach for drawing a simple graph?
    By Menia in forum Qt Programming
    Replies: 1
    Last Post: 2nd September 2010, 15:34
  3. Drawing of graph(data structure) !
    By Abeer in forum Newbie
    Replies: 1
    Last Post: 23rd May 2010, 21:47
  4. Replies: 5
    Last Post: 21st March 2009, 09:10
  5. graph drawing
    By swathi in forum Qt Programming
    Replies: 1
    Last Post: 8th November 2008, 09:27

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.