• 5868阅读
  • 1回复

如何在qtreeview中实现拖放,使得文件或文件夹的能够复制 [复制链接]

上一主题 下一主题
离线qulu2009
 
只看楼主 倒序阅读 楼主  发表于: 2010-06-28
— 本帖被 XChinux 从 General Qt Programming 移动到本区(2011-01-02) —
如题所示,希望像windows资源管理器那个使用拖放来完成文件和文件夹的拖放。。。不知如何实现
离线xtfllbl

只看该作者 1楼 发表于: 2010-06-29

Drag And Drop Classes

QDragEnterEventEvent which is sent to a widget when a drag and drop action enters it
QDragLeaveEventEvent that is sent to a widget when a drag and drop action leaves it
QDragMoveEventEvent which is sent while a drag and drop action is in progress
QDropEventEvent which is sent when a drag and drop action is completed
QMacPasteboardMimeConverts between a MIME type and a Uniform Type Identifier (UTI) format
QWindowsMimeMaps open-standard MIME to Window Clipboard formats




上海欢迎您
快速回复
限100 字节
 
上一个 下一个