Qt Forum

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

    Doubts about using docks witcth QDockWidget

    General and Desktop
    2
    5
    2398
    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.
    • ?
      Guest last edited by

      I wonder if you can use QDockWidget this way:

      !http://img716.imageshack.us/i/semttulokq.jpg/()!

      Docks 1,2,3 are independent of the central widget. May increase the size of any one.

      If anyone can help I am very grateful.

      1 Reply Last reply Reply Quote 0
      • G
        giesbert last edited by

        A dock widgets size can be increased. Mainly the user can, and I'm sure, also programatically would be possible.

        What do you man by independant?

        Nokia Certified Qt Specialist.
        Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

        1 Reply Last reply Reply Quote 0
        • A
          andre last edited by

          Do you mean that they would overlay over the central widget, or something like that?

          1 Reply Last reply Reply Quote 0
          • ?
            Guest last edited by

            Exactly DOCK3 override centralwidget but DOCK2 and dock1 should stay where they are.

            ...sorry for bad english....

            1 Reply Last reply Reply Quote 0
            • G
              giesbert last edited by

              Afaik, it's not possible by default.
              A dock widget always takes space inside the main window, whcih means, it uses space, the central widget can't use. The central widget is automatically using all unoccupied space.

              So if dock 3 gets bigger, it will loock like it uis over central widget, but in fact, central widget gets smaller (perhaps gets a scroll bar). If it should really bo "Over" the central widget, it must be floating and then it's not docked anymore.

              Nokia Certified Qt Specialist.
              Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

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