Yeah, I found another way: QTextDocument text;
text.setHtml(aString); textEdit->setText(text.toPlainText()); That's fine, too. 2012/6/3 Diego Iastrubni <diegoi...@gmail.com> > > On Sat, Jun 2, 2012 at 4:29 AM, 程梁 <chengliang.s...@gmail.com> wrote: > >> Hi, there! I wonder if I could display HTML entites such as &(&) in >> QLineEdit? >> I mean not the code but the characters. Is there any functions or libs I >> could do this? >> >> > Fake it using a single line QTextEdit :) > -- Cheng Liang <http://about.me/devbean> Nanjing, China http://www.devbean.info from: devb...@devbean.info
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest