Results 1 to 5 of 5

Thread: Drag and Drop from QListWidget to QFrame

  1. #1
    Join Date
    Apr 2016
    Posts
    3
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Drag and Drop from QListWidget to QFrame

    Hello all,

    Please i want to know if i can drag elements from a QListWidget to a Qframe!??

    best regards

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Drag and Drop from QListWidget to QFrame

    Yes.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    ali_mazighe (28th April 2016)

  4. #3
    Join Date
    Apr 2016
    Posts
    3
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Drag and Drop from QListWidget to QFrame

    Hello all

    Please can any one of you help aboutthe way of dragging elements from QListWidget to a QFrame and extract only the icon of the QLisWidget!!!!

    Thank you in advance
    Last edited by ali_mazighe; 28th April 2016 at 19:13.

  5. #4
    Join Date
    Apr 2016
    Posts
    3
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default Drag and Drop from QListWidget to QFrame

    Hello all QT-Programmers

    In my project i want to drag elements from a QListWidget and drop it to the mainwindow that extends from a Qframe, but in this case only the dragging that works and the main window do not accept drops.
    So in this case if some one can help so i can realize this small application it wil be great

    Thank you in advance

  6. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Drag and Drop from QListWidget to QFrame

    Have you looked at the Qt drag and drop examples?

Similar Threads

  1. Replies: 2
    Last Post: 30th January 2014, 07:46
  2. to use drag & drop on QListWidget
    By giorgik in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2012, 19:00
  3. Drag and drop between QListWidget's
    By estanisgeyer in forum Qt Programming
    Replies: 4
    Last Post: 17th February 2011, 05:29
  4. drag&drop from QGraphicsScene to QListWidget
    By hakiim35 in forum Qt Programming
    Replies: 4
    Last Post: 7th July 2010, 12:29
  5. Replies: 3
    Last Post: 10th June 2010, 16:13

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.