L
L
lleballex2020-11-07 10:37:38
Qt
lleballex, 2020-11-07 10:37:38

How to determine if the cursor is hovered over a widget in a QScrollArea?

I have a QScrollArea which contains many widgets. How can you track the hover of the cursor on a widget, and then perform certain actions on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2020-11-07
@SaNNy32

Use installEventFilter and handle cursor behavior there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question