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 tabs
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.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.
  • M Offline
    M Offline
    ManasQt
    wrote on last edited by
    #1

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

    In QToolBox widget, i am trying to get the behavior of expand/collapse tabs based on the tab status weather it needs to be expanded or collapsed.
    I didn’t find any signal/slot which will expand/collapse when i click on the current tab. I see that tab indexes can be changed only by clicking on another tab other than the current one.

    how to make tabs to behave like expand and collapse when user clicks on them 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