#include "Container.h"
Signals | |
void | gh_callback_event (const graphics_handle &h, const std::string &name) |
void | gh_callback_event (const graphics_handle &h, const std::string &name, const octave_value &data) |
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) |
void | gh_set_event (const graphics_handle &h, const std::string &name, const octave_value &value, bool notify_toolkit, bool redraw_figure) |
void | interpreter_event (const octave::fcn_callback &fcn) |
void | interpreter_event (const octave::meth_callback &meth) |
Public Member Functions | |
Container (QWidget *parent, octave::base_qobject &oct_qobj, octave::interpreter &interp) | |
~Container (void) | |
void | addReceiver (GenericEventNotifyReceiver *r) |
Canvas * | canvas (const graphics_handle &handle, bool create=true) |
bool | event (QEvent *evt) |
void | removeReceiver (GenericEventNotifyReceiver *r) |
Protected Member Functions | |
void | childEvent (QChildEvent *event) |
void | notifyReceiversAfter (QObject *obj, QEvent *evt) |
bool | notifyReceiversBefore (QObject *obj, QEvent *evt) |
void | resizeEvent (QResizeEvent *event) |
Private Attributes | |
Canvas * | m_canvas |
octave::interpreter & | m_interpreter |
octave::base_qobject & | m_octave_qobj |
QSet< GenericEventNotifyReceiver * > | m_receivers |
Definition at line 48 of file Container.h.
QtHandles::Container::Container | ( | QWidget * | parent, |
octave::base_qobject & | oct_qobj, | ||
octave::interpreter & | interp | ||
) |
Definition at line 44 of file Container.cc.
QtHandles::Container::~Container | ( | void | ) |
Definition at line 52 of file Container.cc.
|
inlineinherited |
Definition at line 46 of file GenericEventNotify.h.
References QtHandles::GenericEventNotifySender::m_receivers, and r.
Referenced by QtHandles::Figure::Figure().
Canvas * QtHandles::Container::canvas | ( | const graphics_handle & | handle, |
bool | create = true |
||
) |
Definition at line 56 of file Container.cc.
References QtHandles::Canvas::create(), graphics_object::get(), graphics_object::get_ancestor(), octave::interpreter::get_gh_manager(), gh_manager::get_object(), gh_callback_event(), gh_set_event(), gh_manager::graphics_lock(), m_canvas, m_interpreter, m_octave_qobj, QtHandles::Canvas::qWidget(), and octave_value::string_value().
Referenced by QtHandles::ButtonGroup::ButtonGroup(), QtHandles::Figure::Figure(), QtHandles::Panel::Panel(), QtHandles::Figure::beingDeleted(), QtHandles::Figure::do_connections(), QtHandles::Panel::do_connections(), QtHandles::Figure::enableMouseTracking(), QtHandles::Figure::print(), QtHandles::ButtonGroup::redraw(), QtHandles::Figure::redraw(), QtHandles::Panel::redraw(), QtHandles::Figure::slotGetPixels(), and QtHandles::Figure::update().
|
protected |
Definition at line 169 of file Container.cc.
|
inlineinherited |
Definition at line 44 of file Container.h.
|
signal |
Referenced by canvas().
|
signal |
|
signal |
Referenced by canvas().
|
signal |
|
signal |
|
signal |
|
signal |
|
inlineprotectedinherited |
Definition at line 82 of file GenericEventNotify.h.
References QtHandles::GenericEventNotifySender::m_receivers, and r.
|
inlineprotectedinherited |
Definition at line 71 of file GenericEventNotify.h.
References QtHandles::GenericEventNotifySender::m_receivers, and r.
|
inlineinherited |
Definition at line 49 of file GenericEventNotify.h.
References QtHandles::GenericEventNotifySender::m_receivers, and r.
Referenced by QtHandles::Figure::beingDeleted().
|
protected |
Definition at line 134 of file Container.cc.
References QtHandles::Object::fromQObject(), base_properties::get_boundingbox(), octave::interpreter::get_gh_manager(), graphics_object::get_properties(), gh_manager::graphics_lock(), m_canvas, m_interpreter, QtHandles::Object::object(), QtHandles::Object::qWidget(), QtHandles::Canvas::qWidget(), octave::math::round(), and graphics_object::valid_object().
|
private |
Definition at line 86 of file Container.h.
Referenced by canvas(), and resizeEvent().
|
private |
Definition at line 85 of file Container.h.
Referenced by canvas(), and resizeEvent().
|
private |
Definition at line 84 of file Container.h.
Referenced by canvas().
|
privateinherited |