comparison libgui/graphics/Figure.h @ 25799:d04b74f5d02e

make shg and figure (N) activate and raise figure windows (bug #45943) * figure.m, shg.m: Call __show_figure__. * graphics.cc (F__show_figure__): New function. * graphics-toolkit.h (base_graphics_toolkit::show_figure, graphics_toolkit::show_figure): New functions. * Backend.h, Backend.cc (Backend::show_figure): New function. * ObjectProxy.h, ObjectProxy.cc (ObjectProxy::init): Handle connection between sendShow signal and slotShow slot. (ObjectProxy::show): New function. (ObjectProxy::sendShow): New signal. * Object.h, Object.cc (Object::slotShow): New slot. (Object::show): New virtual function. * Figure.h, Figure.cc (Figure::show): New function.
author John W. Eaton <jwe@octave.org>
date Wed, 15 Aug 2018 15:26:10 -0400
parents 6652d3823428
children bb4af245dff7
comparison
equal deleted inserted replaced
25798:4e4ffcca8b5d 25799:d04b74f5d02e
92 UpdateBoundingBoxAll = 0x3 92 UpdateBoundingBoxAll = 0x3
93 }; 93 };
94 94
95 protected: 95 protected:
96 void redraw (void); 96 void redraw (void);
97 void show (void);
97 void print (const QString& file_cmd, const QString& term); 98 void print (const QString& file_cmd, const QString& term);
98 void update (int pId); 99 void update (int pId);
99 void updateBoundingBox (bool internal = false, int flags = 0); 100 void updateBoundingBox (bool internal = false, int flags = 0);
100 void beingDeleted (void); 101 void beingDeleted (void);
101 102