[Qt-interest] setting icons for files
Ben Swerts
benswerts at telenet.be
Tue Dec 30 20:49:28 CET 2008
Hi,
AFAIK, this is done by Windows when a certain filetype (extension) is
associated with an application. All files with this extension will then get
the icon of the associated application. I don't think you can specify an
icon per file, but it is possible for directories.
Anyway, this isn't related to Qt so I suggest you google around for 'file
type associations' and the like.
Greets,
Ben
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Deepak Chandran
> Sent: Tuesday, December 30, 2008 12:41 AM
> To: Qt Interest
> Subject: [Qt-interest] setting icons for files
>
> Is there any way to set the icon for a file? For example, pdf files and
> photoshop files have their own icons that show a small thumbnail of what
> is inside. When a document is saved in my application, I want to generate
> a small png that will become the icon for that saved file. Can I do this
> with Qt? Thanks.
More information about the Qt-interest-old
mailing list