Results 1 to 3 of 3

Thread: How to check if the QListWidget is empty ?

  1. #1
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question How to check if the QListWidget is empty ?

    i need to check if the QListWidget , how to do that ?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: How to check if the QListWidget is empty ?

    QListWidget::count(). Next time please read the documentation!

  3. #3
    Join Date
    Jul 2010
    Posts
    10
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to check if the QListWidget is empty ?

    i have checked the documentation but i am new to Qt world & documentation

    & thanks for your help

Similar Threads

  1. is QString empty?
    By timmu in forum Qt Programming
    Replies: 2
    Last Post: 16th January 2010, 23:17
  2. Status Bar Empty
    By waynew in forum Newbie
    Replies: 5
    Last Post: 22nd November 2009, 14:01
  3. QTreeView is empty
    By t0bias in forum Qt Programming
    Replies: 2
    Last Post: 31st August 2008, 12:22
  4. QListWidget with check box's
    By steg90 in forum Newbie
    Replies: 2
    Last Post: 14th May 2007, 15:40
  5. remove directory empty or not empty
    By raphaelf in forum Newbie
    Replies: 12
    Last Post: 27th October 2006, 08:30

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.