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. Handling Dock Widget in Layout
Forum Updated to NodeBB v4.3 + New Features

Handling Dock Widget in Layout

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 3 Posters 1.3k 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.
  • S Offline
    S Offline
    sush123
    wrote on 11 Apr 2019, 03:42 last edited by
    #1

    Hi,

    Can anyone help me with handling of multiple dock widget in one main window where in mainwindow i have Layout with different size and loading this dock widget Dynamically.
    Right now it is fixed I need to have dock property for that widget to move here and there based on user requirement.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Apr 2019, 21:19 last edited by
      #2

      Hi,

      Do you mean change the side of a QDockWidget programatically ?

      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
      0
      • S Offline
        S Offline
        sush123
        wrote on 15 Apr 2019, 06:47 last edited by
        #3

        i mean i have fixed layout in one Ui file and i am loading this dock widget dynamically into the layout, and based on user convenience they can shift that dockwidget and place somewer else.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 15 Apr 2019, 21:30 last edited by
          #4

          Are you using QML or Widgets ?

          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
          0
          • S Offline
            S Offline
            sush123
            wrote on 17 Apr 2019, 03:41 last edited by
            #5

            Widgets only not QML

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 17 Apr 2019, 21:40 last edited by
              #6

              QMainWindow already handles undocking and re-docking of QDockWidget, so I'm not sure what you are after.

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

              S 1 Reply Last reply 19 Apr 2019, 03:50
              0
              • G Offline
                G Offline
                gnc50
                Banned
                wrote on 18 Apr 2019, 17:16 last edited by gnc50
                #7
                This post is deleted!
                1 Reply Last reply
                -1
                • S SGaist
                  17 Apr 2019, 21:40

                  QMainWindow already handles undocking and re-docking of QDockWidget, so I'm not sure what you are after.

                  S Offline
                  S Offline
                  sush123
                  wrote on 19 Apr 2019, 03:50 last edited by
                  #8

                  @SGaist

                  yes i did same approach its working fine

                  1 Reply Last reply
                  0

                  1/8

                  11 Apr 2019, 03:42

                  • 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