Qt LineEdit Focus (solved)
Qt LineEdit Focus (solved)
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.
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Competition winner
- Posts: 167
- Joined: Sun Jul 19, 2009 11:27 am
- Location: the Netherlands
- Contact:
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
Did you try append() or setText()?
BTW http://www.qtcentre.org/forum.php
i use setText() instead of clearing the lineEdit and insert text and it works properly now. thanks
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info