Qt LineEdit Focus (solved)

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

Qt LineEdit Focus (solved)

Post by Virion »

Image

Once I used insert() on lineEdit it left a focus line at the end. Anyone know how to remove the line?
Last edited by Virion on Thu Jun 03, 2010 4:12 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 this is a piece of an 'selecting bar' left behind, because insert() Deletes any selected text and inserts new Text.
Did you try append() or setText()?

BTW http://www.qtcentre.org/forum.php
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

i use setText() instead of clearing the lineEdit and insert text and it works properly now. thanks
Post Reply