Where to start ? Adding menu to mdiarea
-
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 ? -
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.
-
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.