Questions tagged as 'keypressevent'


KeyPressEvent does not detect key 0

I'm trying to capture the keys I press within QLineEdit , but the keyPressEvent() method does not return any results when I press any number or letter it just seems to react with key_Return : This is the sample code: impo...
asked by 21.03.2018 / 21:24

How to automate an explorer pop-up window

At the moment I automate with selenium (page object) a web page that does not allow me to eliminate these pop-up windows for the moment I control this action in the following way: try { driver.Keyboard.PressKey(Keys.Enter); } catch { } bu...
asked by 17.12.2018 / 16:57

Broadcast to read volume buttons

I'm having a problem with my broadcast. I'm not able to do that by pressing any volume button (vol +/-) my Toast is displayed. This is the most important of my manifesto: <receiver android:name="Broadcast.b_Botones" > <...
asked by 21.09.2018 / 00:17

How to move from one QWidget to another QWidget in PyQt5

I would like to know how I can go by filling out a form designed in PyQt and pressing the enter key jump to the next QlineEdit #Clase heredada de QMainWindow (Constructor de ventanas) class VentanaFresado(QDialog): #Metodo constructor de la cl...
asked by 11.01.2018 / 23:32