Staging
v0.5.1
swh:1:snp:94aae2785f73ccaec5983b9f5ce071eed323eccf
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: 1850a087c1b6cb026470c738b2c7f82c6fada06d authored by Mads Kiilerich on 04 April 2020, 02:27:44 UTC
qt5: renaming of references to hgviewlib/qt5, finishing up the Qt5 port
Tip revision: 1850a08
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