Hi Coppelia,
I'm wondering if CoppeliaSim has a similar function like QTextEdit in PyQt, which can display large trunk of text in real-time? Essentially I would like to display the info from the status bar in the scene (floating window also works).
I checked `sim.displayDialog`, but it opens new message box everytime and its box size changes based on the length of text.
It would be much appreciated if you may help me on this. Thank you!
Cheers
Display text information in scene
Display text information in scene
Last edited by pwyq on 09 Jun 2021, 03:08, edited 1 time in total.
Re: Display information in scene
I found simTextEditor functions and an example snippet of XML. Is there any way I can append info to the text editor?
--
I found <text-browser> for simUI.create(). I believe I can update the text by simUI.setText, how should I found the widget ID thou?
--
I found <text-browser> for simUI.create(). I believe I can update the text by simUI.setText, how should I found the widget ID thou?
Last edited by pwyq on 09 Jun 2021, 02:59, edited 2 times in total.
Re: Display information in scene
Re: Display text information in scene
Hi fferri, Thank you for the great custom UI extension!