diff libinterp/corefcn/genprops.awk @ 26112:36e0e5b428e7

Implement uitable (patch #9084) * libgui/graphics/Table.[cc/h]: Add QT toolkit Table object. * libgui/graphics/module.mk: Add new files. * libgui/graphics/Backend.cc (toolkitObjectProperty, Backend::initialize, Backend::update): Add uitable. * libgui/graphics/Canvas.cc (Canvas::select_object): Allow uitable to be selected like uicontrol or uipanel. * libgui/graphics/ObjectFactory.cc (ObjectFactory::createObject): Add uitable. * libgui/graphics/QtHandlesUtils.cc (computeFont<uibuttongroup>): Make computeFont template for uitable. * libinterp/corefcn/gl-render.cc (opengl_renderer::draw): Add uitable. * libinterp/corefcn/graphics.cc (default_table_position, default_table_backgroundcolor): Add new static default values. * libinterp/corefcn/graphics.cc (lookup_object_name, make_graphics_object_from_type, property_list::set, property_list::lookup): Add uipanel. * libinterp/corefcn/graphics.cc (uitable::properties::get_boundingbox, uitable::properties::set_columnformat, uitable::properties::set_columnwidth, uitable::properties::set_units, uitable::properties::update_units, uitable::properties::set_fontunits, uitable::properties::update_fontunits, uitable::properties::get___fontsize_points__, uitable::properties::get_fontsize_pixels, uitable::properties::get_backgroundcolor_rgb, uitable::properties::get_alternatebackgroundcolor_rgb, uitable::properties::get_extent_matrix, uitable::properties::get_extent, uitable::properties::set_selectedobject, F__go_uitable__): Add new functions. * libinterp/corefcn/graphics.in.h: Add uitable. * scripts/gui/uitable.m: Add new file. * scripts/gui/module.mk: Add new file to list. * scripts/help/__unimplemented__.m: Remove uitable from missing_functions. * doc/interpreter/genpropdoc.m, doc/interpreter/gui.txi, doc/interpreter/module.mk, doc/interpreter/plot.txi: Add documentation for uitable. * NEWS: Add to list of new functions.
author Andrew Thornton <art27@cantab.net>
date Tue, 20 Dec 2016 03:25:17 +0000
parents 416856765a55
children 00f796120a6d
line wrap: on
line diff
--- a/libinterp/corefcn/genprops.awk	Sun Nov 18 15:50:01 2018 +0100
+++ b/libinterp/corefcn/genprops.awk	Tue Dec 20 03:25:17 2016 +0000
@@ -232,10 +232,10 @@
 
 function emit_get_callback (i)
 {
-  printf ("  void execute_%s (const octave_value& data = octave_value ()) const", name[i]);
+  printf ("  void execute_%s (const octave_value& new_data = octave_value ()) const", name[i]);
 
   if (emit_get[i] == "definition")
-    printf (" { %s.execute (data); }\n", name[i]);
+    printf (" { %s.execute (new_data); }\n", name[i]);
   else
     printf (";\n");