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. How to make QToolbox's transition softer while switching the items.
Qt 6.11 is out! See what's new in the release blog

How to make QToolbox's transition softer while switching the items.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.0k 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.
  • G Offline
    G Offline
    gaojinhsu
    wrote on last edited by
    #1

    while switching the items of QToolbox control, the transition is too harsh. How can I make it softer? For example, add a slide animation.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      NicuPopescu
      wrote on last edited by
      #2

      Hi,

      I had a look to qtoolbox source and I think you cannot do any animation: in fact toolbuttons and widgets(assigned to each tool button in a page struct) are in a vertical box layout doing their geometry management when widgets are hidden/shown

      I have read something about Qt Kinetic for layout animation, using some proxy layouts between qt's layout object and their managed widgets but I have not tried 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