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. How to draw graphics like AutoCAD implement coordinate system and zoom

How to draw graphics like AutoCAD implement coordinate system and zoom

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 877 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.
  • Tarik EL JABIRIT Offline
    Tarik EL JABIRIT Offline
    Tarik EL JABIRI
    wrote on last edited by
    #1

    hi,
    I want to know if there is a possibilty to create app like autocad to draw graphics, vector graphics with QT.
    thanks.

    aha_1980A 1 Reply Last reply
    0
    • Tarik EL JABIRIT Tarik EL JABIRI

      hi,
      I want to know if there is a possibilty to create app like autocad to draw graphics, vector graphics with QT.
      thanks.

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

      hi @tarik-el-jabiri,

      sure, e.g. QCAD is written in Qt.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • Tarik EL JABIRIT Offline
        Tarik EL JABIRIT Offline
        Tarik EL JABIRI
        wrote on last edited by
        #3

        hi @aha_1980,
        firstfull thank you for your response. so I will ask for resources or tutorials for this purpose.
        thanks.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          This could be a good starting point
          https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
          Its available directly in Creator under examples.

          Tarik EL JABIRIT 1 Reply Last reply
          1
          • O Offline
            O Offline
            ofmrew
            wrote on last edited by
            #5

            Tarik

            You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.

            Tarik EL JABIRIT mrjjM 2 Replies Last reply
            1
            • O ofmrew

              Tarik

              You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.

              Tarik EL JABIRIT Offline
              Tarik EL JABIRIT Offline
              Tarik EL JABIRI
              wrote on last edited by
              #6

              hi @ofmrew,
              Thank you for your response. that's what i see, i hope they improve Qt like for this purpose. e.g. creating a widget QCadView
              it will help a lot.
              thank you.

              1 Reply Last reply
              0
              • mrjjM mrjj

                Hi
                This could be a good starting point
                https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html
                Its available directly in Creator under examples.

                Tarik EL JABIRIT Offline
                Tarik EL JABIRIT Offline
                Tarik EL JABIRI
                wrote on last edited by
                #7

                hi @mrjj,

                Thank you for your response. this may help.
                thank you.

                1 Reply Last reply
                0
                • O ofmrew

                  Tarik

                  You can do it, I have, but Qt lacks all of the necessary tools. For example every CAD system I have used has a requirement to find the closest point on another graphical--vector projection--which I did not find in Qt. Do not get me wrong, Qt supplies most of the tools for creating and displaying graphics, but not for interactively creating graphics; you will need to add many. I am currently writing a book that fills in most of the omissions.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @ofmrew
                  please be sure to post book name in
                  https://forum.qt.io/category/6/announcements
                  :)
                  (when its ready)

                  1 Reply Last reply
                  1

                  • Login

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