With the help of Chris Radek we've managed to lower entry barrier for gladevcp
users and added proper environment variables into scripts/emc-environmet for RIP
mode and to src/Makefile for system wide install.
So now if you want to try gladevcp just source emc-environment script and start
to
create interfaces.
Also I've digged in gladevcp and changed it a bit inside. Gobject are added
properties to HAL_LED and HAL_Label so it's not needed to parse XML for them.
Since XML parsing was needed only for windget properties it was replaced with
calls to
get_objects for gtk.Builder and get_widget_prefix("") for Glade. So it
now relies on them to parse XML propertly and to fill gobject properties.
Another major change is that widget import path is changed. Now names from
glade's
point of view are not hal_pythonplugin.HAL_LED for example but simple
gladevcp.HAL_LED
So now old gladevcp files will complain about missing hal_pythonplugin module.
Old setups with symlinked hal_pythonplugin.py and catalog file are not affected.
If are affected users some way of transition may be added.
Also there are some minor improvement such as removed limitations of color names
for HAL_LED, better embedding in axis/touchy and Progressbar colors.
Theese changes are merged to master. It will be great if gladevcp users will
report bugs
and suggestions.
Pavel
Exceprt from git request-pull
Pavel Shramov (14):
gladevcp: Fix glade plugin module path
gladevcp: Move gladevcp_makepins inside gladevcp
gladevcp: Add text and zones for progress bar
gladevcp: Move catalog and pixmap to share
gladevcp: Update readme with current state
gladevcp: Add properties and text format to label
gladevcp: Revert "gladevcp: Move catalog and pixmap to share"
gladevcp: Install catalog and widget files
gladevcp: Added gobject props to HAL_LED
gladevcp: Improve reparenting
gladevcp: Fix LED colors initalization
gladevcp: Take list of widgets from builder
gladevcp: Drop read_widget from makepins
gladevcp: Shorten import path
lib/python/gladevcp/READ_ME | 14 +-
lib/python/gladevcp/__init__.py | 1 +
lib/python/gladevcp/hal_python.xml | 2 +-
lib/python/gladevcp/hal_widgets.py | 53 +++++
lib/python/gladevcp/led.py | 112 +++++-----
lib/python/gladevcp/makepins.py | 236 ++++++++++++++++++++
...gin-hal_led.png => widget-gladevcp-hal_led.png} | Bin 209 -> 209 bytes
lib/python/gladevcp_makepins.py | 219 +------------------
scripts/emc-environment.in | 8 +-
src/Makefile | 5 +
src/hal/user_comps/gladevcp.py | 7 +
11 files changed, 380 insertions(+), 277 deletions(-)
create mode 100644 lib/python/gladevcp/__init__.py
create mode 100644 lib/python/gladevcp/makepins.py
rename lib/python/gladevcp/{widget-hal_pythonplugin-hal_led.png =>
widget-gladevcp-hal_led.png} (100%)
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers