[Solved] QGraphicsView
-
Hi.
I need some help from you guys.
I need to display data from 8 different sonar. In my app i'm receiving 4 different data frame types using rs232. One of this types is the sonar data. I receive the sonar data every 80ms. For each sonar the value range 0-255.
For rs232 reception i'm using a workerthread that only emits a signal to guithread when a complete and valid data frame is received.
What i need to display is something like the following image and then depending on the value, fill with green colour representing the clear area in front of the sonar.
"Image":https://www.dropbox.com/s/45kjtw6rylhe14q/son.jpg
"Sonardatasheet":http://www.robot-electronics.co.uk/htm/srf02tech.htmWhat is the best way to do it?
I'm new to Qt..Thanks
-
Hi!
Take a look to a examples, maybe you will find something useful
"examples-painting":http://qt-project.org/doc/qt-5.1/qtwidgets/examples-painting.html
"examples-graphicsview":http://qt-project.org/doc/qt-5.1/qtwidgets/examples-graphicsview.html