Closed jenifly closed 5 months ago
Sorry, could you please elaborate. I do not understand what you mean. I cannot find the file or class AutoHideDockWidget
.
Sorry, could you please elaborate. I do not understand what you mean. I cannot find the file or class
AutoHideDockWidget
.
like this...
You cannot set the window title explicetely via setWindowTitle
because the windows title of the dock widget is its title you give in constructor.
You cannot set the window title explicetely via
setWindowTitle
because the windows title of the dock widget is its title you give in constructor.
That way, when I switch languages, the title of the widget cannot be changed
You cannot set the window title explicetely via
setWindowTitle
because the windows title of the dock widget is its title you give in constructor.That way, when I switch languages, the title of the widget cannot be changed
You need to set the custom window title earlier before you add the dock widget to the DockManager:
TableDockWidget = new CDockWidget("Table 2");
TableDockWidget->setWindowTitle("Custom Window Title");
works here
You need to set the custom window title earlier before you add the dock widget to the DockManager:
TableDockWidget = new CDockWidget("Table 2"); TableDockWidget->setWindowTitle("Custom Window Title");
works here
yes, but it's calling
DockManager->addAutoHideDockWidget(SideBarLocation::SideBarLeft, TableDockWidget);
Then window title of the pop-up form cannot be changed. How can I change this window title?
I don't know what you mean - this is how it looks like after the two lines above:
Under AutoHideDockWidget, the setWindowTitle method cannot be synchronized to the pop-up screen