I want to get the text of current cursor position.
I want to get the text of current cursor position.
I don't think you can.
http://example
when I move the cursor to the URL above, How can I know this is a URL .
if QTextView cannot support this function, can other class support, or I have to inherit one?
Last edited by pencilren; 30th May 2007 at 08:59. Reason: reformatted to look better
QTextEdit should.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
I think you have to use QTextBrowser for that.
He's using Qt2.QTextEdit should.
Oops, soory.He's using Qt2.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
but I use qt2 not 4, and in qt2 I cannot find QTextEdit
Last edited by pencilren; 30th May 2007 at 09:26. Reason: reformatted to look better
Bookmarks