Hello!
Please help!
here is code, compiled ok but don't work...
I insert it in constructor of mainWindow:
Code:
a->setShortcutContext(Qt::ApplicationShortcut); connect(a, SIGNAL(triggered() ), this, SLOT(showMaximized() ) );
Thanks!
Printable View
Hello!
Please help!
here is code, compiled ok but don't work...
I insert it in constructor of mainWindow:
Code:
a->setShortcutContext(Qt::ApplicationShortcut); connect(a, SIGNAL(triggered() ), this, SLOT(showMaximized() ) );
Thanks!
Did you add the action somewhere? If you're not going to add it to a menu for example, you might want to switch to QShortcut instead.
No, I wanted to made hidden undocumented command. So, I'll try QShortcut, thanks!
Wow, it works now :))
Thank you very much!