Re: [Interest] Macro support with QTextEdit.

2016-01-11 Thread william.croc...@analog.com
On 01/10/2016 02:59 AM, Tony Rietwyk wrote: Bill asked: Sent: Sunday, 10 January 2016 1:25 AM Next question: How do I save and restore to HTML? Hi Bill, I can't help with the saving. But we display html documents with tags and replace them with QWidgets: The HTML representation

Re: [Interest] Macro support with QTextEdit.

2016-01-10 Thread Tony Rietwyk
Bill asked: > Sent: Sunday, 10 January 2016 1:25 AM > Next question: > > How do I save and restore to HTML? Hi Bill, I can't help with the saving. But we display html documents with tags and replace them with QWidgets: - We fetch all of the text using codecForHtml. - Search for

Re: [Interest] Macro support with QTextEdit.

2016-01-09 Thread william.croc...@analog.com
How do I this using a QTextEdit widget in HTML mode with QTextCursor etc. Okay. I have made some progress using the QTextObjectInterface. Next series of questions: - If a QTextCursor spans one of my inline objects and some aspect of the font is changed, how does my object get notified. - My

Re: [Interest] Macro support with QTextEdit.

2016-01-08 Thread william.croc...@analog.com
On 01/08/2016 05:40 PM, Bill Crocker wrote: Hello: I am working on a WYSIWYG editor. The user needs to be able to enter macros which render specially on the screen. For the purpose of this conversation, pretend they enter "$DATE" which displays as "8-JAN" on the screen. They are not allowed to

[Interest] Macro support with QTextEdit.

2016-01-08 Thread Bill Crocker
Hello: I am working on a WYSIWYG editor. The user needs to be able to enter macros which render specially on the screen. For the purpose of this conversation, pretend they enter "$DATE" which displays as "8-JAN" on the screen. They are not allowed to edit the "8-JAN" directly. If they act to