Re: Delete action, hotkey

Andreas Zehender <[email protected]>
Newsgroups gmane.comp.kde.devel.kpovmodeler
Message-ID <02090613060601.23919@wsl23>
Hi!

On Friday 06 September 2002 11:14, CARVALHO Luis Passos wrote:
> > Has anyone experienced such problems or does it work correctly?
>
> I never tried it so I don't know, but that sounds strange. The key is only
> sent to the widget with the focus and then sent upwards in the hierarchy
> until it finds a widget that takes care of it.
>
> Could it be that you had the focus on some widget that doesn't handle
> delete, like a button or something like that. Then it's sent to the
> PMObjectEdit, then to PMDockManager and before it gets to KApplication it
> passes through PMDialogView?
>
> In that case we could filter the delete key on the PMObjectEdit widget
> always treating it there.

That would be a solution.
I can't test it at the moment as I am not at home.

> By the way, the tree view, at least for me, doesn't handle Shift+Down and
> Shift+Up for selections. That's very handy too. Is it just a case of
> configuring it or doesn't PMTreeView allow it?

IIRC I had to implement the key navigation myself. At least there is an item 
in the changelog for version 0.2 :-)
It is just not implemented.
I think I will add these two little features (bugixes :-) to the 1.0 version.

While we are at the tree view:
If an object is deleted, the previous object becomes the new active object. 
The standard would be to select the next one. Agreed? 

Andreas

-- 
--------------------------------------------------
 Andreas Zehender, Dipl. Ing. (BA)
 Student, 10th semester computer science
 http://www.azweb.de
 [email protected] | [email protected]      
--------------------------------------------------

List archive and information: http://mail.kde.org/mailman/listinfo/kpovmodeler-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.