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
Qt Code:
  1. QTextCursor cursor(editor->textCursor());
  2. cursor.movePosition(QTextCursor::Start);
To copy to clipboard, switch view to plain text mode 
but its not working ... i try setCursorPosition(1,1) but it says its not a member function ...
then i tried
Qt Code:
  1. resultTextEdit->cursorForPosition(startPos);
To copy to clipboard, switch view to plain text mode 
but i dont know how to set it ... please help ...
please help