Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Tools
    2
    2
    3804
    Loading More Posts
    • 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
      SamFaye last edited by

      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 Reply Quote 0
      • E
        Eddy last edited by

        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 Reply Quote 0
        • First post
          Last post