Setting OS Specified Icon on the File?
Hi All,
I am working on Mac OS and Qt 4.3.4.
I am creating a treeWidget from the Hard Disk and it shows me the file and folder of the selected path.
I want that the treeWidget will show me the actual Icon whcih is used on the mac(that for say mp3 file it should show thw mp3 icon used on mac etc..)
If any body knows then plz help me.
Thanks.
Re: Setting OS Specified Icon on the File?
I'm not sure if this is the case on Mac but doesn't QDirModel show them out of the box?
Re: Setting OS Specified Icon on the File?
Actually I does not using QDirModel Approach (Although I am not sure it will show the Icon).
and the fact is that I can not change my approach either.
Is there is some setting that is to be used to show Icpon.
Re: Setting OS Specified Icon on the File?
Re: Setting OS Specified Icon on the File?
Actually these required the path of the file or folder whose Icon is to be used.
But I want to do like this that suppose If I add some files say
image.jpeg , Image1.gif, Image2.png ,Image4.bmp then it should automatically show the Icon of the perticular file.
Is it possible to do?