[Qt-interest] setElideMode feature on QLabel?

Santhosh Y santhosh at softjin.com
Tue Jan 26 16:03:36 CET 2010


Hi,

Can I set    Elide Mode for eg: Qt::ElideRight , to the QLabel text.

I am using QLabel object for showing the name of a file.
This name can be a huge string and in such a case I want to show 
ellipsis to its right.

Can I do this?
Is it not possible with QLabel such a feature?
Please suggest me how to solve about this issue.

Thanks in advance.

-- 
----------------------------------------------------
Y Santhosh Kumar - 
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list