Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

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

    General and Desktop
    1
    1
    1451
    Loading More Posts
    • 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
      ManasQt last edited by

      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 Reply Quote 0
      • First post
        Last post