QToolBar - itemAt(event->pos()) ?
Solved
General and Desktop
-
@Dariusz Can you explain better what you mean?
"QToolBar - itemAt(event->pos()) ?" - what does this mean? You click on QToolBar and want to know which item is under the mouse cursor? Wouldn't that be the QToolButton you clicked? -
Yep. I was implementing drag/drop function to drop an item at a specific place and I needed an underlying item to paint drop indicator. All done now, I used the above loop to determine what item I had beneath. However, if you have another idea about getting the item from under the mouse let me know :- )