Here is another status update of GladeVcp work. Today was big merge with load of examples and new widgets. Besides some bugfixes there are two new shiny widgets, persistence support, documentation and GLib style hal pins.
First to mention is slowly growing online documentation at linuxcnc wiki: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HalWidgets Later it will land in main EMC documentation. Next goes HAL Meter widget. It's like PyVCP meter counterpart but for Gtk. It's mostly identical to pyvcp in terms of supported properties but have some additional like text_template. For full description check online documentation mentioned above. Another widget is HAL Graph. It's sampling widget which displays plot of captured data. It's also capable of 'freezing' when you click on it. It's in early stage so it may change later. So give it a try and tell what's bad and what's good. Other then widgets there is persistence support for GladeVcp panels. To be correcttruly it's not limited to gladevcp but for some subset of gtk. It may be useful if you want to preserve state of control panel over restarts. On internal API changes there are now HAL GLib bindings -- GPin. GPin provides 'value-changed' signal which is triggered when pin is changed. It simplifies GUI's a lot. Also there are some bugfixes (led color, bar text template) and lot of cleanups. As usual excerpt from git request pull may be found at the end of this letter. Pavel The following changes since commit b8e06ac59146248475fd577f3d56269daf8aa00c: Avoid -mieee-fp on systems that don't support it (2010-12-08 08:36:00 -0600) are available in the git repository at: git://psha.org.ru/psha/emc2.git gladevcp Michael Haberler (6): gladevcp: fix -d debug flag gladevcp: Improve HAL_ComboBox widget gladevcp: Fix halcomp.ready() and cleanup halcmd invokation gladevcp: Drop GladePanel argument to user handlers gladevcp: Added persistence support gladevcp: Added lot of gladevcp examples Pavel Shramov (21): gladevcp: Fix dark color broken after hardy backporting gladevcp: Cleanup HAL Led a bit Merge remote branch 'origin/master' into gladevcp gladevcp: Added license headers to new files gladevcp: Check Bar text_template property on set gladevcp: Add HAL Meter gladevcp: Added icon for HAL Meter gladevcp: Remove trivial constructors gladevcp: Show and reparent window after userfuncs setup pyhal: Add GLib wrappers for Pin gladevcp: Use GPin value-changed signal gladevcp: Add hal-pin-changed signal to 'output' widgets gladevcp: Wrap glade in gtk.Builder like object gladevcp: Added HAL Graph widget Merge branch 'gladevcp-graph' into gladevcp-widgets Merge branches 'gladevcp-gladebuilder2', 'gladevcp-glib3' and 'gladevcp-widgets' into gladevcp gladevcp: Added autoscaling to Graph widget gladevcp: Added snapshotting to graph gladevcp: Added touchy configuration example gladevcp: Provide hal-pin-changed signal for HAL Meter gladevcp: Added tooltable to touchy sim config configs/gladevcp/by-widget/combobox/README | 13 + configs/gladevcp/by-widget/combobox/combobox.py | 40 ++ configs/gladevcp/by-widget/combobox/combobox.ui | 56 +++ .../by-widget/combobox/combobox_manual_list.py | 59 +++ .../by-widget/combobox/combobox_manual_list.ui | 24 ++ configs/gladevcp/by-widget/radiobutton/README | 9 + configs/gladevcp/by-widget/radiobutton/radio.py | 86 ++++ configs/gladevcp/by-widget/radiobutton/radio.ui | 139 +++++++ configs/gladevcp/class-callback/README | 19 + configs/gladevcp/class-callback/class_callback.hal | 1 + configs/gladevcp/class-callback/class_callback.py | 88 +++++ configs/gladevcp/class-callback/class_callback.ui | 50 +++ configs/gladevcp/complex/README | 15 + configs/gladevcp/complex/complex.hal | 9 + configs/gladevcp/complex/complex.ini | 18 + configs/gladevcp/complex/complex.py | 210 ++++++++++ configs/gladevcp/complex/complex.ui | 174 +++++++++ configs/gladevcp/core_sim.hal | 53 +++ configs/gladevcp/helloWorld/README | 21 + configs/gladevcp/helloWorld/hw.hal | 1 + configs/gladevcp/helloWorld/hw.ui | 45 +++ configs/gladevcp/probe/README | 15 + configs/gladevcp/probe/probe.hal | 4 + configs/gladevcp/probe/probe.ngc | 58 +++ configs/gladevcp/probe/probe.py | 206 ++++++++++ configs/gladevcp/probe/probe.ui | 411 ++++++++++++++++++++ configs/gladevcp/simple-callback/README | 9 + configs/gladevcp/simple-callback/simplecallback.py | 8 + configs/gladevcp/simple-callback/simplecallback.ui | 51 +++ configs/gladevcp/simpockets.tbl | 16 + configs/gladevcp/templates/README | 28 ++ configs/gladevcp/templates/button.ui | 99 +++++ configs/gladevcp/templates/classhandler.py | 62 +++ .../gladevcp/templates/classhandler_persistent.ini | 16 + .../gladevcp/templates/classhandler_persistent.py | 93 +++++ configs/gladevcp/templates/functionhandler.py | 9 + configs/gladevcp/touchy-gremlin.ui | 63 +++ configs/gladevcp/touchy-misc.hal | 3 + configs/gladevcp/touchy-misc.ui | 71 ++++ configs/gladevcp/touchy.ini | 150 +++++++ lib/python/gladevcp/gladebuilder.py | 29 ++ lib/python/gladevcp/hal_bar.py | 31 ++- lib/python/gladevcp/hal_graph.py | 342 ++++++++++++++++ lib/python/gladevcp/hal_gremlin.py | 13 + lib/python/gladevcp/hal_meter.py | 248 ++++++++++++ lib/python/gladevcp/hal_python.xml | 4 + lib/python/gladevcp/hal_pythonplugin.py | 2 + lib/python/gladevcp/hal_widgets.py | 85 +++-- lib/python/gladevcp/led.py | 28 +- lib/python/gladevcp/makepins.py | 21 +- lib/python/gladevcp/persistence.py | 284 ++++++++++++++ lib/python/gladevcp/widget-gladevcp-hal_meter.png | Bin 0 -> 1150 bytes lib/python/hal.py | 3 + lib/python/hal_glib.py | 62 +++ src/hal/user_comps/gladevcp.py | 43 ++- 55 files changed, 3612 insertions(+), 85 deletions(-) create mode 100644 configs/gladevcp/by-widget/combobox/README create mode 100644 configs/gladevcp/by-widget/combobox/combobox.py create mode 100644 configs/gladevcp/by-widget/combobox/combobox.ui create mode 100644 configs/gladevcp/by-widget/combobox/combobox_manual_list.py create mode 100644 configs/gladevcp/by-widget/combobox/combobox_manual_list.ui create mode 100644 configs/gladevcp/by-widget/radiobutton/README create mode 100644 configs/gladevcp/by-widget/radiobutton/radio.py create mode 100644 configs/gladevcp/by-widget/radiobutton/radio.ui create mode 100644 configs/gladevcp/class-callback/README create mode 100644 configs/gladevcp/class-callback/class_callback.hal create mode 100644 configs/gladevcp/class-callback/class_callback.py create mode 100644 configs/gladevcp/class-callback/class_callback.ui create mode 100644 configs/gladevcp/complex/README create mode 100644 configs/gladevcp/complex/complex.hal create mode 100644 configs/gladevcp/complex/complex.ini create mode 100644 configs/gladevcp/complex/complex.py create mode 100644 configs/gladevcp/complex/complex.ui create mode 100644 configs/gladevcp/core_sim.hal create mode 100644 configs/gladevcp/helloWorld/README create mode 100644 configs/gladevcp/helloWorld/hw.hal create mode 100644 configs/gladevcp/helloWorld/hw.ui create mode 100644 configs/gladevcp/probe/README create mode 100644 configs/gladevcp/probe/probe.hal create mode 100644 configs/gladevcp/probe/probe.ngc create mode 100644 configs/gladevcp/probe/probe.py create mode 100644 configs/gladevcp/probe/probe.ui create mode 100644 configs/gladevcp/simple-callback/README create mode 100644 configs/gladevcp/simple-callback/simplecallback.py create mode 100644 configs/gladevcp/simple-callback/simplecallback.ui create mode 100644 configs/gladevcp/simpockets.tbl create mode 100644 configs/gladevcp/templates/README create mode 100644 configs/gladevcp/templates/button.ui create mode 100644 configs/gladevcp/templates/classhandler.py create mode 100644 configs/gladevcp/templates/classhandler_persistent.ini create mode 100644 configs/gladevcp/templates/classhandler_persistent.py create mode 100644 configs/gladevcp/templates/functionhandler.py create mode 100644 configs/gladevcp/touchy-gremlin.ui create mode 100644 configs/gladevcp/touchy-misc.hal create mode 100644 configs/gladevcp/touchy-misc.ui create mode 100644 configs/gladevcp/touchy.hal create mode 100644 configs/gladevcp/touchy.ini create mode 100644 lib/python/gladevcp/gladebuilder.py create mode 100644 lib/python/gladevcp/hal_graph.py create mode 100644 lib/python/gladevcp/hal_meter.py create mode 100644 lib/python/gladevcp/persistence.py create mode 100644 lib/python/gladevcp/widget-gladevcp-hal_meter.png create mode 100644 lib/python/hal_glib.py ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
