Dialog name is shown twice
-
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:
How to avoid names of dialog (unsupportedcards=) appearing twice?
-
@Ketan_Lalcheta I don't understand your use case: why do you put one dock window into another?
-
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.
-
@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?
-
@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
-