Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
how do I set a qshortcut works for a particular window only not an entire application? is it possible?
Hi,
you can set the context of the shortcut with QShortcut::setContext()
I used all kind of setcontext properties, but no one will restrict qshortcut working limit within a single dialog only.. it there anyother way?
Can you post some slice of code?
The default value of Context allows QShortcut to be triggered only if the widget is a subwidget of the active toplevel window
To change windows flag in constructor.. avoid using @this->windowflags( );@
yeah, its working, thanks..