Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Qt4 form MDI, what is it?

Qt4 form MDI, what is it?

Scheduled Pinned Locked Moved C++ Gurus
6 Posts 5 Posters 4.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.
  • T Offline
    T Offline
    trungmap71
    wrote on last edited by
    #1

    I a beginer. Help me everything about form MDI in Qt4(include how to create, call it, and use). thanks so much!

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

      First of all, question yourself if you really want or need MDI. By many, it is considdered a flawed UI paradigm, at least in the windows-within-a-window form. Considder if SDI isn't a better solution.

      Having said that, take a look at [[doc:QMdiArea]] and [[doc:QMdiSubWindow]].

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kunashir
        wrote on last edited by
        #3

        Andre, why (where I may read this) MDI is a flawed UI paradigm. I thought it was a good idea for a multi-object interfaces (for example, many docs, many catalogs and other).

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joonhwan
          wrote on last edited by
          #4

          After reading this post, I searched google and found "this":http://discuss.joelonsoftware.com/default.asp?design.4.181903.38&ei=JxsFT6bsKs-biQfgqcmrBQ&usg=AFQjCNFVrXe6sTQp0I-FY7JKMBfcXFpacA&sig2=OGJhnQYM7mV8rTM5WqLUNw&cad=rjt discussion

          in short, according to "this site ":http://www.ssw.com.au/ssw/Standards/Rules/RulesToBetterWindowsForms.aspx#AvoidMDI

          • Constrained within a smaller window
          • Only show as one window on the taskbar
          • Have no multiple monitor support (the killer reason)

          That said, I think MDI has its own strong position though.

          joonhwan at gmail dot com

          1 Reply Last reply
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5
            • No interleaving of documents with documents from other applications
            • Drag & Drop is hard to do between different documents within the application
            • No direct way to see which documents are open (unless you use a list like Qt Creator does)
            • For mac: doesn't fit mac paradigms
            1 Reply Last reply
            0
            • B Offline
              B Offline
              Blizzard
              wrote on last edited by
              #6

              This is a helpful example on creating an MDI:
              http://doc.qt.nokia.com/4.7-snapshot/mainwindows-mdi.html

              Software Engineer | Aerospace & Defence

              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