#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 47 of file Container.h.
Container::Container | ( | QWidget * | parent, |
octave::base_qobject & | oct_qobj, | ||
octave::interpreter & | interp | ||
) |
Definition at line 43 of file Container.cc.
Container::~Container | ( | void | ) |
Definition at line 51 of file Container.cc.
|
inlineinherited |
Definition at line 45 of file GenericEventNotify.h.
References GenericEventNotifySender::m_receivers, and r.
Referenced by Figure::Figure().
Canvas * Container::canvas | ( | const graphics_handle & | handle, |
bool | create = true |
||
) |
Definition at line 55 of file Container.cc.
References Canvas::create(), gh_callback_event(), gh_set_event(), Canvas::interpreter_event(), interpreter_event(), m_canvas, m_interpreter, m_octave_qobj, and Canvas::qWidget().
Referenced by ButtonGroup::ButtonGroup(), Figure::Figure(), Panel::Panel(), Figure::beingDeleted(), Figure::do_connections(), Panel::do_connections(), Figure::enableMouseTracking(), Figure::print(), ButtonGroup::redraw(), Figure::redraw(), Panel::redraw(), Figure::slotGetPixels(), and Figure::update().
|
protected |
Definition at line 168 of file Container.cc.
|
inlineinherited |
Definition at line 43 of file Container.h.
|
signal |
Referenced by canvas().
|
signal |
|
signal |
Referenced by canvas().
|
signal |
|
signal |
|
signal |
Referenced by Figure::Figure(), and canvas().
|
signal |
|
inlineprotectedinherited |
Definition at line 81 of file GenericEventNotify.h.
References GenericEventNotifySender::m_receivers, and r.
|
inlineprotectedinherited |
Definition at line 70 of file GenericEventNotify.h.
References GenericEventNotifySender::m_receivers, and r.
|
inlineinherited |
Definition at line 48 of file GenericEventNotify.h.
References GenericEventNotifySender::m_receivers, and r.
Referenced by Figure::beingDeleted().
|
protected |
Definition at line 133 of file Container.cc.
References Object::fromQObject(), m_canvas, m_interpreter, Object::object(), Object::qWidget(), Canvas::qWidget(), and round().
|
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(), and resizeEvent().
|
private |
Definition at line 83 of file Container.h.
Referenced by canvas().
|
privateinherited |
Definition at line 56 of file GenericEventNotify.h.
Referenced by GenericEventNotifySender::addReceiver(), GenericEventNotifySender::notifyReceiversAfter(), GenericEventNotifySender::notifyReceiversBefore(), and GenericEventNotifySender::removeReceiver().