I really know that when we have a state-dependent behaviour, we automatically think of state design pattern, especially when it comes to a behaviour that change
I am having a QgraphicsView which contains multiple QGraphicsItem. I have some features like zoom-in, zoom-out, Hide - Unhide selected item, Undo-Redo. To imple