[Qt-interest] Simple way to get one text line from QTextEdit widget
Raja Rokkam
rokkamraja at gmail.com
Mon Oct 26 14:21:33 CET 2009
You can use the QTextEdit::toPlainText method to get a QString and then
either use QRegExp for newlines or the inbuilt QString methods itself to
match a new line ?
-Raja.
On Mon, Oct 26, 2009 at 6:13 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:
> I'm looking for a simple way to get text line with certain number from
> QTextEdit widget (probably, using its QTextDocument or QString
> representations).
> Any ideas?
> --
> Regards,
> Konstantin
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091026/b2e300a4/attachment.html
More information about the Qt-interest-old
mailing list