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. Mainwindow layout problem / docking problem with QDockWidget?

Mainwindow layout problem / docking problem with QDockWidget?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.2k 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.
  • M Offline
    M Offline
    MathSquare
    wrote on last edited by
    #1

    I want the docking to be Ex.
    @
    +-----+-----+-----+
    | | | |
    | | | |
    | | | |
    +-----+-----+-----+
    | | | |
    | | | |
    | | | |
    +-----+-----+-----+
    | | | |
    | | | |
    | | | |
    +-----+-----+-----+
    @

    not like
    @
    +-----+-----+
    | | |
    | | |
    | | |
    +-----+-----+
    | | |
    | | |
    | | |
    +-----+-----+
    @

    How Qt does it.
    I want my QDockWidgets to be able to dock on top left, left middle, bottom left, center top, center, center middle, center bottom, right top, right middle, right bottom.
    Not like Left, Top, Bottom, right how qt does it becase it doen't work with my pro. that I am working on I try and it is buggy same if i do it this way
    @
    splitDockWidget(ui->WidgetDock1, ui->WidgetDock2, Qt::Vertical);
    splitDockWidget(ui->WidgetDock3, ui->WidgetDock2, Qt::Vertical);
    @
    .

    My QDockWidget layout is
    @
    +-----+-----+
    | 1 | 2 |
    | | |
    | | |
    | | |
    +-----+ |
    | 3 | |
    | | |
    +-----+-----+
    @

    if you want to move 1, and 3 to the right sided you can't Also, if you move 2 you can't put it back by 1, and 3.
    The reason i want the dock to be 3x3 in said of 2x2 because:

    1. It is Buggy.
      Ex. you can't move 3 to the right of 2 if 1 is left of 2, and 2 need to be in the center to it can work right.
    2. It will make it easy for the user.
    3. Because I want it to be like it.

    Thank you from reading this I hope that i make it clear enough for you can understand easy.

    EDIT: I moved this thread to the general and desktop forum, Gerolf

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      I think you should post your question on "General and Desktop":http://qt-project.org/forums/viewforum/10/ forum to get a reply as this is QnA Testing Area

      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