Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
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?