Not just relevant, the "qmenubar-on-mac-os-x" link provides the categorical explanation. ie: "the table below outlines the strings looked for and where the entry is placed if matched ..."

Sure enough. The action, "Settings," spelling correctly, is moved by Qt on OSX under the apple and renamed "Preferences" in accordance with the OSX Way. Developing (albeit with shell windows and emacs) on OSX, I saw the addAction method silently fail to add the action to the menu I made explicit in my code. Baz, you must be using a different operating system, thus my code sample didn't "silently fail."

Thanks for the links!
Scott





On Oct 23, 2009, at 10:07 AM, Baz Walter wrote:

Scott Frankel wrote:
> Very strange. I've double-checked that the code I emailed does not work
for me. I'm on OSX 10.5.8, Qt 4.5.2, and PyQt 4.5.4. I realize I'm a few versions out of date.

i know next to nothing about OSX, but these look like they could be relevant:

http://doc.trolltech.com/4.5/qaction.html#menuRole-prop
http://doc.trolltech.com/4.5/qmenubar.html#qmenubar-on-mac-os-x











_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to