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. Want to display eedges on edges numbers of QPolygon

Want to display eedges on edges numbers of QPolygon

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 467 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.
  • Q Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by
    #1

    HI All
    I want to display edge number outside the edges of QPolygonF.

    The required output is as displayed

    ![0_1504017598751_Capture.png]0_1504017673966_Capture.png (https://ddgobkiprc33d.cloudfront.net/323eefb4-24bc-4877-96b6-37ab5c250fe1.png)
    ![alt text](image url)

    Can some one help me to code the same

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      You must be using the QPainter to draw this polygon. How about using the drawText(...) draw what ever the text you want. You need to have x, y on where to display the numbers.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      4

      • Login

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