QGridLayout on GraphicStage
Unsolved
General and Desktop
-
How to determine that the two graphical objects are side by side on the graphic scene? For example, I want to move items on the graphics scene with the mouse, but do not put them in any position, and in particular a GridLayout cell, how to determine that they were side by side in neighboring cells?
-
Hi
you could maybe use
http://doc.qt.io/qt-5/qgraphicsitem.html#sceneBoundingRect
and see if they are next to each other?