Results 1 to 3 of 3

Thread: QFileSystemModel file icon overlays

  1. #1
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QFileSystemModel file icon overlays

    QFileSystemModel seems to be perfect for the task I need, being threaded and all. However, I also plan to use a Windows shell extension that uses icon overlays. QFileSystemModel doesn't seem to support these - has anyone any ideas of how to support them?

  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: QFileSystemModel file icon overlays

    I don't think there is a way to do that unless you can ask your system through an API call for icons for specific files that include overlays for them.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QFileSystemModel file icon overlays

    Fair enough, I'll try and subclass QFileIconProvider to provide the required functionality first, and then go from there. Seems the most logical solution.

Similar Threads

  1. Replies: 5
    Last Post: 5th August 2009, 17:32
  2. Dropping file over app icon in MAC
    By dev_maximaa in forum Qt Programming
    Replies: 0
    Last Post: 20th March 2009, 05:40
  3. Setting OS Specified Icon on the File?
    By vishal.chauhan in forum Qt Programming
    Replies: 4
    Last Post: 31st May 2008, 12:37
  4. Set QApplication icon without using the rc/qrc file ?
    By Nyphel in forum Qt Programming
    Replies: 8
    Last Post: 23rd March 2007, 15:06
  5. set Icon to .app file
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 10th January 2007, 21:13

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.