Hi,

does Qt have something similar to Windows' PathCompactPath function 
<http://msdn.microsoft.com/en-us/library/windows/desktop/bb773575> for 
shortening a displayed file path?

(After my quick search on the web, it seems not...)

Example:
| The un-truncated path is                C:\path1\path2\sample.txt
| The truncated path at 125 pixels is :   C:\path1\...\sample.txt
| The truncated path at 120 pixels is :   C:\pat...\sample.txt

Thanks,
        Sascha
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to