Mercurial > octave
comparison libgui/graphics/ButtonControl.cc @ 31647:431f80aba37a
maint: Merge stable to default.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 06 Dec 2022 15:37:43 -0500 |
parents | ca7d58406f82 c6d54dd31a7e |
children | deb553ac2c54 |
comparison
equal
deleted
inserted
replaced
31645:bd9da634f00d | 31647:431f80aba37a |
---|---|
35 #include "QtHandlesUtils.h" | 35 #include "QtHandlesUtils.h" |
36 | 36 |
37 #include "graphics.h" | 37 #include "graphics.h" |
38 #include "interpreter.h" | 38 #include "interpreter.h" |
39 | 39 |
40 namespace octave | 40 OCTAVE_BEGIN_NAMESPACE(octave) |
41 { | |
42 | 41 |
43 ButtonControl::ButtonControl (octave::interpreter& interp, | 42 ButtonControl::ButtonControl (octave::interpreter& interp, |
44 const graphics_object& go, | 43 const graphics_object& go, |
45 QAbstractButton *btn) | 44 QAbstractButton *btn) |
46 : BaseControl (interp, go, btn), m_blockCallback (false) | 45 : BaseControl (interp, go, btn), m_blockCallback (false) |
150 | 149 |
151 if (! btn->isCheckable ()) | 150 if (! btn->isCheckable ()) |
152 emit gh_callback_event (m_handle, "callback"); | 151 emit gh_callback_event (m_handle, "callback"); |
153 } | 152 } |
154 | 153 |
155 }; | 154 OCTAVE_END_NAMESPACE(octave); |