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. How to fix the MDI Window?
Forum Updated to NodeBB v4.3 + New Features

How to fix the MDI Window?

Scheduled Pinned Locked Moved General and Desktop
13 Posts 4 Posters 6.8k 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.
  • M Offline
    M Offline
    muner1004
    wrote on last edited by
    #1

    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..

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Hi,

      can you please rephrase your question?
      I don not get it, sorry.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        muner1004
        wrote on last edited by
        #3

        [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..

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            muner1004
            wrote on last edited by
            #5

            [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

            1. I want to use as DockWidget to MDI form.
            2. I want to imprison the child objects created within the screen.(Main Window)

            To satisfy these two do you think I can do?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              Are you looking for the [[doc:QMdiArea]] widget then?

              1 Reply Last reply
              0
              • M Offline
                M Offline
                muner1004
                wrote on last edited by
                #7

                [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.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #8

                  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?

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    muner1004
                    wrote on last edited by
                    #9

                    [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.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      andre
                      wrote on last edited by
                      #10

                      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?

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        muner1004
                        wrote on last edited by
                        #11

                        [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.

                        1 Reply Last reply
                        0
                        • L Offline
                          L Offline
                          lgeyer
                          wrote on last edited by
                          #12

                          -Do you want to prevent the MDI windows from beeing dragged outside the visible area?-

                          Too slow.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            muner1004
                            wrote on last edited by
                            #13

                            [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.

                            1 Reply Last reply
                            0

                            • Login

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