Answer the question
In order to leave comments, you need to log in
How to get the text selected by the user from QTextEdit?
I have PyQt4
In QTextEdit the text is displayed and the user will select the desired characters (words). I need to get these characters. You do not need to get all the content, only the one selected by the User.
Read in QTextEdit you can copy the selected text to the clipboard. But how do I get the text from the buffer?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question