PDA

View Full Version : Reg - QFrame



suresh
31st October 2006, 20:57
I inserted the text into QFrame via drawText().
I don't know how to retrieve the inserted text.
Anybody know help me.


suresh.

Claymore
1st November 2006, 05:34
I'm not sure if you can retrieve text that's been drawn since Qt is most likely using simple painting algorithms to do only a drawing of the information (the text isn't stored in QFrame or anywhere else).

If you want to store the text so you can retrieve it, why don't you use the QTextEdit widget to display the text? You'll then have easy access to any text that is displayed via the numerous member functions of the class.