kumari arpita
10th August 2012, 08:17
Hi,
I have tried to scroll my textbrowser .But i am not able to do .
QString currmsg = "The Koran. \nfdfjk .\nncdfjklgjf.\njdfkhjdfk";
QTextCursor *temp = new QTextCursor(ui->textBrowser->textCursor());
temp->insertText(currmsg);
temp->insertBlock();
delete temp;
ui->textBrowser->setStyleSheet("color:black");
Thanx
I have tried to scroll my textbrowser .But i am not able to do .
QString currmsg = "The Koran. \nfdfjk .\nncdfjklgjf.\njdfkhjdfk";
QTextCursor *temp = new QTextCursor(ui->textBrowser->textCursor());
temp->insertText(currmsg);
temp->insertBlock();
delete temp;
ui->textBrowser->setStyleSheet("color:black");
Thanx