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

#include "Container.h"

Inheritance diagram for Container:
Collaboration diagram for 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::interpreter & m_interpreter
 
octave::base_qobject & m_octave_qobj
 
QSet< GenericEventNotifyReceiver * > m_receivers
 

Detailed Description

Definition at line 47 of file Container.h.

Constructor & Destructor Documentation

◆ Container()

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

Definition at line 43 of file Container.cc.

◆ ~Container()

Container::~Container ( void  )

Definition at line 51 of file Container.cc.

Member Function Documentation

◆ addReceiver()

void GenericEventNotifySender::addReceiver ( GenericEventNotifyReceiver r)
inlineinherited

Definition at line 45 of file GenericEventNotify.h.

References GenericEventNotifySender::m_receivers, and r.

Referenced by Figure::Figure().

◆ canvas()

◆ childEvent()

void Container::childEvent ( QChildEvent *  event)
protected

Definition at line 168 of file Container.cc.

◆ event()

bool ContainerBase::event ( QEvent *  evt)
inlineinherited

Definition at line 43 of file Container.h.

◆ gh_callback_event [1/2]

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

Referenced by canvas().

◆ gh_callback_event [2/2]

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

◆ gh_set_event [1/3]

void 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 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 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 Container::interpreter_event ( const octave::fcn_callback fcn)
signal

Referenced by Figure::Figure(), and canvas().

◆ interpreter_event [2/2]

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

◆ notifyReceiversAfter()

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

Definition at line 81 of file GenericEventNotify.h.

References GenericEventNotifySender::m_receivers, and r.

◆ notifyReceiversBefore()

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

Definition at line 70 of file GenericEventNotify.h.

References GenericEventNotifySender::m_receivers, and r.

◆ removeReceiver()

void GenericEventNotifySender::removeReceiver ( GenericEventNotifyReceiver r)
inlineinherited

Definition at line 48 of file GenericEventNotify.h.

References GenericEventNotifySender::m_receivers, and r.

Referenced by Figure::beingDeleted().

◆ resizeEvent()

void Container::resizeEvent ( QResizeEvent *  event)
protected

Member Data Documentation

◆ m_canvas

Canvas* Container::m_canvas
private

Definition at line 85 of file Container.h.

Referenced by canvas(), and resizeEvent().

◆ m_interpreter

octave::interpreter& Container::m_interpreter
private

Definition at line 84 of file Container.h.

Referenced by canvas(), and resizeEvent().

◆ m_octave_qobj

octave::base_qobject& Container::m_octave_qobj
private

Definition at line 83 of file Container.h.

Referenced by canvas().

◆ m_receivers


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