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. Remove item from QToolBox
Forum Updated to NodeBB v4.3 + New Features

Remove item from QToolBox

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

    I created a QToolBox.
    I have in it: 2 tab and 2x2 items under the tabs.

    Edit:
    More precisely
    group_01
    item_01
    item_02
    group02
    item_03
    item_04

    I'd have liked to remove the an item (item_03) with mouseclick.
    But!
    The "toolBox->removeItem(id);" is not remove my item, because I can't query the item's id correctly.
    Currently my id is the tab id (I can query only this id :S), which is not good...

    How can I delete an item under a tab? From where can I retrieve the selected item's id?

    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