Fwd: [PyQt] QAction menu questions

Scott Frankel frankel at circlesfx.com
Wed Jun 3 00:10:38 BST 2009


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?"

My searches are coming up empty.

Thanks in advance!
Scott



Begin forwarded message:

> From: Scott Frankel <frankel at circlesfx.com>
> Date: May 30, 2009 11:15:32 AM PDT
> To: pyqt at riverbankcomputing.com
> Subject: [PyQt] QAction menu questions
>
>
> How does one set an app's About (help) menu to display the app's  
> name, rather than "Python."
>
> In addition, I'd like to have the menu's aboutAction item and the  
> exitAction item display my app name as well.  They currently display  
> "About Python" and "Quit Python," respectively.
>
> Interestingly, the aboutQtAction displays the string specified in  
> the QAction declaration.
>
> Is this an OS-specific issue?  I'm testing on OSX.  See the attached  
> example program, simplified from .../examples/menus.py.
>
> Thanks!
> Scott
>
>
>
>
>
>
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt







-------------- next part --------------
Skipped content of type multipart/mixed


More information about the PyQt mailing list