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. Paint line, ellipse or any shape in Qt by signal from Arduino
Forum Updated to NodeBB v4.3 + New Features

Paint line, ellipse or any shape in Qt by signal from Arduino

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 537 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.
  • Macive XiongM Offline
    Macive XiongM Offline
    Macive Xiong
    wrote on last edited by Macive Xiong
    #1

    Hey guys,

    I am wondering if I can send signal from Arduino to paint shapes in Qt? I need to create a widget as a sketch books and draw on that by value output from Arduino. Is that possible? Or is there any example that I can learn and watch? (using qcustomplot??) Thanks for the help:)

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! So, what does your setup look like? You have a PC, an Arduino and they are somehow connected. How are they connected? You want to write an application using Qt Widgets that can receive commands from some external connection and then draw something accordingly. For the drawing part, have a look at QPainter Class. In case you're using serial ports, have a look at QSerialPort, or if you're using a TCP/IP network, have a look at the Qt Network Module.

      1 Reply Last reply
      2

      • Login

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