Staging
v0.5.0
https://foss.heptapod.net/mercurial/hgview
Revision 82e6d96f527ad8a36b1af7e67309f5ecf41f8823 authored by Alain Leufroy on 11 September 2013, 11:32:59 UTC, committed by Alain Leufroy on 11 September 2013, 11:32:59 UTC
The idea is to uniformize the action registration for qt widgets.

I've created a mixin that provides a very simple API to create/register/retrieve
actions and to set up parameters as icon, key bindings, callbacks, etc.
This will help (force ?) devs to provides them.

The mixin can also add the actions to the context menu of the widget
(see ``menu`` argument``).

.. note:: We can clearly see that we could factorize codes now :D
1 parent bad484b
History
Tip revision: 82e6d96f527ad8a36b1af7e67309f5ecf41f8823 authored by Alain Leufroy on 11 September 2013, 11:32:59 UTC
[qt] refactorize action handling
Tip revision: 82e6d96
File Mode Size
bin
debian
debian.squeeze
doc
hgext
hgviewlib
.hgignore -rw-r--r-- 49 bytes
.hgtags -rw-r--r-- 2.5 KB
COPYING -rw-r--r-- 17.6 KB
ChangeLog -rw-r--r-- 5.7 KB
MANIFEST.in -rw-r--r-- 682 bytes
README -rw-r--r-- 1.8 KB
__pkginfo__.py l--------- 24 bytes
debian.maverick l--------- 14 bytes
debian.natty l--------- 14 bytes
setup.py -rw-r--r-- 14.1 KB

README

back to top