Qt:Документация 4.3.2/itemviews-puzzle

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

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.

center

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.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2