Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] QGraphicsView

[Solved] QGraphicsView

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 932 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RodriguesCunha
    wrote on last edited by
    #1

    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.htm

    What is the best way to do it?
    I'm new to Qt..

    Thanks

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved