Results 1 to 2 of 2

Thread: Problem adding items with icons to a non-visible QListWidget

  1. #1
    Join Date
    Feb 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Problem adding items with icons to a non-visible QListWidget

    Hi,

    I have a simple application with two tabs. In one of the tabs I have
    a QListWidget.

    If I add several QListWidgetItems to the list all with different icons, the
    icons are not displayed correctly (shown with noise) if the tab that
    contains the list is not selected when the addItem() method is called.

    Is this a bug?

  2. #2
    Join Date
    Feb 2010
    Posts
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem adding items with icons to a non-visible QListWidget

    Nevermind, I was not creating the icons correctly.

Similar Threads

  1. Icons in a QListWidget
    By LuHe in forum Qt Tools
    Replies: 10
    Last Post: 30th January 2010, 04:19
  2. QIcon Icons are not visible
    By harakiri in forum Qt Programming
    Replies: 1
    Last Post: 6th May 2007, 19:11
  3. Replies: 9
    Last Post: 11th January 2007, 15:34
  4. Get Visible Items from the QListWidget
    By srj in forum Qt Programming
    Replies: 4
    Last Post: 22nd November 2006, 20:13
  5. [Qt4]: Adding centered items in QListWidget
    By Jojo in forum Qt Programming
    Replies: 4
    Last Post: 16th March 2006, 20:04

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.