Results 1 to 2 of 2

Thread: how to put different sized icons in a QListView

  1. #1

    Default how to put different sized icons in a QListView

    Is it possible to set different sizes for different icons in a single QListView object?

    setIconSize sets the size of every icon in that list view to the same size. I would like it such that the size of individual icons can be set.

    any hint appreciated.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to put different sized icons in a QListView

    You have to provide your own delegate for that.

Similar Threads

  1. QListView with icons on top of the text, not at the left
    By vfernandez in forum Qt Programming
    Replies: 7
    Last Post: 19th February 2009, 04:19
  2. QListView word wrap
    By serega in forum Qt Programming
    Replies: 17
    Last Post: 30th August 2007, 03:13

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.