[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KAction (and its shortcut configuration) on multiple widgets of
From: Parker Coates <parker.coates () gmail ! com>
Date: 2011-10-15 21:46:15
Message-ID: CAEn-ceYwA3yy=B0cnPa7+oBgAO7w9yzccZq2X6uXJ5B6YNhKZQ () mail ! gmail ! com
[Download RAW message or body]
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 when its shortcut is changed, it'll be reflected
> in only one text editor (whose "cut" action was added to
> KShortcutsDialog). What should I do in this scenario? Please help...
Create only a single cut action connected to a slot that calls the
cut() slot of the last focused editor?
Parker
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic