Qt Forum

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

    How to dock the QDockwidget in the center of the from in code and also let the user do it with the gui?

    General and Desktop
    3
    4
    2189
    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.
    • M
      MathSquare last edited by

      how to dock the QDockwidget in the center of the from in code and also let the user do it with the gui?

      I did have trouble wording this question.

      Thank you from taking you time to read this.

      1 Reply Last reply Reply Quote 0
      • T
        tzander last edited by

        Did you check the API docs for QMainWindow?
        The adding of the dock can be done there.

        1 Reply Last reply Reply Quote 0
        • M
          MathSquare last edited by

          No
          [quote author="Thomas Zander" date="1360581277"]Did you check the API docs for QMainWindow?
          The adding of the dock can be done there.[/quote]

          1 Reply Last reply Reply Quote 0
          • C
            ChrisW67 last edited by

            QDockWidgets exist in a band around the outside of the QMainWindow's central widget. The central widget cannot be a QDockWidget using any documented mechanism I am aware of.

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