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
Forum Updated to NodeBB v4.3 + New Features

How to draw graphics like AutoCAD implement coordinate system and zoom

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 912 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    Tarik EL JABIRI
    wrote on 31 Aug 2019, 12:34 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.

    A 1 Reply Last reply 31 Aug 2019, 13:22
    0
    • T Tarik EL JABIRI
      31 Aug 2019, 12:34

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

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 31 Aug 2019, 13:22 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
      • T Offline
        T Offline
        Tarik EL JABIRI
        wrote on 31 Aug 2019, 13:36 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
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 1 Sept 2019, 14:12 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.

          T 1 Reply Last reply 2 Sept 2019, 10:03
          1
          • O Offline
            O Offline
            ofmrew
            wrote on 1 Sept 2019, 19:30 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.

            T M 2 Replies Last reply 2 Sept 2019, 09:48
            1
            • O ofmrew
              1 Sept 2019, 19:30

              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.

              T Offline
              T Offline
              Tarik EL JABIRI
              wrote on 2 Sept 2019, 09:48 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
              • M mrjj
                1 Sept 2019, 14:12

                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.

                T Offline
                T Offline
                Tarik EL JABIRI
                wrote on 2 Sept 2019, 10:03 last edited by
                #7

                hi @mrjj,

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

                1 Reply Last reply
                0
                • O ofmrew
                  1 Sept 2019, 19:30

                  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.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 2 Sept 2019, 10:26 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

                  1/8

                  31 Aug 2019, 12:34

                  • Login

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