PDA

View Full Version : Is possible to get QStyle::SP_FileIcon larger?



Dark_Tower
5th April 2006, 14:14
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.

wysota
5th April 2006, 14:31
Those icons have size predefined. You can only scale them or don't use them at all.