Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Replace a moved element into a Flow



  • Hello everybody.

    I'm using a flow item to order simple rectangles. These rectangles are able to move with a mouse drag. I would like them to be replaced to their first place with a double click.

    Is it possible ?

    Thanks



  • You should be able to store it's position when you start the drag. If you add the code you have so far it might be easier to help you..



  • add a state for changed position and for first position


Log in to reply