[Qt-interest] About Application menu item via Qt project.

Arnold Krille arnold at arnoldarts.de
Fri Jul 17 12:48:46 CEST 2009


Hi,

On Friday 17 July 2009 10:17:18 Manish Chaturvedi wrote:
> I am working on a Qt/Mac application. I want to display the Version and
> other information of my application by clicking Menu "My Application"->
> "About MyApplication" but I cannot see any such menu in my application.
> Whereas when we create any Cocoa application it is provided by default with
> Application menu. Is there is any way to get this menu via Qt application?

First advice: Teach your users not to double-click.

Second advice: Make the forms/dialogs ignore all clicks for the first 500ms 
after showing/creation. Maybe by "setEnabled( false )" followed by 
"setEnabled( true )". I think these also propagate to all subwidgets, so it 
should be save to do this on the main-widget alone.

Dealing with the mouse-clicks yourself will get very complicated.

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090717/88eb5334/attachment.bin 


More information about the Qt-interest-old mailing list