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

Item Views Puzzle Example

The Puzzle example shows how to enable drag and drop with a custom model to allow items to be transferred between a view and another widget.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Item Views Puzzle Example

Image non disponible

This example is an implementation of a simple jigsaw puzzle game using the built-in support for drag and drop provided by Qt's model/view framework. The Drag and Drop Puzzle example shows many of the same features, but takes an alternative approach that uses Qt's drag and drop API at the application level to handle drag and drop operations.

Example project

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