PDA

View Full Version : how will a cumstomized qmenubar look like under mac os x?



billconan
10th November 2009, 10:39
the menubar of a mac os x program is different from a windows program. it uses a common system-wide menubar.

the qmenubar document says:
QMenuBar on Mac OS X is a wrapper for using the system-wide menu bar. If you have multiple menu bars in one dialog the outermost menu bar (normally inside a widget with widget flag Qt::Window) will be used for the system-wide menu bar.

http://doc.trolltech.com/4.5/qmenubar.html

but i'm wondering how a customized menubar will look like under mac os x?

say customized with style sheet?

or what if i write my own menubar class derived from qmenubar, and implement my own paintevent or maybe attach some buttons to the menubar?

i'm developing under windows and my program needs a customized menubar. eventually, i want the program to be cross platform. so i'm just wondering.

thanks.