Qt-interest Archive, March 2008
dragDropMode bug?
Message 1 in thread
On Windows, Linux and Mac I can't get designer to set dragDropMode from:
QAbstractItemView::DragOnly to QAbstractItemView::NoDragDrop
It makes the setting in the gui and asks me to save the changes. But
the next time I open it, it's back to DragOnly.
I tried editing the .ui file with vi and dragDropMode IS set correctly
to NoDragDrop. So neither designer nor uic is respecting the
dragDropMode.
Any thoughts on a work around? I've never used drag and drop.
Thanks a lot...
Qt 4.3.3
-Willy
--
[ signature omitted ]
Message 2 in thread
Ok, simple fix. I just set NoDragDrop in the constructor.
On Sun, Mar 30, 2008 at 10:39 PM, Willy P <willy.lists@xxxxxxxxx> wrote:
> On Windows, Linux and Mac I can't get designer to set dragDropMode from:
>
> QAbstractItemView::DragOnly to QAbstractItemView::NoDragDrop
>
> It makes the setting in the gui and asks me to save the changes. But
> the next time I open it, it's back to DragOnly.
>
> I tried editing the .ui file with vi and dragDropMode IS set correctly
> to NoDragDrop. So neither designer nor uic is respecting the
> dragDropMode.
>
> Any thoughts on a work around? I've never used drag and drop.
>
> Thanks a lot...
>
> Qt 4.3.3
>
> -Willy
>
--
[ signature omitted ]