How to fix the MDI Window?
-
No, I still do not get the question. What is your native language? Perhaps you can try one of the regional forums here on DevNet to ask your question in your native tongue?
-
[quote author="Andre" date="1327745603"]No, I still do not get the question. What is your native language? Perhaps you can try one of the regional forums here on DevNet to ask your question in your native tongue?[/quote]
My country is South Korea.
Question
- I want to use as DockWidget to MDI form.
- I want to imprison the child objects created within the screen.(Main Window)
To satisfy these two do you think I can do?
-
Are you looking for the [[doc:QMdiArea]] widget then?
-
[quote author="Andre" date="1327746495"]Are you looking for the [[doc:QMdiArea]] widget then?[/quote]
That's right. But the child object is created, the case QMdiArea objects can overlap each other to prevent it in the same way as I would like to use QDockWidget.
-
That is not how QMdiArea is designed to work. It is not supported, although there are commands to distribute the child windows in a specific way, you can not enforce that tiled or split layout to remain non-overlapping. If you want it to work like dockwidgets, why not use dockwidgets then?
-
[quote author="Andre" date="1327750966"]That is not how QMdiArea is designed to work. It is not supported, although there are commands to distribute the child windows in a specific way, you can not enforce that tiled or split layout to remain non-overlapping. If you want it to work like dockwidgets, why not use dockwidgets then?[/quote]
If you double-click on the title bar QMdiArea is included in the full window chaneunde, QDockWidget cases away from the main window, because the behavior separately.
I want to use these two functions simultaneously. -
Sorry, you lost me again. Do you mean you don't want the dockwidgets to be able to be shown separately, to undock from the main window? I think there is a setting for that. Otherwise, it sounds like you want some type of custom subwindow handing. That is not going to be simple. Sorry. Are you sure you cannot stick with the standard behavior?
-
[quote author="Andre" date="1327753389"]Sorry, you lost me again. Do you mean you don't want the dockwidgets to be able to be shown separately, to undock from the main window? I think there is a setting for that. Otherwise, it sounds like you want some type of custom subwindow handing. That is not going to be simple. Sorry. Are you sure you cannot stick with the standard behavior?[/quote]
If you double-click on the title bar QDockWidget.
Expanding the Window(QDockWidget Form)
I want to implement as QMdiArea.
Double-click the title bar, like QMdiArea. -
-Do you want to prevent the MDI windows from beeing dragged outside the visible area?-
Too slow.
-
[quote author="Lukas Geyer" date="1327754227"]-Do you want to prevent the MDI windows from beeing dragged outside the visible area?- Too slow.[/quote]
For that reason but, QMdiArea among child windows overlap, because the case is being generated.