Results 1 to 3 of 3

Thread: Animating QDockWidget

  1. #1
    Join Date
    Dec 2008
    Location
    PUNE (INDIA)
    Posts
    49
    Thanks
    11
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Animating QDockWidget

    Hi ..
    I am creating an application which has a QDockWidget .
    I am making it visible and unvisible.
    I want to apply different animations while making it visible.
    How can i Do that ?
    Does Qt support stylesheet or animation for this .
    Please let me know .

    The QDockWidget should work as it does in Visual Studio.

    Thanks and Regards ,
    Vajindar
    Thanks & Regards ,

    Vajindar Laddad .
    Trainee Developer.
    (INDIA).
    91+9325014248

  2. #2
    Join Date
    Jun 2017
    Posts
    2
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Animating QDockWidget

    it's about 13 years ago that this question asked, any sample code?

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,936
    Thanks
    276
    Thanked 803 Times in 792 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: Animating QDockWidget

    it's about 13 years ago that this question asked
    Yeah, it's a teenager now, probably hanging out with the wrong people and smoking cigarettes.

    I would experiment with using a QPropertyAnimation on the QWidget::windowOpacity property. You might have to derive from QDockWidget and override the QWidget::setVisible() method to start the animation.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. widget not resized within QDockWidget
    By pospiech in forum Qt Programming
    Replies: 2
    Last Post: 4th December 2008, 18:19
  2. QDockWidget closing detection
    By danielperaza in forum Qt Programming
    Replies: 1
    Last Post: 16th April 2008, 15:28
  3. contextmenu in QDockWidget title
    By klipko in forum Newbie
    Replies: 4
    Last Post: 7th March 2008, 22:32
  4. Replies: 8
    Last Post: 4th February 2007, 00:42
  5. QDockWidget flicker
    By fellobo in forum Qt Programming
    Replies: 1
    Last Post: 28th April 2006, 20:42

Tags for this Thread

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.