Sorry.. i mean alt+f4...<br><br><div><span class="gmail_quote">2007/8/23, Henrik Pauli <<a href="mailto:henrik.pauli@gmail.com">henrik.pauli@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hmmm, I have never in my life pressed alt-esc in KDE. alt-f4 yes<br>(which I remember being Close on the default scheme, not just on the<br>"Windows like" key scheme), esc yes (which triggers a Cancel/Close<br>
action on most dialogs).<br><br>What I suddenly think about is that you should try to catch some<br>signal (I can't remember the name, but do read up on what signals and<br>slots a QMainWindow/KMainWindow has) that is related to quitting the
<br>application. I seem to remember there are methods which get triggered<br>at exit -- you could perhaps rewire them somehow.<br><br>On 8/23/07, Gustavo A. Díaz <<a href="mailto:gustavo.diaz@gmail.com">gustavo.diaz@gmail.com
</a>> wrote:<br>> Hi David,<br>><br>> The thing that my app has systray support, and when i close the app with the<br>> Close button, it goes there.<br>> So, many users press Alt+Esc to close their apps. and this is a problem for
<br>> me, cause my app will not go into the systray.<br>> Will be enough if even exist the possibility to block this shorcut... but<br>> well...<br>><br>> Cheers.<br>><br>> 2007/8/23, David Boddie <
<a href="mailto:david@boddie.org.uk">david@boddie.org.uk</a> >:<br>> > On Thu Aug 23 15:22:29 BST 2007, Gustavo A. Díaz wrote:<br>> ><br>> > > Yes, which i sould use X11 internals indeed.<br>> > >
<br>> > > I will have to investigate about this...<br>> ><br>> > Is it really necessary to use Alt-Esc in your application? You could have<br>> > the same problem with any keyboard shortcut - some of your users might
<br>> > have mapped them to window manager actions.<br>> ><br>> > The solution is really to make the shortcuts configurable so that users<br>> > can adjust them to avoid clashes like these.<br>> >
<br>> > David<br>> ><br>> > _______________________________________________<br>> > PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>> > <a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">
http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>> ><br>><br>><br>><br>> --<br>> Gustavo A. Díaz<br>> GDNet Projects<br>> <a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a><br>
> _______________________________________________<br>> PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>> <a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">
http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>><br><br>_______________________________________________<br>PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a>
<br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote></div><br><br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">
www.gdnet.com.ar</a>