Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16184

QStyle does not provide standard "USB FLASH STICK" icon

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • Some future release
    • 4.7.1
    • GUI: Look'n'Feel
    • 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 will be 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            socketpair@gmail.com Коренберг Марк
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes