[Uml-devel] Two patches for Umbrello : color picker/delete item
Yan Morin
yansanmo.site at gmail.com
Wed Mar 1 09:36:01 UTC 2006
I create two patches that I found useful.
First, a patch to select the first element fill color or line color when
you right click on it.
I was a little embarassed on how to name the function since
getFirstSelectedWidget already exists but it's used for association
function.
Second, a patch to implement 'backspace key' or 'delete key' when you
select items in the listview.
I've noted that the delete key under printscreen/scrolllock don't work I
don't know why. When I tested with backspace and the delete key in the
numeric keypad, they both worked.
To not reimplement two times the same thing, I've created a function for
the Delete popup item. (deleteItem())
I've also wrote down this page on KDE wiki because I found this trick
looking at the code.
http://wiki.kde.org/tiki-index.php?page=UmbrelloTrick
--
Yan Morin
http://yansanmo.no-ip.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umbrello_backspacekey.patch
Type: text/x-patch
Size: 5813 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20060301/3d132896/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umbrello_selectFirstColor.patch
Type: text/x-patch
Size: 1690 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20060301/3d132896/attachment-0001.patch>
More information about the umbrello-devel
mailing list