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

#include "qt-graphics-toolkit.h"

Inheritance diagram for QtHandles::qt_graphics_toolkit:
Collaboration diagram for QtHandles::qt_graphics_toolkit:

Public Slots

void create_object (double handle)
 
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)
 

Signals

void create_object_signal (double handle)
 

Public Member Functions

 qt_graphics_toolkit (octave::interpreter &interp, octave::base_qobject &oct_qobj)
 
 ~qt_graphics_toolkit (void)=default
 
virtual void close (void)
 
void finalize (const graphics_handle &)
 
void finalize (const graphics_object &obj)
 
virtual Matrix get_canvas_size (const graphics_handle &) const
 
std::string get_name (void) const
 
uint8NDArray get_pixels (const graphics_object &go) const
 
virtual double get_screen_resolution (void) const
 
virtual Matrix get_screen_size (void) const
 
Matrix get_text_extent (const graphics_object &go) const
 
bool initialize (const graphics_handle &)
 
bool initialize (const graphics_object &obj)
 
bool is_valid (void) const
 
void print_figure (const graphics_object &go, const std::string &term, const std::string &file_cmd, const std::string &) const
 
void redraw_figure (const graphics_object &h) const
 
void show_figure (const graphics_object &h) const
 
void update (const graphics_handle &, int)
 
void update (const graphics_object &obj, int pId)
 

Static Public Member Functions

static ObjecttoolkitObject (const graphics_object &go)
 
static ObjectProxytoolkitObjectProxy (const graphics_object &go)
 

Private Member Functions

void gripe_if_tkit_invalid (const std::string &fname) const
 

Private Attributes

octave::interpreterm_interpreter
 
std::string m_name
 
octave::base_qobjectm_octave_qobj
 

Detailed Description

Definition at line 45 of file qt-graphics-toolkit.h.

Constructor & Destructor Documentation

◆ qt_graphics_toolkit()

QtHandles::qt_graphics_toolkit::qt_graphics_toolkit ( octave::interpreter interp,
octave::base_qobject oct_qobj 
)

Definition at line 101 of file qt-graphics-toolkit.cc.

References create_object(), and create_object_signal().

◆ ~qt_graphics_toolkit()

QtHandles::qt_graphics_toolkit::~qt_graphics_toolkit ( void  )
default

Member Function Documentation

◆ close()

virtual void octave::base_graphics_toolkit::close ( void  )
inlinevirtualinherited

◆ create_object

◆ create_object_signal

void QtHandles::qt_graphics_toolkit::create_object_signal ( double  handle)
signal

Referenced by qt_graphics_toolkit(), and initialize().

◆ finalize() [1/2]

void octave::base_graphics_toolkit::finalize ( const graphics_handle h)
inherited

◆ finalize() [2/2]

◆ get_canvas_size()

virtual Matrix octave::base_graphics_toolkit::get_canvas_size ( const graphics_handle ) const
inlinevirtualinherited

◆ get_name()

std::string octave::base_graphics_toolkit::get_name ( void  ) const
inlineinherited

Definition at line 61 of file graphics-toolkit.h.

References octave::base_graphics_toolkit::m_name.

◆ get_pixels()

uint8NDArray QtHandles::qt_graphics_toolkit::get_pixels ( const graphics_object go) const
virtual

◆ get_screen_resolution()

virtual double octave::base_graphics_toolkit::get_screen_resolution ( void  ) const
inlinevirtualinherited

◆ get_screen_size()

virtual Matrix octave::base_graphics_toolkit::get_screen_size ( void  ) const
inlinevirtualinherited

◆ get_text_extent()

◆ gh_callback_event [1/2]

void QtHandles::qt_graphics_toolkit::gh_callback_event ( const graphics_handle h,
const std::string &  name 
)
slot

◆ gh_callback_event [2/2]

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

◆ gh_set_event [1/3]

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

◆ gh_set_event [2/3]

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

◆ gh_set_event [3/3]

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

◆ gripe_if_tkit_invalid()

◆ initialize() [1/2]

bool octave::base_graphics_toolkit::initialize ( const graphics_handle h)
inherited

◆ initialize() [2/2]

◆ interpreter_event [1/2]

void QtHandles::qt_graphics_toolkit::interpreter_event ( const octave::fcn_callback fcn)
slot

◆ interpreter_event [2/2]

void QtHandles::qt_graphics_toolkit::interpreter_event ( const octave::meth_callback meth)
slot

◆ is_valid()

bool QtHandles::qt_graphics_toolkit::is_valid ( void  ) const
inlinevirtual

Reimplemented from octave::base_graphics_toolkit.

Definition at line 72 of file qt-graphics-toolkit.h.

◆ print_figure()

void QtHandles::qt_graphics_toolkit::print_figure ( const graphics_object go,
const std::string &  term,
const std::string &  file_cmd,
const std::string &   
) const
virtual

◆ redraw_figure()

void QtHandles::qt_graphics_toolkit::redraw_figure ( const graphics_object h) const
virtual

◆ show_figure()

void QtHandles::qt_graphics_toolkit::show_figure ( const graphics_object h) const
virtual

◆ toolkitObject()

◆ toolkitObjectProxy()

◆ update() [1/2]

void octave::base_graphics_toolkit::update ( const graphics_handle h,
int  id 
)
inherited

◆ update() [2/2]

void QtHandles::qt_graphics_toolkit::update ( const graphics_object obj,
int  pId 
)
virtual

Member Data Documentation

◆ m_interpreter

octave::interpreter& QtHandles::qt_graphics_toolkit::m_interpreter
private

◆ m_name

std::string octave::base_graphics_toolkit::m_name
privateinherited

Definition at line 157 of file graphics-toolkit.h.

Referenced by octave::base_graphics_toolkit::get_name().

◆ m_octave_qobj

octave::base_qobject& QtHandles::qt_graphics_toolkit::m_octave_qobj
private

Definition at line 126 of file qt-graphics-toolkit.h.

Referenced by create_object().


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