IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Undo Framework Example

This example shows how to implement undo/redo functionality with the Qt undo framework.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Undo Framework Example

 
Sélectionnez
QT += widgets
requires(qtConfig(undoview))

HEADERS     = commands.h \
              diagramitem.h \
              diagramscene.h \
              mainwindow.h
SOURCES     = commands.cpp \
              diagramitem.cpp \
              diagramscene.cpp \
              main.cpp \
              mainwindow.cpp
RESOURCES   = undoframework.qrc

# install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/undoframework
INSTALLS += target

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+