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

#include "variable-editor.h"

Inheritance diagram for variable_editor_stack:
Collaboration diagram for variable_editor_stack:

Public Slots

void do_save (const QString &format, const QString &save_opts)
 
void levelUp (void)
 
void save (const QString &format=QString())
 
void set_editable (bool editable)
 

Signals

void do_save_signal (const QString &format, const QString &save_opts)
 
void edit_variable_signal (const QString &name, const octave_value &val)
 
void interpreter_event (const fcn_callback &fcn)
 
void interpreter_event (const meth_callback &meth)
 

Public Member Functions

 variable_editor_stack (QWidget *p, base_qobject &oct_qobj)
 
 ~variable_editor_stack (void)=default
 
QTextEditdisp_view (void)
 
variable_editor_viewedit_view (void)
 

Private Member Functions

QTextEditmake_disp_view (QWidget *parent)
 

Private Attributes

QTextEditm_disp_view
 
variable_editor_viewm_edit_view
 
base_qobjectm_octave_qobj
 

Detailed Description

Definition at line 128 of file variable-editor.h.

Constructor & Destructor Documentation

◆ variable_editor_stack()

variable_editor_stack::variable_editor_stack ( QWidget p,
base_qobject oct_qobj 
)

Definition at line 367 of file variable-editor.cc.

References m_disp_view, m_edit_view, and make_disp_view().

◆ ~variable_editor_stack()

variable_editor_stack::~variable_editor_stack ( void  )
default

Member Function Documentation

◆ disp_view()

QTextEdit* variable_editor_stack::disp_view ( void  )
inline

Definition at line 140 of file variable-editor.h.

References m_disp_view.

◆ do_save

void variable_editor_stack::do_save ( const QString &  format,
const QString &  save_opts 
)
slot

◆ do_save_signal

void variable_editor_stack::do_save_signal ( const QString &  format,
const QString &  save_opts 
)
signal

Referenced by save().

◆ edit_variable_signal

void variable_editor_stack::edit_variable_signal ( const QString &  name,
const octave_value val 
)
signal

◆ edit_view()

variable_editor_view* variable_editor_stack::edit_view ( void  )
inline

Definition at line 138 of file variable-editor.h.

References m_edit_view.

Referenced by variable_editor::edit_variable().

◆ interpreter_event [1/2]

void variable_editor_stack::interpreter_event ( const fcn_callback fcn)
signal

◆ interpreter_event [2/2]

void variable_editor_stack::interpreter_event ( const meth_callback meth)
signal

◆ levelUp

void variable_editor_stack::levelUp ( void  )
slot

Definition at line 429 of file variable-editor.cc.

References edit_variable_signal().

Referenced by variable_editor::edit_variable().

◆ make_disp_view()

QTextEdit * variable_editor_stack::make_disp_view ( QWidget parent)
private

Definition at line 381 of file variable-editor.cc.

Referenced by variable_editor_stack().

◆ save

void variable_editor_stack::save ( const QString &  format = QString ())
slot

◆ set_editable

void variable_editor_stack::set_editable ( bool  editable)
slot

Definition at line 392 of file variable-editor.cc.

References m_disp_view, and m_edit_view.

Referenced by variable_editor::edit_variable().

Member Data Documentation

◆ m_disp_view

QTextEdit* variable_editor_stack::m_disp_view
private

Definition at line 169 of file variable-editor.h.

Referenced by variable_editor_stack(), disp_view(), and set_editable().

◆ m_edit_view

variable_editor_view* variable_editor_stack::m_edit_view
private

Definition at line 167 of file variable-editor.h.

Referenced by variable_editor_stack(), edit_view(), and set_editable().

◆ m_octave_qobj

base_qobject& variable_editor_stack::m_octave_qobj
private

Definition at line 165 of file variable-editor.h.

Referenced by do_save().


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