GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
QtHandles::Container Class Reference

#include "Container.h"

Inheritance diagram for QtHandles::Container:
Collaboration diagram for QtHandles::Container:

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)
 
Canvascanvas (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

Canvasm_canvas
 
octave::interpreterm_interpreter
 
octave::base_qobjectm_octave_qobj
 
QSet< GenericEventNotifyReceiver * > m_receivers
 

Detailed Description

Definition at line 48 of file Container.h.

Constructor & Destructor Documentation

◆ Container()

QtHandles::Container::Container ( QWidget parent,
octave::base_qobject oct_qobj,
octave::interpreter interp 
)

Definition at line 44 of file Container.cc.

◆ ~Container()

QtHandles::Container::~Container ( void  )

Definition at line 52 of file Container.cc.

Member Function Documentation

◆ addReceiver()

void QtHandles::GenericEventNotifySender::addReceiver ( GenericEventNotifyReceiver r)
inlineinherited

Definition at line 46 of file GenericEventNotify.h.

References QtHandles::GenericEventNotifySender::m_receivers, and r.

Referenced by QtHandles::Figure::Figure().

◆ canvas()

◆ childEvent()

void QtHandles::Container::childEvent ( QChildEvent *  event)
protected

Definition at line 169 of file Container.cc.

◆ event()

bool QtHandles::ContainerBase::event ( QEvent *  evt)
inlineinherited

Definition at line 44 of file Container.h.

◆ gh_callback_event [1/2]

void QtHandles::Container::gh_callback_event ( const graphics_handle h,
const std::string &  name 
)
signal

Referenced by canvas().

◆ gh_callback_event [2/2]

void QtHandles::Container::gh_callback_event ( const graphics_handle h,
const std::string &  name,
const octave_value data 
)
signal

◆ gh_set_event [1/3]

void QtHandles::Container::gh_set_event ( const graphics_handle h,
const std::string &  name,
const octave_value value 
)
signal

Referenced by canvas().

◆ gh_set_event [2/3]

void QtHandles::Container::gh_set_event ( const graphics_handle h,
const std::string &  name,
const octave_value value,
bool  notify_toolkit 
)
signal

◆ gh_set_event [3/3]

void QtHandles::Container::gh_set_event ( const graphics_handle h,
const std::string &  name,
const octave_value value,
bool  notify_toolkit,
bool  redraw_figure 
)
signal

◆ interpreter_event [1/2]

void QtHandles::Container::interpreter_event ( const octave::fcn_callback fcn)
signal

◆ interpreter_event [2/2]

void QtHandles::Container::interpreter_event ( const octave::meth_callback meth)
signal

◆ notifyReceiversAfter()

void QtHandles::GenericEventNotifySender::notifyReceiversAfter ( QObject obj,
QEvent *  evt 
)
inlineprotectedinherited

Definition at line 82 of file GenericEventNotify.h.

References QtHandles::GenericEventNotifySender::m_receivers, and r.

◆ notifyReceiversBefore()

bool QtHandles::GenericEventNotifySender::notifyReceiversBefore ( QObject obj,
QEvent *  evt 
)
inlineprotectedinherited

Definition at line 71 of file GenericEventNotify.h.

References QtHandles::GenericEventNotifySender::m_receivers, and r.

◆ removeReceiver()

void QtHandles::GenericEventNotifySender::removeReceiver ( GenericEventNotifyReceiver r)
inlineinherited

◆ resizeEvent()

Member Data Documentation

◆ m_canvas

Canvas* QtHandles::Container::m_canvas
private

Definition at line 86 of file Container.h.

Referenced by canvas(), and resizeEvent().

◆ m_interpreter

octave::interpreter& QtHandles::Container::m_interpreter
private

Definition at line 85 of file Container.h.

Referenced by canvas(), and resizeEvent().

◆ m_octave_qobj

octave::base_qobject& QtHandles::Container::m_octave_qobj
private

Definition at line 84 of file Container.h.

Referenced by canvas().

◆ m_receivers


The documentation for this class was generated from the following files: