[cmake-developers] [PATCH] QtDialog: Set Ctrl+Q as the shortcut for quitting the program.

Nicolas Desprès nicolas.despres at gmail.com
Thu Dec 15 11:55:23 EST 2011


On Thu, Dec 15, 2011 at 4:33 PM, Raphael Kubo da Costa
<rakuco at freebsd.org>wrote:

> Clinton Stimpson <clinton at elemtech.com> writes:
>
> > On Thursday, December 15, 2011 08:20:14 am Raphael Kubo da Costa wrote:
> >> As I mentioned in the commit message, QKeySequence::Quit will not work
> >> on all platforms (the documentation says it translates to nothing on
> >> Windows, for example, and I couldn't use it on the i3 window manager,
> >> for example). I can change it if you prefer, though.
> >
> > Ok, the patch is fine.
> > Is this something that needs brought up to the Qt developer's attention?
>
> I'm not sure; the QKeySequence's documentation explicitly shows that
> QKeySequence::Quit does not have any value on Windows at least, so I
> guess this is a design decision.
>

The standard on Windows is not to have any special shortcut for Quit since
people uses ALT+F4 most of the time.  However QtCreator uses Ctrl+Q :-)

-- 
Nicolas Desprès
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20111215/d0dc01be/attachment.html>


More information about the cmake-developers mailing list