[Interest] QTextLayout::setPreeditArea()

Joshua Grauman jnfo-d at grauman.com
Mon Jan 3 23:31:20 CET 2022


Hi all,

I am working on using QTextLayout and I was wondering if someone could 
give me a quick explanation for what preedit text / preedit area was in 
this context? There's not much detail in the docs, reading the Qt code and 
googling hasn't helped me much.

When/why would you use setPreeditArea(int pos, QString text) vs 
setText(QString). What's a preedit area?

Thanks in advance,

Josh


More information about the Interest mailing list