[Qt-interest] QShortcut help
Soumen Banerjee
soumen08 at gmail.com
Sun Dec 19 06:34:06 CET 2010
Hi,
No, it does not work. Id already tried that before I put it up.
Regards,
Soumen
On Sun, Dec 19, 2010 at 10:56 AM, Brad Hards <bradh at frogmouth.net> wrote:
> On Sunday, December 19, 2010 03:45:00 pm Soumen Banerjee wrote:
>> shortcut_new = new QShortcut(this);
>> shortcut_new->setKey(QKeySequence("Ctrl + N"));
> Does it work if you use:
> shortcut_new->setKey(QKeySequence(Qt::CTRL + Qt::Key_N));
> or just
> shortcut_new->setKey(Qt::CTRL + Qt::Key_N);
>
> Brad
>
More information about the Qt-interest-old
mailing list