26 #if defined (HAVE_CONFIG_H)
44 octave::interpreter& interp,
const graphics_object& go)
59 octave::interpreter& interp,
60 const graphics_object& go,
QMenu *xmenu)
61 :
Object (oct_qobj, interp, go, xmenu)
63 xmenu->setAutoFillBackground (
true);
76 QMenu *xmenu = qWidget<QMenu> ();
80 case base_properties::ID_VISIBLE:
83 Matrix pos = up.get_position ().matrix_value ();
84 QWidget *parentW = xmenu->parentWidget ();
89 pt = parentW->mapToGlobal (pt);
118 return qWidget<QWidget> ();
123 const base_properties& props,
const QPoint& pt)
129 gh_manager& gh_mgr = interp.get_gh_manager ();
130 octave::autolock guard (gh_mgr.graphics_lock ());
132 graphics_object go = gh_mgr.get_object (h);
134 if (go.valid_object ())
void gh_callback_event(const graphics_handle &h, const std::string &name)
static Object * parentObject(octave::interpreter &interp, const graphics_object &go)
void gh_set_event(const graphics_handle &h, const std::string &name, const octave_value &value)
virtual void update(int pId)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::complex< double > w(std::complex< double > z, double relerr=0)
T::properties & properties(graphics_object obj)