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. Problem with dockWidget
Forum Updated to NodeBB v4.3 + New Features

Problem with dockWidget

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 768 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I use dockWidget inside a stacked widget, when I press a button the dockWidget comes out of the window, Then I would like that when I press a pushbutton it to come back to its original position..Can You help me?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Why do u want dock widget inside stakwidget ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

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

        Hi
        Did you try
        http://doc.qt.io/qt-5/qdockwidget.html#floating-prop
        and set to false ?

        ? 1 Reply Last reply
        1
        • mrjjM mrjj

          Hi
          Did you try
          http://doc.qt.io/qt-5/qdockwidget.html#floating-prop
          and set to false ?

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          @mrjj It doesn't work..

          mrjjM 1 Reply Last reply
          0
          • ? A Former User

            @mrjj It doesn't work..

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

            @vale88
            what happens?

            ? 1 Reply Last reply
            0
            • mrjjM mrjj

              @vale88
              what happens?

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #6

              @mrjj it happends nothing

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

                Hi,

                Then please show your code. Without more details it's only going to be guesswork.

                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
                0

                • Login

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