Jump to content

TextEdit widget event


Oshel

Recommended Posts

Hello,

I would like to create a TextEdit widget which will open a keyboard when it is pressed (or more precisely- focused). Is it possible to attach such an event? Because today I was fighting with it but I could not handle.

My 2nd question is if there is a way to check if the object is already created? For example when I push the button, the keyboard should pop up. I don't want to "recreate" it when I press the button again (of course I can deactivate the button, but it is not the solution in my project).

And my last question: I create a virtual keyboard with number, backspace and enter button. I would like to react on the enter button with a destruction of the keyboard. Other keys in the keyboard (like numbers) are generating keyboard-like events. But enter button is generating button-like event when no TextEdit widget is focused. What widget is generating this event? Because I have no bloody idea.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...