[Qt-interest] problem in setting cursor position in readOnly QTextEdit()
chandrasekar wagmare
sekarwagmare at gmail.com
Sat Mar 21 12:14:39 CET 2009
hi friends ,
how can i set the cursor position of a readonly QTextEdit() after
it get input to the top position ...
like this if the user click a button i am displaying a big paragraph but
it showing only the tail position but i want to show the front text first
... i try
QTextCursor cursor(editor->textCursor());
cursor.movePosition(QTextCursor::Start);
but its not working ... i try setCursorPosition(1,1) but it says its not
a member function ...
please help
--
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090321/ea209c3b/attachment.html
More information about the Qt-interest-old
mailing list