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. QDockWidgets within a QDockWidget
Forum Updated to NodeBB v4.3 + New Features

QDockWidgets within a QDockWidget

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.5k Views 1 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.
  • W Offline
    W Offline
    winkle99
    wrote on last edited by
    #1

    I have a pretty good idea what the answer to this question is going to be but I thought I'd ask anyway. :-)

    In the application I'm designing, I would like to put two QDockwidget inside of a third QDockWidget. I'm wondering if this is remotely possible.

    The desire is to have MasterDock which contains DockA ( list of items) and DockB ( which would contain an editor for a selected item from DockA). The users would like to move the DockB around while restricting it's position; forcing it to remain Tied to Dock A. At the same time they'd like the option of hiding DockB when it isn't needed.

    The current model is to have the editor shown, next to the item list, but it's felt that this method is too restrictive, in terms of application UI real estate.

    Any thoughts on if this can be done?

    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Could you maybe create a mockup that shows your requirements a bit clearer? I use Balsamiq Mockup to sketch them.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        winkle99
        wrote on last edited by
        #3

        Feeling a little dense. I don't have anywhere to post the mock up I made and can't see how to attach the file to this post. What am I missing?

        thanks

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          Qt forums do not offer upload facilities for images. You will need to use a third party service to host your images. There are plenty. Personally, I use the public folder of my DropBox for image hosting for devnet.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            winkle99
            wrote on last edited by
            #5

            Okay, I got this uploaded hopefully the link works as advertised. It's just a quick and dirty mock up. On the left is a 'master dock widget'. I'd like for the two sections within to be docks that can be re-arranged but only within the master dock widget.

            "nested QDockWidget mockup":https://docs.google.com/leaf?id=0B_adfg_bb8-fMDcwOTM2MmMtYTAwYS00YTM4LWJlNTQtMGM1Mjc1OTJiNGFl&hl=en_US

            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