×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    76

    Thumbs down Rearrange the QListWidget items after drag drop action

    Hi all,
    i have QListWidget with items.currently i have implemented drag&drop of with in widget.it is working fine.but what i want is when i do drag&drop the one item to another place within widget the listwidget is not rearraging its items.
    can any one help me out of this..
    below code i have written for drag drop of QListWidget..

    listWidget->setSelectionMode(QAbstractItemView::SingleSelection);
    listWidget->setDragEnabled(true);
    listWidget->viewport()->setAcceptDrops(true);
    listWidget->setDropIndicatorShown(true);
    listWidget->setDragDropMode(QAbstractItemView::InternalMove);

    regards,
    venkat

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Posts
    76

    Re: Rearrange the QListWidget items after drag drop action

    can any body please help me out of this..


    regards,
    venkat

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    76

    Re: Rearrange the QListWidget items after drag drop action

    Hi Venkatesh,

    I have run in to some issues implementing internal drag and drop in a QListView,

    my post is here

    I was wondering if you sorted out your issue , and might be able to shed some light on what I am doing wrong ?

    cheers

    Guus Davidson

Similar Threads

  1. 5530 XM Drag&Drop
    By microsoft2 in forum Symbian User Interface
    Replies: 0
    Last Post: 2009-09-10, 14:45
  2. Drag & Drop image supported?
    By Danneman in forum Symbian
    Replies: 4
    Last Post: 2009-04-21, 16:49
  3. drag and drop IDE
    By mayankkedia in forum Symbian
    Replies: 1
    Last Post: 2004-10-09, 19:42

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×