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. non-floating movable widget layout
Forum Updated to NodeBB v4.3 + New Features

non-floating movable widget layout

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 317 Views 3 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.
  • U Offline
    U Offline
    user4592357
    wrote on last edited by
    #1

    i have similar layout: Untitled.png
    i need to be able to move list view, widget 1 and widget 2 around. i found this: https://wiki.qt.io/Widget-moveable-and-resizeable
    but there the widgets are floating. i need to fix the position of the widget after it is moved to its new place. more like dock widgets (which give hint where to place and then are fixed in new place).
    how can i do that?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Do you use a layout ?
      Also Widget 1 and 2 is inside a splitter etc. how will you handle that ?
      Its ok to move it out of the splitter etc ?

      Also where would you move ListView ? To other side of green box or in what way move around ?

      QDDockWidgets cannot move around freely they can be docked to predefined areas.

      I am not aware of any way to have 100% free moment and then be fixed since it will not work well with layouts unless
      its like Docks were you move between predefined areas.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Beside @mrjj points, you might want to check KDAB's KDDockWidgets.

        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
        1

        • Login

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