26#if defined (HAVE_CONFIG_H)
45 octave::interpreter& interp,
const graphics_object& go)
60 octave::interpreter& interp,
61 const graphics_object& go,
QMenu *xmenu)
62 :
Object (oct_qobj, interp, go, xmenu)
64 xmenu->setAutoFillBackground (
true);
77 QMenu *xmenu = qWidget<QMenu> ();
81 case base_properties::ID_VISIBLE:
84 Matrix pos = up.get_position ().matrix_value ();
85 QWidget *parentW = xmenu->parentWidget ();
90 pt = parentW->mapToGlobal (pt);
119 return qWidget<QWidget> ();
124 const base_properties& props,
const QPoint& pt)
130 gh_manager& gh_mgr = interp.get_gh_manager ();
133 graphics_object go = gh_mgr.get_object (h);
135 if (go.valid_object ())
void gh_callback_event(const graphics_handle &h, const std::string &name)
virtual void update(int pId)
void gh_set_event(const graphics_handle &h, const std::string &name, const octave_value &value)
static Object * parentObject(octave::interpreter &interp, const graphics_object &go)
Base class for Octave interfaces that use Qt.
std::complex< double > w(std::complex< double > z, double relerr=0)
T::properties & properties(graphics_object obj)