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

Drag and Drop Puzzle Example

The Drag and Drop Puzzle example demonstrates a way of using the drag and drop system with item view widgets.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Drag and Drop Puzzle Example▲

Image non disponible

This example is an implementation of a simple jigsaw puzzle game using Qt's drag and drop API. The https:// example shows many of the same features, but takes an alternative approach that uses Qt's model/view framework to manage drag and drop operations.

List of Files▲

Files:

List of Files▲

  • draganddrop/puzzle/main.cpp

  • draganddrop/puzzle/mainwindow.cpp

  • draganddrop/puzzle/mainwindow.h

  • draganddrop/puzzle/pieceslist.cpp

  • draganddrop/puzzle/pieceslist.h

  • draganddrop/puzzle/puzzle.pro

  • draganddrop/puzzle/puzzle.qrc

  • draganddrop/puzzle/puzzlewidget.cpp

  • draganddrop/puzzle/puzzlewidget.h

List of Files▲

Images:

List of Files▲
  • draganddrop/puzzle/example.jpg

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

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.