Qt-interest Archive, March 2002
QLineEdit::setText() selects the text?
Message 1 in thread
Hi,
when my app calls pLineEdit->setText("blah") the new text "blah" is
selected. WHY? How I can prevent that. I use Qt 3.0.1 for Windows
(commercial). I think in Qt 2.x it was not like that.
Thanks for helping me!
Philipp
Message 2 in thread
I am not able to reproduce this. I am using 3.0.2 enterprice ed.
on Win2000. I get the cursor after the last character, nothing
is selected.
Erlend
> -----Original Message-----
> From: owner-qt-interest@trolltech.com
> [mailto:owner-qt-interest@trolltech.com]On Behalf Of Philipp Siemoleit
> Sent: Wednesday, March 06, 2002 14:11
> To: qt-interest@trolltech.com
> Subject: QLineEdit::setText() selects the text?
>
>
> Hi,
>
> when my app calls pLineEdit->setText("blah") the new text "blah" is
> selected. WHY? How I can prevent that. I use Qt 3.0.1 for Windows
> (commercial). I think in Qt 2.x it was not like that.
>
> Thanks for helping me!
>
> Philipp
>