On Thursday 15 December 2011 18:40:45 Jesus Sanchez-Palencia wrote: > Hi there, > > I would like to gather your opinion on whether we should move > QUndoStack and QUndoCommand out of QtWidgets so they could be used > without requiring this module as an extra dependency. > > After a brief investigation, I believe this could done by: > > 1- moving QUndoCommand entirely; > > 2- moving QUndoStack without moving the APIs that rely on or need > QAction (QAction *createUndoAction() and QAction *createRedoAction()); > > 3- creating a new class (QUndoStackAction ??) inside QtWidgets and > implement the APIs mentioned above there (createUndoAction and > createRedoAction); > > 4- applying the same logic to QUndoGroup. > > > QtWebKit, for instance, would benefit from this immediately, as we aim > on removing the QtWidgets dependencies. > > Suggestions, comments and any sort of feedback here would be more than > welcome.
I beleive QAction should also be moved back in QtGui _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
