Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Get size of icon constructed via QIcon(QString &)

$
0
0
Is there a way to find the size of an icon created via the QIcon constructor variant taking a filename as inpu? I mean, the dimensions of the original image and/or “unscaled” pixmaps created from it. I find that QIcon::availableSizes() will return an empty list for all combinations of Mode and State for such an icon – unlike, for instance, one created via QIcon::fromTheme(). - Toralf

Viewing all articles
Browse latest Browse all 22112

Trending Articles