PDA

View Full Version : Problem while displaying the icons name



yuvaraj.yadav
23rd April 2009, 09:50
Hi

I am going to display the icons name, when i am moving the mouse on icon.

Here i have used the mouse Tracking and enter,leave event function...

but i don't know how to display the icons name ,while moving the mouse on image...

Shall use label to display the name,when it satisfying the above mentioned conditions(mouse Tracking, enter)....

my code is



QLabel *label = new QLabel(tr("search");
label->show();


please suggest me..

Thanks

Yuvaraj R

mcosta
23rd April 2009, 13:33
your label hasn't a parent, then it isn't showed automatically.

yuvaraj.yadav
23rd April 2009, 14:50
Thanks for your reply...


please suggest me ,how solve this problem....