Results 1 to 2 of 2

Thread: Detele list items when delete-key hit.

  1. #1
    Join Date
    Sep 2012
    Location
    Ankara
    Posts
    15
    Thanks
    3
    Qt products
    Platforms
    Unix/X11

    Question Detele list items when delete-key hit.

    Hi everyone.
    I wrote something on python and I'm able to add list of files to a qListWidget and remove them with select and click on remove button. However I want remove list con when user hit the delete key too.
    Screenshot from 2013-02-24 17:17:07.jpg

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Detele list items when delete-key hit.

    QShortcut

    ........
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 1
    Last Post: 4th August 2011, 23:36
  2. Replies: 1
    Last Post: 23rd April 2011, 18:33
  3. How to delete items in QTreeWidget...
    By Patrick Sorcery in forum Newbie
    Replies: 12
    Last Post: 10th September 2010, 10:41
  4. Does clear()/clearContents() delete items?
    By vycke in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2008, 18:49
  5. delete items from list box
    By vvbkumar in forum Qt Programming
    Replies: 4
    Last Post: 23rd June 2006, 20:08

Tags for this Thread

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.