Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.1
-
None
Description
QStyle provides among others, this icons:
QStyle::SP_DriveFDIcon 16 The floppy icon.
QStyle::SP_DriveHDIcon 17 The harddrive icon.
QStyle::SP_DriveCDIcon 18 The CD icon.
QStyle::SP_DriveDVDIcon 19 The DVD icon.
QStyle::SP_DriveNetIcon 20 The network icon.
But, unfotunatelly many standard icons are not available under Qt, but available in WinXP, Ubuntu and MacOSX. For example, on linux:
"drive-removable-media-usb" and "drive-removable-media-usb-pendrive" icons are not available in QStyle::standardIcon()
It will be nice if two things were added:
1. QStyle::standardIcon(const QString& name, .....); // or const QLatin1String& ?
//function should lookup alternatives. For example, for "drive-removable-media-usb-pendrive" it should try (in this order):
//"drive-removable-media-usb-pendrive"
//"drive-removable-media-usb"
//"drive-removable-media"
//"drive-removable"
//"drive"
//"Qt stub icon"
2. more standard icons in enum