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. Is there somewhere a visual inheritance tree of the Qt classes?
QtWS25 Last Chance

Is there somewhere a visual inheritance tree of the Qt classes?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 4 Posters 1.3k 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.
  • D Offline
    D Offline
    DevinQT
    wrote on 19 Jul 2019, 20:55 last edited by
    #1

    Would be nice for study. 🙂

    0_1563569708497_Screenshot 2019-07-19 at 22.55.03.png

    Something like this but than all inclusive, and maybe interactive or something?

    Also, as a little side question: Can one actually study how the classes are made? Are they public, or do we only have headers?

    J 1 Reply Last reply 19 Jul 2019, 22:22
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 19 Jul 2019, 20:57 last edited by
      #2

      Hi,

      The Qt sources are available at https://code.qt.io

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • D DevinQT
        19 Jul 2019, 20:55

        Would be nice for study. 🙂

        0_1563569708497_Screenshot 2019-07-19 at 22.55.03.png

        Something like this but than all inclusive, and maybe interactive or something?

        Also, as a little side question: Can one actually study how the classes are made? Are they public, or do we only have headers?

        J Offline
        J Offline
        JKSH
        Moderators
        wrote on 19 Jul 2019, 22:22 last edited by
        #3

        @DevinQT said in Is there somewhere a visual inheritance tree of the Qt classes?:

        Something like this but than all inclusive, and maybe interactive or something?

        That would be a very, very large tree... :-D

        I haven't seen one, sorry.

        Also, as a little side question: Can one actually study how the classes are made? Are they public, or do we only have headers?

        @SGaist's link is the official repo. Here is an interactive repo: https://code.woboq.org/qt5/qtbase/src/corelib/kernel/qobject.h.html

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        D 1 Reply Last reply 22 Jul 2019, 01:53
        3
        • J JKSH
          19 Jul 2019, 22:22

          @DevinQT said in Is there somewhere a visual inheritance tree of the Qt classes?:

          Something like this but than all inclusive, and maybe interactive or something?

          That would be a very, very large tree... :-D

          I haven't seen one, sorry.

          Also, as a little side question: Can one actually study how the classes are made? Are they public, or do we only have headers?

          @SGaist's link is the official repo. Here is an interactive repo: https://code.woboq.org/qt5/qtbase/src/corelib/kernel/qobject.h.html

          D Offline
          D Offline
          DevinQT
          wrote on 22 Jul 2019, 01:53 last edited by
          #4

          @JKSH

          I want to make one!
          However, when I just checked, for example; the QLayout inherits QObject, but I don't see it in the list "Inherited By:" in the QObject Class documentation.

          Are these list in the docs just not complete or is there are reason why this is with QLayout?

          Where can I find the complete list?

          J 1 Reply Last reply 22 Jul 2019, 02:24
          0
          • D DevinQT
            22 Jul 2019, 01:53

            @JKSH

            I want to make one!
            However, when I just checked, for example; the QLayout inherits QObject, but I don't see it in the list "Inherited By:" in the QObject Class documentation.

            Are these list in the docs just not complete or is there are reason why this is with QLayout?

            Where can I find the complete list?

            J Offline
            J Offline
            JKSH
            Moderators
            wrote on 22 Jul 2019, 02:24 last edited by
            #5

            @DevinQT said in Is there somewhere a visual inheritance tree of the Qt classes?:

            I want to make one!

            Do share your results with the community when you make it

            Where can I find the complete list?

            Older versions of Qt had documentation that spanned across modules: https://doc.qt.io/qt-5.9/qobject.html

            I'm not sure if the change in recent versions was intentional or not.

            However, when I just checked, for example; the QLayout inherits QObject, but I don't see it in the list "Inherited By:" in the QObject Class documentation.

            Are these list in the docs just not complete or is there are reason why this is with QLayout?

            It looks like in the current version of the docs, the Inherited By: field shows the classes in the same module, but doesn't show the classes in other modules.

            In your example, QObject is in the Qt Core module but QLayout is in the Qt Widgets module.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            A D 2 Replies Last reply 22 Jul 2019, 07:03
            3
            • J JKSH
              22 Jul 2019, 02:24

              @DevinQT said in Is there somewhere a visual inheritance tree of the Qt classes?:

              I want to make one!

              Do share your results with the community when you make it

              Where can I find the complete list?

              Older versions of Qt had documentation that spanned across modules: https://doc.qt.io/qt-5.9/qobject.html

              I'm not sure if the change in recent versions was intentional or not.

              However, when I just checked, for example; the QLayout inherits QObject, but I don't see it in the list "Inherited By:" in the QObject Class documentation.

              Are these list in the docs just not complete or is there are reason why this is with QLayout?

              It looks like in the current version of the docs, the Inherited By: field shows the classes in the same module, but doesn't show the classes in other modules.

              In your example, QObject is in the Qt Core module but QLayout is in the Qt Widgets module.

              A Offline
              A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 22 Jul 2019, 07:03 last edited by
              #6

              @JKSH said in Is there somewhere a visual inheritance tree of the Qt classes?:

              I'm not sure if the change in recent versions was intentional or not.

              Probably related to the recent QDoc changes that now involves clang for creating the documentation. Maybe a bug?

              Qt has to stay free or it will die.

              J 1 Reply Last reply 22 Jul 2019, 08:53
              2
              • A aha_1980
                22 Jul 2019, 07:03

                @JKSH said in Is there somewhere a visual inheritance tree of the Qt classes?:

                I'm not sure if the change in recent versions was intentional or not.

                Probably related to the recent QDoc changes that now involves clang for creating the documentation. Maybe a bug?

                J Offline
                J Offline
                JKSH
                Moderators
                wrote on 22 Jul 2019, 08:53 last edited by
                #7

                @aha_1980 said in Is there somewhere a visual inheritance tree of the Qt classes?:

                Probably related to the recent QDoc changes that now involves clang for creating the documentation. Maybe a bug?

                You're probably right. The doc team has marked this as P1: https://bugreports.qt.io/browse/QTBUG-77126

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                3
                • J JKSH
                  22 Jul 2019, 02:24

                  @DevinQT said in Is there somewhere a visual inheritance tree of the Qt classes?:

                  I want to make one!

                  Do share your results with the community when you make it

                  Where can I find the complete list?

                  Older versions of Qt had documentation that spanned across modules: https://doc.qt.io/qt-5.9/qobject.html

                  I'm not sure if the change in recent versions was intentional or not.

                  However, when I just checked, for example; the QLayout inherits QObject, but I don't see it in the list "Inherited By:" in the QObject Class documentation.

                  Are these list in the docs just not complete or is there are reason why this is with QLayout?

                  It looks like in the current version of the docs, the Inherited By: field shows the classes in the same module, but doesn't show the classes in other modules.

                  In your example, QObject is in the Qt Core module but QLayout is in the Qt Widgets module.

                  D Offline
                  D Offline
                  DevinQT
                  wrote on 30 Jul 2019, 19:34 last edited by DevinQT
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0

                  • Login

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