Qt Forum

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

    Unsolved Connect 2 custom movable QGraphicsItems with an auto adjustable multiline

    General and Desktop
    qgraphicsitem qgraphicsscene
    1
    1
    248
    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.
    • P
      ppetukhov last edited by ppetukhov

      Hello there ;)

      Right now I am doing a custom project and using DIagram Scene as a reference. That's all coming ok but I need to connect my custom QGraphicsItems in a special way.
      So here how it should look like:
      alt text
      Move left item a little bit on top and right
      alt text
      So as you can see lines stay only vertical and horizontal position. Is it possible to achieve such a behavior with
      QGraphicsPathItem or should I use something else?

      Also I want to implement a feature to show points from where connection could be possible. So if a user clicks this point and drags it to the point on the other item a line will be drawn.
      It should look like this example from Visio:alt text

      1 Reply Last reply Reply Quote 0
      • First post
        Last post