Details
-
Suggestion
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.2.2
-
None
Description
It would be nice if QMainWindow had something like this:
class QMainWindow {
...
enum MenuBarPosition
{ MenuBarTop, MenuBarBottom, MenuBarLeft, MenuBarRight };
void setMenuBarPosition(MenuBarPosition mp);
MenuBarPosition menuBarPosition() const;
};
and
class QMenuBar {
...
Qt::Orientation orientation() const;
void setOrientation(Qt::Orientation o);
};
As an example you might want to have a look at Microsoft Office 2003. (i.e.Word 2002).
The menu behaves like a dockwindow. It can be placed top/bottom/left or right. If left or right, it also rotates the text.