Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Mainwindow layout problem / docking problem with QDockWidget?

    General and Desktop
    2
    2
    1077
    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

      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 Reply Quote 0
      • S
        Sam last edited by

        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 Reply Quote 0
        • First post
          Last post