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. Where to start ? Adding menu to mdiarea
Qt 6.11 is out! See what's new in the release blog

Where to start ? Adding menu to mdiarea

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 254 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    It looks as QDEsigner can be used as a base (GUI) for building a real MDI application / class.
    AT least pars of it...
    From long gone days of MFC - I vaguely recall there was a sort of "common bar " - basicltext oriented skinny GUI one could attach to whatever - top as "title bar" , bottom as "status bar".... As many as needed...

    Now I have QDEsiger created "mdiarea" and struggling with adding "menu section bar " , " status bar ".
    I am even looking ot "promoting widget " - yes there is "status bar " or "tool bar" to promote to ....

    So - what widget to pick to be "promoted" ?
    Or is there a different way - using QDesigner ?

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Although you can add a menu bar and status bar to any widget and position it via a layout the designer only supports doing that for QMainWindow. For any other widget type you need to do it from code. Promoting has nothing to do with it.

      It's a bummer but that's how it is.

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        I just came to similar conclusion - building MDI class starting with "mdiarea" is backwards . I need to start with "main window" ( menu, status etc) and build it "top down " style.

        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