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. Dialog name is shown twice

Dialog name is shown twice

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 576 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.
  • K Offline
    K Offline
    Ketan_Lalcheta
    wrote on last edited by
    #1

    Hi

    I have two dockwindow and one is set to a parent as other. I have set child dialog as Qt::Tool as I wanted to allow child window to move independently when user click and drag on title bar of dialog.

    I am getting dialog title twice as below:
    37a2540d-c6df-4dd5-9644-2e69ab39661c-image.png

    How to avoid names of dialog (unsupportedcards=) appearing twice?

    jsulmJ Pl45m4P 2 Replies Last reply
    0
    • K Ketan_Lalcheta

      Hi

      I have two dockwindow and one is set to a parent as other. I have set child dialog as Qt::Tool as I wanted to allow child window to move independently when user click and drag on title bar of dialog.

      I am getting dialog title twice as below:
      37a2540d-c6df-4dd5-9644-2e69ab39661c-image.png

      How to avoid names of dialog (unsupportedcards=) appearing twice?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Ketan_Lalcheta I don't understand your use case: why do you put one dock window into another?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Ketan_Lalcheta
        wrote on last edited by
        #3

        It is like parent window is docked in main UI. That is my first dock window. Second is the one which need input in dialog form and should maintain parent child relationship as well. Is there any better approach, Please suggest. I just want to maintain parent child relationship and both window should be movable and both should be non modal.

        1 Reply Last reply
        0
        • K Ketan_Lalcheta

          Hi

          I have two dockwindow and one is set to a parent as other. I have set child dialog as Qt::Tool as I wanted to allow child window to move independently when user click and drag on title bar of dialog.

          I am getting dialog title twice as below:
          37a2540d-c6df-4dd5-9644-2e69ab39661c-image.png

          How to avoid names of dialog (unsupportedcards=) appearing twice?

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by
          #4

          @Ketan_Lalcheta said in Dialog name is shown twice:

          How to avoid names of dialog (unsupportedcards=) appearing twice?

          What about

          setWindowTitle("ChildDockWidget");
          

          on the 2nd one?


          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Ketan_Lalcheta
            wrote on last edited by
            #5

            @Pl45m4 What would happen if I try name of the window? I still tried and no success...! It just set name of window but it still appear twice

            1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher moved this topic from C++ Gurus on

            • Login

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