c++ - How to use QUndoCommand in Qt -


hello guys working on graphics editor in transform qgraphicsitem using 3 different qsliders scale, rotate z-axis , rotate x or y-axis. how can use qundocommand achive it. reading documentation push used pushing on stack redo gets called. mergewith method , how can use if used concern. appreciated.

i think this you. need subclass qundocommand, , stuff want undo later in derived class.


Comments