Hi guys,
I have some widgets and QGraphicsTextItem on my scene/view. I want those items/widgets not to accept any events(especially mouse events(like hover)). I have already done this for QGraphicsTExtItem:
Qt Code:
... item->setAcceptsHoverEvents(false); item->setAcceptedMouseButtons(false); ...To copy to clipboard, switch view to plain text mode
but do not know howto disable mousehoverEvent for widgets. My widgets are transparent and every time I move to the widget I want my special cursor to be drawn under those widgets(on the scene), but nothing on the scene is drawn(under a widget) while moving the cursor on my widgets.
Any ideas?(
Thanks
P.S>
SetDisabled(false) do not work.
setFocusPolicy(Qt::NoFocus) do not work either.
Bookmarks