[Qt-interest] how to append text in label

chandrasekar wagmare sekarwagmare at gmail.com
Thu Mar 12 10:30:55 CET 2009


hi friends,
is it possible to append some text in *QLable()*
we are using *label->setText("someText");*
the *label->text()* is already having the text "*role*"

now if user click one button say "valid" button .. i have to append the text
"validated" to "role" so
the *label->text()* will have text "*role validated*"
i try *label->append()* but says
*error: ‘class QLabel’ has no member named ‘append’*

how can i append a text in .cpp file .. please help ...
-- 
CHANDRU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090312/9a6511a7/attachment.html 


More information about the Qt-interest-old mailing list