Results 1 to 8 of 8

Thread: how to count total numbers items in listwidget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: how to count total numbers items in listwidget

    You can't use QString this way.

    Instead, use QString::number(i)

    Read the documentation.

  2. The following user says thank you to tbscope for this useful post:

    trupti (21st January 2011)

Similar Threads

  1. How to get count of items in QListView column?
    By qt-closer in forum Qt Programming
    Replies: 3
    Last Post: 25th October 2010, 14:40
  2. qlistwidget count of selected items
    By tpf80 in forum Newbie
    Replies: 4
    Last Post: 10th December 2009, 13:31
  3. Total time in QTimer
    By martisho in forum Qt Programming
    Replies: 4
    Last Post: 14th November 2009, 08:24
  4. Qt listView total height
    By bunjee in forum Qt Programming
    Replies: 2
    Last Post: 18th April 2008, 18:16

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
  •  
Qt is a trademark of The Qt Company.