26 #if ! defined (octave_Object_h)
27 #define octave_Object_h 1
51 Object (octave::base_qobject& qobj, octave::interpreter& interp,
52 const graphics_object& go,
QObject *obj =
nullptr);
57 {
return object ().get_properties (); }
60 {
return object ().get_properties (); }
66 (
object ().get_properties ());
73 (
object ().get_properties ());
76 graphics_object
object (
void)
const;
88 const QObject *emitter =
nullptr);
115 void slotPrint (
const QString& file_cmd,
const QString& term);
121 parentObject (octave::interpreter& interp,
const graphics_object& go);
125 virtual void update (
int pId);
127 virtual void redraw (
void);
128 virtual void show (
void);
129 virtual void print (
const QString& file_cmd,
const QString& term);
const T::properties & properties(void) const
void gh_callback_event(const graphics_handle &h, const std::string &name)
virtual void print(const QString &file_cmd, const QString &term)
static Object * parentObject(octave::interpreter &interp, const graphics_object &go)
virtual void do_connections(const QObject *receiver, const QObject *emitter=nullptr)
static Object * fromQObject(QObject *obj)
void gh_set_event(const graphics_handle &h, const std::string &name, const octave_value &value)
void gh_set_event(const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit)
base_properties & properties(void)
Object(octave::base_qobject &qobj, octave::interpreter &interp, const graphics_object &go, QObject *obj=nullptr)
virtual void beingDeleted(void)
octave::base_qobject & m_octave_qobj
graphics_object object(void) const
void objectDestroyed(QObject *obj=nullptr)
void interpreter_event(const octave::fcn_callback &fcn)
void interpreter_event(const octave::meth_callback &meth)
void slotPrint(const QString &file_cmd, const QString &term)
virtual void redraw(void)
virtual QObject * qObject(void)
void gh_set_event(const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit, bool redraw_figure)
virtual void finalize(void)
const base_properties & properties(void) const
void gh_callback_event(const graphics_handle &h, const std::string &name, const octave_value &data)
virtual Container * innerContainer(void)=0
virtual void update(int pId)
octave::interpreter & m_interpreter
T::properties & properties(void)
void init(QObject *obj, bool callBase=false)
Base class for Octave interfaces that use Qt.
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::function< void(void)> fcn_callback
std::function< void(interpreter &)> meth_callback
T::properties & properties(graphics_object obj)