Re: KAction (and its shortcut configuration) on multiple widgets of same kind. Need help...

2011-10-18 Thread Thomas Lübking
Am Tue, 18 Oct 2011 15:20:50 +0530 schrieb Yogesh Marwaha : > Hi, > > I'm still waiting for more suggestions :-) Assuming you want _ONE_ shortcut[1] in every case (eg. F3 cuts in editor1 if that has the focus, editor2 if that has the focus and editor three resp.), add the shortcut to the parentin

Re: KAction (and its shortcut configuration) on multiple widgets of same kind. Need help...

2011-10-18 Thread Yogesh Marwaha
Hi, I'm still waiting for more suggestions :-) Regards, On 15 October 2011 21:38, Yogesh Marwaha wrote: > Hi, > > Scenario: I have three text editors separated by splitter in a single > window. Each text editor has an action called "cut". Now I want to set > a shortcut for "cut" action and allo

Re: KAction (and its shortcut configuration) on multiple widgets of same kind. Need help...

2011-10-16 Thread Yogesh Marwaha
But the main widget knows nothing about the "cut" action (My scenario was just a generalisation). On 16 October 2011 03:16, Parker Coates wrote: > On Sat, Oct 15, 2011 at 12:08, Yogesh Marwaha wrote: >> Hi, >> >> Scenario: I have three text editors separated by splitter in a single >> window. Eac

Re: KAction (and its shortcut configuration) on multiple widgets of same kind. Need help...

2011-10-15 Thread Parker Coates
On Sat, Oct 15, 2011 at 12:08, Yogesh Marwaha wrote: > Hi, > > Scenario: I have three text editors separated by splitter in a single > window. Each text editor has an action called "cut". Now I want to set > a shortcut for "cut" action and allow user to change it through > KShortcutsDialog. But whe

KAction (and its shortcut configuration) on multiple widgets of same kind. Need help...

2011-10-15 Thread Yogesh Marwaha
Hi, Scenario: I have three text editors separated by splitter in a single window. Each text editor has an action called "cut". Now I want to set a shortcut for "cut" action and allow user to change it through KShortcutsDialog. But when its shortcut is changed, it'll be reflected in only one text e