×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    28

    Limit of the QListWidget ?

    Hi,

    I am creating one icons QListWidget and adding up some 500 icons to the list.
    There is no problem in adding the icons, but when I scroll down the list, the application is crashing at around 200th icon.

    Any idea, What is the limitation of the QListWidget ??

    Thanks,
    Sachin

  2. #2
    Nokia Developer Expert
    Join Date
    Oct 2008
    Posts
    1

    Re: Limit of the QListWidget ?

    Hi Sachin,

    500 icons can consume a lot of memory. You could use some tool (for example nokia energy profiler) to check if memory consumption increases when you scroll down the list. At least QIcon documentation says that the icon is loaded on demand if using QIcon::QIcon (const QString & fileName) (I haven't tested this).

    At least a list without icons works well even if there is 3000 items.

    Br,
    Ilkka

Similar Threads

  1. how to set text limit of CAknTextSettingItem
    By JackSu in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-02-13, 15:22
  2. mms image size limit
    By meghaarya in forum General Messaging
    Replies: 0
    Last Post: 2008-02-02, 07:18
  3. HTTP Response content length limit
    By jp4symbian in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-01-01, 14:22
  4. Series 40: Persistent Storage Limit per Midlet Suite?
    By pqp6 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-12, 05:22
  5. The 30 KB limit?
    By phubinet in forum Mobile Java General
    Replies: 1
    Last Post: 2002-11-16, 13:23

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×