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. Where is a complete description of QDialog?
Forum Updated to NodeBB v4.3 + New Features

Where is a complete description of QDialog?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 361 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.
  • B Offline
    B Offline
    Bryan Kelly
    wrote on last edited by
    #1

    I managed, with significant help, to write a simple app that creates and displays a second dialog, and now want to control the size and position of that dialog. A search returned this page:

    link text
    The text of the link is:
    https://doc.qt.io/qt-6/qdialog.html

    The URL looks like it is part of the official Qt documentation. But it is quite incomplete. For example, search for the text show and the method QDialog.show() is not described. Search for the word size and it is found 31 times, but not in a method used to set the size. The word position is in the text, but no method. Same for location.

    And yes, I did a couple of searches within these forums and did not recognize an answer.

    My request is for someone to provide a link to a web page that lists the functions available for QDialog?

    Christian EhrlicherC 1 Reply Last reply
    0
    • B Bryan Kelly

      I managed, with significant help, to write a simple app that creates and displays a second dialog, and now want to control the size and position of that dialog. A search returned this page:

      link text
      The text of the link is:
      https://doc.qt.io/qt-6/qdialog.html

      The URL looks like it is part of the official Qt documentation. But it is quite incomplete. For example, search for the text show and the method QDialog.show() is not described. Search for the word size and it is found 31 times, but not in a method used to set the size. The word position is in the text, but no method. Same for location.

      And yes, I did a couple of searches within these forums and did not recognize an answer.

      My request is for someone to provide a link to a web page that lists the functions available for QDialog?

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Bryan-Kelly said in Where is a complete description of QDialog?:

      For example, search for the text show and the method QDialog.show() is not described

      Since show() is implemented in QWidget (and QDialog is derived from QWidget) you have to look there. You can find all functions of QDialog at https://doc.qt.io/qt-6/qdialog-members.html

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      B 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @Bryan-Kelly said in Where is a complete description of QDialog?:

        For example, search for the text show and the method QDialog.show() is not described

        Since show() is implemented in QWidget (and QDialog is derived from QWidget) you have to look there. You can find all functions of QDialog at https://doc.qt.io/qt-6/qdialog-members.html

        B Offline
        B Offline
        Bryan Kelly
        wrote on last edited by Bryan Kelly
        #3

        @Christian-Ehrlicher Quick reply. Looking there. Thank you for your time.

        Edit: If I may, do you know of a search phrase that will return that URL in the list of responses? Preferably one that produces it near the top of the list. And what search engine do you suggest?

        Edit: I started with that URL and changed qdialog to qlist and the expected page was presented. The concept will be helpful.

        Thank you

        Pl45m4P 1 Reply Last reply
        0
        • B Bryan Kelly has marked this topic as solved on
        • B Bryan Kelly

          @Christian-Ehrlicher Quick reply. Looking there. Thank you for your time.

          Edit: If I may, do you know of a search phrase that will return that URL in the list of responses? Preferably one that produces it near the top of the list. And what search engine do you suggest?

          Edit: I started with that URL and changed qdialog to qlist and the expected page was presented. The concept will be helpful.

          Thank you

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by Pl45m4
          #4

          @Bryan-Kelly

          This is valid for all Qt classes:

          Go to their documentation page (like you did) and click there:

          InheritedMembers.png

          Since functions like show() don't belong to QDialog directly, but are inherited from QWidget (because QDialog is one), they are not shown in the QDialog documentation (again).


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          A 1 Reply Last reply
          2
          • Pl45m4P Pl45m4

            @Bryan-Kelly

            This is valid for all Qt classes:

            Go to their documentation page (like you did) and click there:

            InheritedMembers.png

            Since functions like show() don't belong to QDialog directly, but are inherited from QWidget (because QDialog is one), they are not shown in the QDialog documentation (again).

            A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by
            #5

            I have been advised that Qt classes cannot be build using C++ "inheritance".
            With similar attitude - I have been told that there is no way to graphically show project object hierarchy.

            Inheritance IS C++ native feature , this post clearly demonstrates it is part of Qt concept.

            This post also demonstrates that it would be beneficial to have such a tool to show such relations.

            End of irrelevant , expecting to be put-down for it or ignored rant

            B 1 Reply Last reply
            0
            • A Anonymous_Banned275

              I have been advised that Qt classes cannot be build using C++ "inheritance".
              With similar attitude - I have been told that there is no way to graphically show project object hierarchy.

              Inheritance IS C++ native feature , this post clearly demonstrates it is part of Qt concept.

              This post also demonstrates that it would be beneficial to have such a tool to show such relations.

              End of irrelevant , expecting to be put-down for it or ignored rant

              B Offline
              B Offline
              Bryan Kelly
              wrote on last edited by Bryan Kelly
              #6

              @AnneRanch I agree with you completely. Your post, in my not so humble opinion, is not a rant.
              It is a valid request. Thanks for your comment.

              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