Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Not with slots. Use events. In general, this is a repetition
. And the picture in the question has nothing to do with the matter at all. The task after all to receive the fact of pushing of a key.
Roughly speaking, keyPressEvent (if I remember its name correctly) will be a regular method in your class, where the picture is controlled. You press a key, this function is called and the code that you write there is executed. Strange, I thought there were a lot of examples on the Internet about this topic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question