Hey guys,
I want to emulate a "real button click" on a QGraphicsItem:
The click is triggered when mouse release + cursor inside.
Anyone could fill my blank here:
Qt Code:
{ Q_D(qwListGraphicsItem); if (/* cursor is not over the QGraphicsItem */ == true) return; // Do something... }To copy to clipboard, switch view to plain text mode
Thanks.
Bookmarks