Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Differences between Qwidget , QMainwin and Qdialogue

    General and Desktop
    3
    4
    18971
    Loading More Posts
    • 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.
    • A
      ahdbk last edited by

      hello ,

      i want to know what is the differences between Qwidget , QMainwin and Qdialogue

      Thanks

      Best Regards
      Ahd bk

      Visit www.jci.cc to learn how young people around the world are working to create positive change!

      1 Reply Last reply Reply Quote 0
      • P
        prady_80 last edited by

        Why don't you read the docs to understand them? The documentation is very extensive.

        "Qwidget":http://qt-project.org/doc/qt-4.8/qwidget.html
        "QDialog":http://qt-project.org/doc/qt-4.8/qdialog.html
        "QMainWindow":http://qt-project.org/doc/qt-4.8/qmainwindow.html

        1 Reply Last reply Reply Quote 0
        • sierdzio
          sierdzio Moderators last edited by

          As prady_80 suggested. Qt docs are really good.

          In short:

          • QWidget is a base class for all other GUI elements in QtWidgets module. It can constitute a window by itself, or be part of a QLayout, or just a member of parent-child hierarchy
          • QDialog is usually used to - surprise! - display a temporary dialog when user input is required
          • QMainWindow is a convenience class that can be used as the main window of your application. It has some nice features built-in: a status bar, tool bars and a menu bar.

          (Z(:^

          1 Reply Last reply Reply Quote 2
          • A
            ahdbk last edited by

            thanks sierdzio :-)

            Best Regards
            Ahd bk

            Visit www.jci.cc to learn how young people around the world are working to create positive change!

            1 Reply Last reply Reply Quote 0
            • First post
              Last post