On 10/16/2014 11:55 AM, Pekka Vuorela wrote: >> So what is the recommended way to implement Undo in an app? Is there another >> way to get undo functionality or is it allowed to enable QWidgets for >> this purpose? > > Perhaps just application specific logic?
I didn't suffer from NIH syndrome yesterday ;) But I guess not many mobile phone apps have a need for undo. > Alternatively this might help. Haven't tried. > > http://qt-project.org/wiki/Qt-5-Ui-Helpers > https://qt.gitorious.org/qtplayground/uihelpers/source/5a530b2b9e514a83b9e5f2a66f06b37d35cac3f2:src/utils > Looks good, but actually this is the original QUndo code getting detached from QWidget. I could use QUndo from QWidgets and switch to this later when it becomes stable. _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org