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. How to create Dock widget like visual studio
Qt 6.11 is out! See what's new in the release blog

How to create Dock widget like visual studio

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 4 Posters 2.0k 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.
  • A Offline
    A Offline
    amarism
    wrote on last edited by
    #1

    I want to create one "docking bar" when I press the bar it will open the ListWidget item and again I press the bar it hides the all ListWidget content. I need a code for this if anyone completed this code please help me.

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

      Hi,

      You should provide a picture of what you want.

      On a side note, asking other people to do your work at your place is not really a good idea.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      2
      • SGaistS SGaist

        Hi,

        You should provide a picture of what you want.

        On a side note, asking other people to do your work at your place is not really a good idea.

        A Offline
        A Offline
        amarism
        wrote on last edited by
        #3

        @SGaist 0_1526885743345_TTTTTT.png I want to apply docking on the tab 1 and tab2 .iniitailly both tabs hides the content and when I will click onto the button the will show the content and again when i click the same button they will hide

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

          Ok
          So goal is to start off with
          Tab 1 and tab 2
          Then you click button and both tab 1/2 are removed and not shown.
          Then clicking the button again, both
          tab 1 and tab 2 are shown again ?

          Is this correct ?

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

            What you can do with Qt: https://woboq.com/blog/qdockwidget-changes-in-56.html
            The full functionality but from a commrcial addon: 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

            • Login

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