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 capture tab/tab icon click event in QToolBox to collapse/expand items
Qt 6.11 is out! See what's new in the release blog

How to capture tab/tab icon click event in QToolBox to collapse/expand items

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi All,
    Is there a way to change QToolBox tab index by clicking on the tab/tab icon?

    Here i am trying to collapse/expand tabs based on the tab's status weather it needs to be expanded or collapsed.
    I didn't find any signal/slot for it which will help in my case. I see that tab indexes can be changed only by clicking on another tab other than the current one.

    I am not able to figure it out on, how to make tabs to behave like expand and collapse when user clicks on it just like QTreeView nodes behavior.

    Thanks in advance.

    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