Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Developing Mathematical Formula Editor with Qt
Forum Updated to NodeBB v4.3 + New Features

Developing Mathematical Formula Editor with Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Li7Z2z
    wrote on last edited by
    #1

    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

    aha_1980A 1 Reply Last reply
    0
    • L Li7Z2z

      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

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Qt has to stay free or it will die.

      L 1 Reply Last reply
      2
      • L Offline
        L Offline
        Li7Z2z
        wrote on last edited by
        #3

        0_1548506712567_AxMath.png

        This is an example diagram of the AxMath formula editor

        JonBJ 1 Reply Last reply
        1
        • aha_1980A aha_1980

          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

          L Offline
          L Offline
          Li7Z2z
          wrote on last edited by
          #4

          @aha_1980

          ok,Let me see if this will help me.

          Thank you very much

          1 Reply Last reply
          0
          • L Li7Z2z

            0_1548506712567_AxMath.png

            This is an example diagram of the AxMath formula editor

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by JonB
            #5

            @Li7Z2z
            Impressive! Purely OOI: your 4th tab along has "a person's head" among its icons. What sort of formulas does that relate to? :)

            L 1 Reply Last reply
            0
            • JonBJ JonB

              @Li7Z2z
              Impressive! Purely OOI: your 4th tab along has "a person's head" among its icons. What sort of formulas does that relate to? :)

              L Offline
              L Offline
              Li7Z2z
              wrote on last edited by
              #6

              @JonB
              0_1548581153771_person.png
              I just looked at it. It's a user-defined symbol.

              1 Reply Last reply
              2

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved