how to use key event even if line edit was focused
Solved
General and Desktop
-
i was trying keypressevent and it didn't work when qline edit is focused .
so is there a way to do some thing when key is pressed without disable Qlineedit focus policy? -
Best way is to use eventFilter, install on lineEdit and process it.
-
@dheerendra can you send me an example
-
You can look at git
-
@dheerendra thank you so much