Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to draw rectangle, rhombus, triangle at the extremities of lines
QtWS25 Last Chance

How to draw rectangle, rhombus, triangle at the extremities of lines

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 4.0k 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.
  • S Offline
    S Offline
    SamFaye
    wrote on last edited by
    #1

    I want to draw rectangle,rhombus, triangle... at the extremities of my lines

    My principal problem is how to dertermine the coordinates of the rectangle, rhombus, triangle...

    How can I do this??

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Have a look at the "diagram scene example":http://doc.qt.nokia.com/4.7/graphicsview-diagramscene.html I think this is what you want.

      Fortunately I remembered a previous topic you made so I could guess you're drawing on a QGraphicsscene. Please provide more information if you want specific answers.

      Qt Certified Specialist
      www.edalsolutions.be

      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