Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is the best way to Draw Editable Dragable line , polygon , area
Qt 6.12 LTS is out! See what's new in the release blog

What is the best way to Draw Editable Dragable line , polygon , area

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 584 Views
  • 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
    RahibeMeryem
    wrote on last edited by
    #1

    Hi,

    I want to load Image as a background and want to draw lines , polygons and areas which can be moveable and also editable with dragging the points on the line .

    finally I want to export all drew items to a file. etc.

    Is there any example ? what is the best way to do this.

    JonBJ 1 Reply Last reply
    0
    • R RahibeMeryem

      Hi,

      I want to load Image as a background and want to draw lines , polygons and areas which can be moveable and also editable with dragging the points on the line .

      finally I want to export all drew items to a file. etc.

      Is there any example ? what is the best way to do this.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @RahibeMeryem
      I would be looking at Qt graphics scene. The following are short introductory tutorials, see if that's your direction:
      https://evileg.com/en/post/86/
      https://www.pythonguis.com/tutorials/pyqt-qgraphics-vector-graphics/

      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
      • Unsolved