enthought / enthought/pyface

Drag, Drop, Copy and Paste support for Data Views

Open
#699 0 comments 0 reactions 0 assignees View on GitHub
difficulty: advanced Feature Feature: Table/Tree Editor
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

We need the ability for users to drag and copy selections out of the data view; and for users to drop and paste values from elsewhere into the data view.

These are all related as they all involve serialization of data to standard MIME formats (eg. text/plain, text/csv, application/json, etc.) as this is what Qt and Wx use to talk to the underlying OS clipboard, etc.

This will require:

- [x] serialization/deserialzation support for MIME types (#688)
- [ ] hooks to support dragging out values (#704)
- [ ] hooks to allow dropping values into the data view (#706 partially resolves this)
- [ ] cut, copy, paste, etc. methods

Full implementation of this may require the ability to insert/delete on the _structure_ of the data model, rather than simply changing the values of individual items. Some of this is encapsulated by #681 which discusses the events that will need to be generated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.