Results 1 to 3 of 3

Thread: how to animate sliding widget behind statusBar

  1. #1

    Default how to animate sliding widget behind statusBar

    I have a mainWindow, and defined a statusBar with some pushButtons. I want to animate a sliding widget behind the statusBar(pushbuttons) (like sliding out between stausBar and center window), but so far, i can only make it move on top of statusBar which will cover the pushbuttons. Is there is a way to achieve this? or if there is a way to start the animation at the edge of statusBar and center widget may also work.

    Thank you so much.

  2. #2
    Join Date
    Dec 2012
    Posts
    90
    Thanks
    5
    Thanked 20 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to animate sliding widget behind statusBar

    If you make moving widget a child of the central widget (instead of main window), it's area will be clipped by parent, so it won't overlap pushbuttons on the status bar.

  3. #3

    Default Re: how to animate sliding widget behind statusBar

    oh yeah....it works. Thank you so much.

Similar Threads

  1. how to add seperator in statusbar of widget?
    By banlinhtienphong in forum Newbie
    Replies: 3
    Last Post: 28th April 2011, 07:37
  2. sliding dock widget
    By manishkyl in forum Qt Programming
    Replies: 0
    Last Post: 28th July 2008, 14:04
  3. how to animate a subclassed widget
    By babu198649 in forum Newbie
    Replies: 4
    Last Post: 31st December 2007, 13:07
  4. Sliding popup widget
    By momesana in forum Qt Programming
    Replies: 7
    Last Post: 19th September 2007, 22:30
  5. is it possible to animate sliding widgets on show/hide
    By discostu in forum Qt Programming
    Replies: 2
    Last Post: 4th March 2007, 08:59

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.