I just checked his code view equivalent python code and I can see nothing specific to IME use in any way. He does strongly set the entire colour pallet for the editor unlike us, as we follow Windows colours. Perhaps there is a Qt pallet colour set aside for this.
Update:
There really only is QPalette::Text, QPalette::BrightText and QPalette::WindowText. But there are InActive, and Disabled roles for them.
I wonder which role is being used to indicate an incomplete composing string exists?
Last edited by KevinH; 10-28-2024 at 01:32 PM.
|