[Qt-interest] How to assign keyboard shortcuts to tab close buttons

Maik Friedmann maik.friedmann at googlemail.com
Fri May 8 16:21:16 CEST 2009


Hello,

On 5/4/09, Abhishek <abhishekworld at gmail.com> wrote:
> Hi,
> Just go through QShortcut Class
> http://doc.trolltech.com/4.5/qshortcut.html

Yes, that worked! Thanks for your help, just created a QShortcut
instance with a QKeySequence of ctrl+w, and connected activated()
signal to proper slot; works perfectly.

Regards,
Maik



More information about the Qt-interest-old mailing list