Results 1 to 3 of 3

Thread: QListWidget how to determine which QListWidgetItem has been selected?

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default QListWidget how to determine which QListWidgetItem has been selected?

    QListWidget how to determine which QListWidgetItem has been selected?
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QListWidget how to determine which QListWidgetItem has been selected?

    Use currentItem().
    (and read the docs...)

  3. #3
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QListWidget how to determine which QListWidgetItem has been selected?

    Thanks very much !!
    Thank you...
    Welcome to Vision Open
    http://www.visionopen.com

Similar Threads

  1. QListWidget and QListWidgetItem
    By Noxxik in forum Qt Programming
    Replies: 5
    Last Post: 3rd August 2011, 09:59
  2. Replies: 2
    Last Post: 15th July 2009, 15:53
  3. delete QListWidgetItem in QListWidget
    By sophister in forum Qt Programming
    Replies: 1
    Last Post: 10th May 2009, 15:52
  4. Remove selected QListWidgetItem
    By xgoan in forum Newbie
    Replies: 7
    Last Post: 28th September 2006, 14:42
  5. QListWidget add QListWidgetItem
    By fellobo in forum Qt Programming
    Replies: 3
    Last Post: 20th February 2006, 19:37

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.