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. Doubts about using docks witcth QDockWidget
QtWS25 Last Chance

Doubts about using docks witcth QDockWidget

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.6k Views
  • 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    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
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      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
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #4

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

          ...sorry for bad english....

          1 Reply Last reply
          0
          • G Offline
            G Offline
            giesbert
            wrote on last edited by
            #5

            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
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved