[Qt-interest] Reading values from a QTextEdit

Sujan Dasmahapatra sujan.dasmahapatra at gmail.com
Mon Oct 12 09:16:31 CEST 2009


Dear Friends
I want to read some values from a QTextEdit is there a way to read values
can I treat QTextEdit just like a file ?
My QTextEdit is a member of my dialog box. Now I want the user to enter
values in the QTextEdit manually and then read these values.
My set of values are like these.

The first value = noOfPoints
The 2nd value is the first point value and the 3rd value is the 2nd point.
These values will be changed  when user writes the first value as 10 then he
has to enter 10 point values followed by.

If I have A Text Edit  in my dialog box then how can I read values from the
Text Edit once user presses  'ok' button in the dialog box !!!!

2  0.222  0.21212


-- 
Thanks & Regards
S. Dasmahapatra
B.E. (Aeronautics-Aerodynamics)
Bangalore, India
Ph:91-9900839788
Office:91-80-66470248
mail id : sujan.dasmahapatra at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091012/a3565c24/attachment.html 


More information about the Qt-interest-old mailing list