Results 1 to 3 of 3

Thread: Problem while displaying the icons name

  1. #1
    Join Date
    Apr 2009
    Posts
    61
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Problem while displaying the icons name

    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

    Qt Code:
    1. QLabel *label = new QLabel(tr("search");
    2. label->show();
    To copy to clipboard, switch view to plain text mode 

    please suggest me..

    Thanks

    Yuvaraj R

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem while displaying the icons name

    your label hasn't a parent, then it isn't showed automatically.
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Apr 2009
    Posts
    61
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Problem while displaying the icons name

    Thanks for your reply...


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

Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2009, 10:05
  2. Problem with displaying jpeg and gif images, in QT4
    By node_ex in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd September 2008, 16:29
  3. Problem in displaying the ComboBox list
    By raghvendramisra in forum Qt Tools
    Replies: 4
    Last Post: 28th February 2008, 14:25
  4. New to QT, problem displaying main window...
    By McCall in forum Qt Programming
    Replies: 4
    Last Post: 15th June 2007, 15:27
  5. Facing problem with tool bar icons
    By jnana in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2006, 09:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.