How to fix the MDI Window?
-
Hello.
I widget MDI Window in the fixed or I want to lock up.
OR looking at the example, MDI child window is created, the window of overlapping.
I want to change this properties as DockWidget...
plz help me.. thanks..
-
Hi,
can you please rephrase your question?
I don not get it, sorry. -
[quote author="Gerolf" date="1327658089"]Hi, can you please rephrase your question? I don not get it, sorry.[/quote]
Qt Examples and Demos -> MainWindow -> MDI item, generated child form in the main window with the mouse moves out of the title is get out.
To prevent this, double-click on the title bar at the main window and you want to fill up.Sorry, I'm do not speak English well.... do you understand? thanks..
-
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.