Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Remove item from QToolBox
broadpeak last edited by
I created a QToolBox.
I have in it: 2 tab and 2x2 items under the tabs.
I'd have liked to remove the an item (item_03) with mouseclick.
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?