C++ GUI Programming with Qt 3 [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

C++ GUI Programming with Qt 3 [Electronic resources] - نسخه متنی

Jasmin blanchette; Mark summerfield

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










Chapter 9. Drag and Drop


Enabling Drag and Drop

Supporting Custom Drag Types

Advanced Clipboard Handling


Drag and drop is a modern and intuitive way of transferring information within an application or between different applications. It is often provided in addition to clipboard support for moving and copying data.

In this chapter, we will begin by showing how to add drag and drop support to a Qt application. Then we will reuse the drag and drop code to implement clipboard support. This code reuse is possible because both mechanisms rely on QMimeSource, an abstract base class that provides data in different formats.


/ 140