Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Icon Size in QListView IconMode
QtWS25 Last Chance

Icon Size in QListView IconMode

Scheduled Pinned Locked Moved Solved General and Desktop
qwidgetqlistviewqicon
2 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    belst
    wrote on last edited by belst
    #1

    I am currently trying to generate thumbnails for image files in a QListView with IconMode. I got Thumbnails working by extending QFileIconProvider and setting my own provider.

    But I cannot set the thumbnail size. No matter what thumbnail size I generate, or what kind of gridSize I have in the QListView, the thubnails are always extremly small.

    Edit: Nevermind, I didn't see there is setIconSize

    B 1 Reply Last reply
    1
    • B belst

      I am currently trying to generate thumbnails for image files in a QListView with IconMode. I got Thumbnails working by extending QFileIconProvider and setting my own provider.

      But I cannot set the thumbnail size. No matter what thumbnail size I generate, or what kind of gridSize I have in the QListView, the thubnails are always extremly small.

      Edit: Nevermind, I didn't see there is setIconSize

      B Offline
      B Offline
      belst
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved