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. Drawning over images
Qt 6.11 is out! See what's new in the release blog

Drawning over images

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 935 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.
  • A Offline
    A Offline
    ArchGabe
    wrote on last edited by
    #1

    Hello guys,

    I am working on an user interface and I need some fancy drawning tools in order to draw a straight line over a picture. The picture is displayied on a QLabel (I am using OpenCv along Qt).
    I would like to do something like a click over the picture (mark a point over it), and while I move the pointer over the picture, the line end follows the pointer until I click over it again.

    Thank you in advance,

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You could take a look at the "Scribble Example":http://qt-project.org/doc/qt-4.8/widgets-scribble.html to get some ideas on how to start with it.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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