Qt-interest Archive, January 2007
Default Drop Behavior
Message 1 in thread
Is it possible to define what the default drop action is in a
QAbstractItemView if both Qt::MoveAction and Qt::CopyAction are both
supported by the underlying model? It doesn't seem to be possible,
Qt::CopyAction is automatically favored as the default action, forcing
the user to press Shift to indicate a move. IMHO it seems that
generally a Move is the default action in these cases. Thanks
Matt Broadstone
--
[ signature omitted ]
Message 2 in thread
anyone?
On 1/24/07, Matt Broadstone <mbroadst@xxxxxxxxx> wrote:
> Is it possible to define what the default drop action is in a
> QAbstractItemView if both Qt::MoveAction and Qt::CopyAction are both
> supported by the underlying model? It doesn't seem to be possible,
> Qt::CopyAction is automatically favored as the default action, forcing
> the user to press Shift to indicate a move. IMHO it seems that
> generally a Move is the default action in these cases. Thanks
>
> Matt Broadstone
>
--
[ signature omitted ]
Message 3 in thread
With the current API it is indeed difficult to change the default drop
action. This has been recognized as a significant flaw and has therefore
been scheduled for an improvement in the upcoming 4.3 release.
You can track the progress using Task Tracker with this task ID : 124962
> anyone?
>
> On 1/24/07, Matt Broadstone <mbroadst@xxxxxxxxx> wrote:
>
>> Is it possible to define what the default drop action is in a
>> QAbstractItemView if both Qt::MoveAction and Qt::CopyAction are both
>> supported by the underlying model? It doesn't seem to be possible,
>> Qt::CopyAction is automatically favored as the default action, forcing
>> the user to press Shift to indicate a move. IMHO it seems that
>> generally a Move is the default action in these cases. Thanks
>>
>> Matt Broadstone
>>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]