Re: KAction and KShortcut in frameworks

2012-05-14 Thread todd rme
On Thu, May 10, 2012 at 11:21 PM, Mark wrote: > Hi, > > Making this quite detailed and long mail as per request from David Faure > (twice) ;) > > So, I've been patching KShortcut up to support multiple > shortcuts: https://git.reviewboard.kde.org/r/104801/ and it's working just > fine with that pa

Re: KAction and KShortcut in frameworks

2012-05-13 Thread Rick Stockton
Mark, your responses improve on my ideas, and leads to a more solid "shared vision". (That's Awesome!) Here's a "brain dump" of my thoughts - some responding to you, some others not yet discussed: Within Qt, there are a couple of reasons why I don't want to create a generic "all-shortcuts" set

Re: KAction and KShortcut in frameworks

2012-05-13 Thread David Faure
On Friday 11 May 2012 21:07:58 Mark wrote: > The only reservation i have is the case where some developer comes by and > makes a KDE application with actions that aren't defined yet in Shortcut > Manager. I'm not sure what you mean by 'not defined yet'... KShortcutManager will not have any knowl

Re: KAction and KShortcut in frameworks

2012-05-13 Thread David Faure
On Saturday 12 May 2012 18:36:42 Mark wrote: > 3. There needs to be some way of storage for keys, give them a default > value and restore that value on the user request. This is what KDE has with > Shortcut Editor. The app itself should not be in Qt, but the storage of the > data should live in Qt

Re: KAction and KShortcut in frameworks

2012-05-12 Thread Mark
On Fri, May 11, 2012 at 8:10 PM, Rick Stockton < rickstock...@reno-computerhelp.com> wrote: > On Thu, 10 May 2012 23:21:25 +0200, mark...@gmail.com wrote: > >> Making this quite detailed and long mail as per request from David Faure >> (twice);) >> >> So, I've been patching KShortcut up to support

Re: KAction and KShortcut in frameworks

2012-05-12 Thread Rick Stockton
On Thu, 10 May 2012 23:21:25 +0200, mark...@gmail.com wrote: Making this quite detailed and long mail as per request from David Faure (twice);) So, I've been patching KShortcut up to support multiple shortcuts: https://git.reviewboard.kde.org/r/104801/ and it's working just fine with that patch

Re: KAction and KShortcut in frameworks

2012-05-11 Thread Kevin Ottens
On Friday 11 May 2012 20:42:09 David Faure wrote: > On Friday 11 May 2012 19:57:11 Mark wrote: > > > KShortcutManager::setDefaultShortcut(newAct, Qt::Key_F6); > > > > I like this idea! > > Good, me too :-) > > > I was actually intending to use the Shortcut Editor but i > > didn't look into specifi

Re: KAction and KShortcut in frameworks

2012-05-11 Thread Mark
On Fri, May 11, 2012 at 8:42 PM, David Faure wrote: > On Friday 11 May 2012 19:57:11 Mark wrote: > > > KShortcutManager::setDefaultShortcut(newAct, Qt::Key_F6); > > > > I like this idea! > > Good, me too :-) > > > I was actually intending to use the Shortcut Editor but i > > didn't look into spe

Re: KAction and KShortcut in frameworks

2012-05-11 Thread David Faure
On Friday 11 May 2012 19:57:11 Mark wrote: > > KShortcutManager::setDefaultShortcut(newAct, Qt::Key_F6); > > I like this idea! Good, me too :-) > I was actually intending to use the Shortcut Editor but i > didn't look into specifics yet. > > With dynamic property you're talking about > http:/

Re: KAction and KShortcut in frameworks

2012-05-11 Thread Mark
On Fri, May 11, 2012 at 6:31 PM, David Faure wrote: > On Thursday 10 May 2012 23:21:25 Mark wrote: > > As for "reset to defaults", i don't think that should be stored in a > > KAction abject. That feature is only usable in the Shortcut Editor > > (assumption) so having this for every single KActi

Re: KAction and KShortcut in frameworks

2012-05-11 Thread David Faure
On Thursday 10 May 2012 23:21:25 Mark wrote: > As for "reset to defaults", i don't think that should be stored in a > KAction abject. That feature is only usable in the Shortcut Editor > (assumption) so having this for every single KAction in all KDE > applications is a bit strange. Not really, th