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. QDockWidget pin/unpin hide feature as Visual Studio IDE
Forum Updated to NodeBB v4.3 + New Features

QDockWidget pin/unpin hide feature as Visual Studio IDE

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdockwidgetqmainwindowvisualstudio
9 Posts 3 Posters 1.7k Views 2 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.
  • S Offline
    S Offline
    sayan275
    wrote on last edited by sayan275
    #1

    Hi,
    I need to implement qdockwidget pin/unpin hide/show feature similar to Visual Studio IDE.
    Like: Server Explorer, Toolbox, Solution Explorer , Properties.

    b5e8c529-58f0-4f80-9c55-8f276be055ce-image.png

    As far I searched there is no qdockwidget API supporting this type of implementation and also in qmainwindow.

    Any suggestion would be appreciated.

    Regards,
    Sayan

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

      Hi
      The hide and show could be made by adjusting the height of the dock i think. If its a sort of a collapse function.

      I dont know what pin does in VS.

      S 1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        The closest thing to it that is free:
        https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System

        The actual thing you want but it's a 3rd party paid module:
        https://www.devmachines.com/qtitandocking-overview.html

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        2
        • mrjjM mrjj

          Hi
          The hide and show could be made by adjusting the height of the dock i think. If its a sort of a collapse function.

          I dont know what pin does in VS.

          S Offline
          S Offline
          sayan275
          wrote on last edited by
          #4

          @mrjj As in the image attached, the Server Explore, Properties etc, I want the similar thing with qdockwidget

          mrjjM 1 Reply Last reply
          0
          • S sayan275

            @mrjj As in the image attached, the Server Explore, Properties etc, I want the similar thing with qdockwidget

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @sayan275
            Yes but i dont use VS Ide so i dont know what happens with those when pinned. :)
            They cannot be moved like in Chrome ? they are reloaded always ?
            Or what happens to a pinned Dock?

            VRoninV 1 Reply Last reply
            0
            • mrjjM mrjj

              @sayan275
              Yes but i dont use VS Ide so i dont know what happens with those when pinned. :)
              They cannot be moved like in Chrome ? they are reloaded always ?
              Or what happens to a pinned Dock?

              VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              @mrjj said in QDockWidget pin/unpin hide feature as Visual Studio IDE:

              i dont use VS Ide

              You are missing out :)

              They are docks that appear when you hover over the label. if you pin them they become normal docks.

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              mrjjM 1 Reply Last reply
              1
              • VRoninV VRonin

                @mrjj said in QDockWidget pin/unpin hide feature as Visual Studio IDE:

                i dont use VS Ide

                You are missing out :)

                They are docks that appear when you hover over the label. if you pin them they become normal docks.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                i dont use VS Ide

                You are missing out :)

                Well i know it has best in class code completion+debugging
                but at the same time the integration to
                UI files are lousy at bet. ( still i assume ?)
                So i would actually miss Creator very fast.

                They are docks that appear when you hover over the label. if you pin them they become normal docks.

                Aha so it sort of a collapsible Docks ?

                and Qt-Advanced-Docking-System can do that out of the box ?

                VRoninV 1 Reply Last reply
                0
                • mrjjM mrjj

                  i dont use VS Ide

                  You are missing out :)

                  Well i know it has best in class code completion+debugging
                  but at the same time the integration to
                  UI files are lousy at bet. ( still i assume ?)
                  So i would actually miss Creator very fast.

                  They are docks that appear when you hover over the label. if you pin them they become normal docks.

                  Aha so it sort of a collapsible Docks ?

                  and Qt-Advanced-Docking-System can do that out of the box ?

                  VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by VRonin
                  #8

                  @mrjj said in QDockWidget pin/unpin hide feature as Visual Studio IDE:

                  Qt-Advanced-Docking-System can do that out of the box ?

                  No, and QTitanDocs alludes to it but couldn't find screenshots to confirm it

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  mrjjM 1 Reply Last reply
                  0
                  • VRoninV VRonin

                    @mrjj said in QDockWidget pin/unpin hide feature as Visual Studio IDE:

                    Qt-Advanced-Docking-System can do that out of the box ?

                    No, and QTitanDocs alludes to it but couldn't find screenshots to confirm it

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    Hi
                    Yes they say "QtitanDocking replicates Microsoft Visual Studio UI for Qt" but cant find the actual pinning either.
                    But at €624.01, i would sure ask first :)

                    Im have not used Qt-Advanced-Docking-System before so i have no idea if pin Docks are possible without huge rewrites.

                    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