Results 1 to 2 of 2

Thread: Is possible to get QStyle::SP_FileIcon larger?

  1. #1
    Join Date
    Jan 2006
    Posts
    105
    Thanks
    38
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Question Is possible to get QStyle::SP_FileIcon larger?

    Hi, I use a QListWidget that can show the items in both modes: list mode and icon mode. In list mode I show the icon QStyle::SP_FileIcon for each item. But in icon mode, I first show the SP_FileIcon and then, if the file is an image, I show it as icon. The problem is that the SP_FileIcon is shown very small. I would like to know if there's a way to get SP_FileIcon larger other than scaling it or the only solution is to use another icon "from my own". Thanks.
    Last edited by Dark_Tower; 5th April 2006 at 13:17.

  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: Is possible to get QStyle::SP_FileIcon larger?

    Those icons have size predefined. You can only scale them or don't use them at all.

  3. The following user says thank you to wysota for this useful post:

    Dark_Tower (5th April 2006)

Similar Threads

  1. how can I make the Icon larger
    By duduqq in forum Qt Programming
    Replies: 1
    Last Post: 8th July 2008, 02:28
  2. How to get larger radio buttons on XP?
    By Ben.Hines in forum Qt Programming
    Replies: 9
    Last Post: 24th April 2006, 19:00

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.