I am doing a simple project in Qt to rotate a cube, and I have problem with arrows on keyboard and pushbuttons.

I have two pushbuttons, when I click the first pushbutton the cube rotates to right, the second pushbuttons is used to rotate it to left.

I also have two arrows keys on the keyboard, up and down, and theirs function is the same as the pushbuttons. When I press the up arrow the cube rotate right and so on.

The problem is when I start the application, the arrows instead of controlling the rotate, select the buttons. So I need to know where I can change this options, i.e, turn off navigation action of the arrow keys in pushbuttons.

Projet is made by inheriting QMainWindow.


Question: Why the sudden popularity of .io domains?
Answer: 
They're available…
…probably because they're significantly more expensive(from any registrar I've ever seen) than the usual TLDs…
…and somewhat desirable to techs because of a cheap I/O joke.


The usage itself among web/tech people isn't terribly new. There were several bloggers who started using the TLD years ago that I can't remember at the moment. Over time, it just seems to have slowly built an association with those sorts of people and their output/products. You have to remember that it's gotten really hard to find a decent short domain with .com et al, and very few alternative TLDs like .ws have ever gained much traction, so there's a bit of community convergence going on here, stemming in part from that shared joke.