Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WLP: Drag-drop in tree view to organize curves and tracks #467

Closed
JacobStoren opened this issue Sep 9, 2015 · 1 comment
Closed

WLP: Drag-drop in tree view to organize curves and tracks #467

JacobStoren opened this issue Sep 9, 2015 · 1 comment
Assignees
Labels
Enhancement An addition that can be observed by the user
Milestone

Comments

@JacobStoren
Copy link
Member

No description provided.

@JacobStoren JacobStoren added the Enhancement An addition that can be observed by the user label Sep 9, 2015
@JacobStoren JacobStoren added this to the Suggestions GM Sprint 6 milestone Sep 9, 2015
@palhagen palhagen modified the milestones: Geom Sprint 7, Suggestions GM Sprint 7 Oct 16, 2015
@palhagen palhagen self-assigned this Oct 16, 2015
palhagen added a commit that referenced this issue Oct 16, 2015
…s to plot tracks

Did some refactoring/cleanup of existing drag & drop code to make it
easier to add drag & drop for other item types.
palhagen added a commit that referenced this issue Oct 21, 2015
Using new class PdmUiTreeViewWidget instead of QTreeView in
PdmUiTreeViewEditor. PdmUiTreeViewWidget handles drag leave events and
calls endDrag() on the model.
palhagen added a commit that referenced this issue Oct 22, 2015
The tree view model's drag & drop handle is notified about the proposed
action in drag move events.
palhagen added a commit that referenced this issue Oct 22, 2015
Getting drag items from selection when the drag is started (when the
interface asks for supported drop actions). Using proposed the drop
action along with the drag items to determine if the drag item can be
dropped onto a given target in the flags() method.
palhagen added a commit that referenced this issue Oct 22, 2015
…urves

Dragging and dropping curves onto a curve appends curves after the given
curve.
@JacobStoren
Copy link
Member Author

This took more time than anticipated, but seems to work ok now.
A lot of the work has been general ResInsight drag/drop, so we we'll get some payback from this later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement An addition that can be observed by the user
Projects
None yet
Development

No branches or pull requests

2 participants