Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Slide Down Widget Effect
Forum Updated to NodeBB v4.3 + New Features

Slide Down Widget Effect

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    unmeshphalak
    wrote on last edited by
    #1

    Hello all, I have created main window which contains a dockable widget initially docked at bottom. I want to have a slide-out animated effect on that widget whenever i will hover the mouse to the side wherever it was docked last time.
    The widget which is embedded in QDockWidget contain layouts, hence we cannot decrease the height so as to give animation through QPropertyAnimation.
    Also since its dockable we cannot move it below main window.
    Please suggest any solution.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      I think your best bet is to render the widget in an image, and do the animation with the image rather than the real widget. Then, when the animation is done, you replace the image with the real widget so the user can interact with it.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved