Results 1 to 2 of 2

Thread: how to scale an action.

  1. #1
    Join Date
    Jul 2007
    Posts
    104
    Thanks
    22
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default how to scale an action.

    Is there a way for focusing-scaling the actions when hovered?
    Or I ask :how can I scale an action when it is hovered?
    Last edited by hgedek; 13th August 2007 at 14:31.

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to scale an action.

    Do you mean what I think you mean?

    It is possible. I would do it with a custom widget, with a transparent background and with the action pixmap painted on to itself. Transparent backgrounds work just fine as long as the background is a parent widget.

    So you could create the transparent widget with the main window as parent. You could even implement a smooth animation. Maybe something like the Mac Os X dock?

    Regards

Similar Threads

  1. Caption in QMenu
    By Lykurg in forum Newbie
    Replies: 4
    Last Post: 16th April 2014, 22:41
  2. how to popup and close a QMenu
    By Placido Currò in forum Qt Programming
    Replies: 15
    Last Post: 14th May 2007, 16:41
  3. deleting qaction
    By hyling in forum Qt Programming
    Replies: 1
    Last Post: 8th December 2006, 21:48
  4. Replies: 9
    Last Post: 31st March 2006, 13:07
  5. Replies: 2
    Last Post: 23rd February 2006, 16:38

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.