Project

General

Profile

Actions

Support #7976

open

WAbstractItemView and Drag and Drop

Added by Andreas Frolov over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/14/2021
Due date:
% Done:

0%

Estimated time:

Description

Hallo,

it is possible to configure the model or view so that the space between the elements or below the last element would be allowed as a drop target?

Actions #1

Updated by Andreas Frolov over 3 years ago

Hallo,

is it possible to configure the model or view so that the space between the elements or below the last element would be allowed as a drop target?

Actions #2

Updated by Korneel Dumon about 3 years ago

Hi Andreas,

the drop target is always an element in the view. In the model, you can interpret this as where you want the element to go and moving all existing items down. This means you cannot drop something in the last place since the last element will always be moved down.

Actions #3

Updated by Andreas Frolov about 3 years ago

Hi Korneel,

thanks for the answer. Does that mean that a drop action on an empty view is impossible? That is very strange.

Actions

Also available in: Atom PDF