[solved] Qt input problem

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

[solved] Qt input problem

Post by Virion »

i don't know why I couldn't get input to work on lineedit, textedit and all that. I can select the box, and have focus in it, but when I type something in it nothing happen. However [tab] does switch the focus to the next lineedit box and so on but just the inserting character part doesn't work I really have no clue at all.

I tried creating a new project and it works flewlessly thus this should be my problem but I don't know which part I did the mistake on (as the program gets larger). :oops: Anyone encountered this problem before?
Last edited by Virion on Thu Mar 11, 2010 5:05 am, edited 1 time in total.
Escen
Competition winner
Posts: 167
Joined: Sun Jul 19, 2009 11:27 am
Location: the Netherlands
Contact:

Post by Escen »

Maybe it's related to your own legendary 'this->grabKeyboard()' in the Irrlicht-widget class.
Probable you have to switch over the keyboard when lineEdit got focus.

Cheers
Escen
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

Escen wrote:Maybe it's related to your own legendary 'this->grabKeyboard()' in the Irrlicht-widget class.
Probable you have to switch over the keyboard when lineEdit got focus.

Cheers
Escen
thanks for pointing that out. problem solved. :D
Post Reply