Well , I used my company's email id to get the docs.
and Unfortunatelythe company does not let any attachments out.
I think mostly all the guys here have that doc.
Anyway pm me your email id's and If i can I will copy paste it and send
Well , I used my company's email id to get the docs.
and Unfortunatelythe company does not let any attachments out.
I think mostly all the guys here have that doc.
Anyway pm me your email id's and If i can I will copy paste it and send
We can't solve problems by using the same kind of thinking we used when we created them
Build a less (unix http://linux.about.com/library/cmd/blcmdl1_less.htm ) similar function .... and limit him to 20-30 line....
and as slot a vertical slider...... tickintervall 30-20
and get line from file ..... chanche this code to get line start and end...
is very fast....
Qt Code:
{ QString result; int currentLineNr = 0; // or 1 while( ! in.atEnd() ) { if( currentLineNr == linenr ) { /* only rewrite here .. lineNr */ result = line; break; } currentLineNr += 1; /*qDebug() << "### linerr " << currentLineNr; */ } } return result; }To copy to clipboard, switch view to plain text mode
This would be a crude and nasty hack which would break all of QTextEdit functionality like redo/undo, searching for text, etc. The proper way is to use QTextDocument. Trust me on thatIf in doubt, read the docs.
sreedhar (20th June 2006)
Comment. I meet same question.
Bookmarks