[PyQt] QAction menu questions

Scott Frankel frankel at circlesfx.com
Wed Jun 3 18:39:42 BST 2009


Hello David & Darryl,


On Jun 3, 2009, at 7:22 AM, dboddie at trolltech.com wrote:

> On Wed Jun 3 13:28:15 BST 2009, Darryl Wallace wrote:
>
>>> Is there an example someone could point me to that demonstrates  
>>> how to
>>> specify the About Menu and item name, changing them from "Python"  
>>> and
>>> "About Python to "MyApp" and "About MyApp?"
>>
>> I run your script and the window title says "Menu Test" and under the
>> help I have "About My App" and "About Qt" and I've attached the
>> screenshot for proof :)
>>
>> What operating system are you running in?

I'm developing in OSX.


>> This looks like a Mac-specific issue.

I was afraid of that.  I'll try the app bundle approach.

Thanks!
Scott




> Scott, you could try making an application bundle of your  
> application. This
> would let you supply the name of the application in the Info.plist  
> file.
>
> Alternatively, if you don't know about bundles, you could changing  
> the list
> of arguments passed to QApplication. Some experiments on X11 didn't  
> convince
> me that it would work, but maybe it will do the trick on Mac OS X.
>
> David
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>









More information about the PyQt mailing list