Developing Mathematical Formula Editor with Qt
-
Hello, everyone
I recently want to use Qt to make a mathematical formula editor software, similar to the insertion formula function in Microsoft Word, I want to achieve the same effect as AxMath formula editor, you can visit this address to see: https://www.axsoft.co/Recently, I have been reading Qt documents and related materials for a long time. Finally, I confirm that a series of Qt classes, such as Qt's QTextEdit, QTextDocument, QTextLayout, QTextFrame, QTextFormat, QAbstractText Document Layout and so on, can achieve the functions I want, especially rewriting QAbstractText Document Layout and QTextLayout classes, but there are few or no documents and examples in this area. I don't know the main ones. Which functions of these two classes are overridden
I want to be a WYSIWYG Formula Editor. Can anyone tell me how to do it? Is my idea right? Or is there a better way?
I am not good at English, I hope you can understand what I said.
Thank you
From China -
Hi @Li7Z2z,
a short search gave this old forum link: https://forum.qt.io/topic/38827/formula-editor
The download mentioned there still works - maybe it gives you some hints.
I've also found: https://github.com/uwerat/qwt-mml-dev
But you will have to check yourself, how much that helps you.
Regards