Hi,
I have subclassed a QLabel and want reimplemente QWidget::enterEvent ( QEvent * event ). So the Doku says:
This event handler can be reimplemented in a subclass to receive widget enter events which are passed in the event parameter.
An event is sent to the widget when the mouse cursor enters the widget.
I ask me now, which other action, then a mouse-cursor-in, could appear in a subclassed QLabel, that starts an enterEvent()? Because, if there is only a mouse-cursor-in possible, I don't need to check this in my reimplemented function.
Thanks,
Lykurg
Bookmarks