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
QtWS25 Last Chance

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
  • 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 3 Jun 2020, 05:08 last edited by sayan275 6 Mar 2020, 05:09
    #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
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 3 Jun 2020, 06:09 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 3 Jun 2020, 08:49
      0
      • V Offline
        V Offline
        VRonin
        wrote on 3 Jun 2020, 08:20 last edited by VRonin 6 Mar 2020, 08:24
        #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
        • M mrjj
          3 Jun 2020, 06:09

          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 3 Jun 2020, 08:49 last edited by
          #4

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

          M 1 Reply Last reply 3 Jun 2020, 09:13
          0
          • S sayan275
            3 Jun 2020, 08:49

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

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 3 Jun 2020, 09:13 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?

            V 1 Reply Last reply 3 Jun 2020, 22:18
            0
            • M mrjj
              3 Jun 2020, 09:13

              @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?

              V Offline
              V Offline
              VRonin
              wrote on 3 Jun 2020, 22:18 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

              M 1 Reply Last reply 4 Jun 2020, 06:06
              1
              • V VRonin
                3 Jun 2020, 22:18

                @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.

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 4 Jun 2020, 06:06 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 ?

                V 1 Reply Last reply 4 Jun 2020, 08:55
                0
                • M mrjj
                  4 Jun 2020, 06:06

                  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 ?

                  V Offline
                  V Offline
                  VRonin
                  wrote on 4 Jun 2020, 08:55 last edited by VRonin 6 Apr 2020, 09:47
                  #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

                  M 1 Reply Last reply 4 Jun 2020, 09:18
                  0
                  • V VRonin
                    4 Jun 2020, 08:55

                    @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

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 4 Jun 2020, 09:18 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

                    3/9

                    3 Jun 2020, 08:20

                    topic:navigator.unread, 6
                    • Login

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