[Interest] QTextLayout::setPreeditArea()

John Weeks john at wavemetrics.com
Tue Jan 4 01:33:40 CET 2022


Maybe something related to an input method? Input methods are used for things like composing Japanese characters.

-John Weeks

> On Jan 3, 2022, at 2:31 PM, Joshua Grauman <jnfo-d at grauman.com> wrote:
> 
> 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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list