slc
1st September 2010, 23:52
I dynamically added QTextEdit items in a particular layout (QGrigLayout).
Later I want to to extract the values of each QTextEdit item and merge them into a single QString.
Any thoughts?
The following does not work:
QString msg;
QLayoutItem *item;
foreach (item, ui->toPlainText)
{
msg+= item->text();
}
Later I want to to extract the values of each QTextEdit item and merge them into a single QString.
Any thoughts?
The following does not work:
QString msg;
QLayoutItem *item;
foreach (item, ui->toPlainText)
{
msg+= item->text();
}