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

#include "variable-editor.h"

Inheritance diagram for octave::variable_editor_stack:
Collaboration diagram for octave::variable_editor_stack:

Public Slots

void levelUp (void)
 
void save (void)
 
void set_editable (bool editable)
 

Signals

void command_signal (const QString &cmd)
 
void edit_variable_signal (const QString &name, const octave_value &val)
 

Public Member Functions

 variable_editor_stack (QWidget *p, base_qobject &oct_qobj)
 
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 129 of file variable-editor.h.

Constructor & Destructor Documentation

◆ variable_editor_stack()

octave::variable_editor_stack::variable_editor_stack ( QWidget p,
base_qobject oct_qobj 
)

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

References m_disp_view, m_edit_view, and make_disp_view().

Member Function Documentation

◆ command_signal

void octave::variable_editor_stack::command_signal ( const QString &  cmd)
signal

Referenced by save().

◆ disp_view()

QTextEdit* octave::variable_editor_stack::disp_view ( void  )
inline

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

References m_disp_view.

◆ edit_variable_signal

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

Referenced by levelUp().

◆ edit_view()

variable_editor_view* octave::variable_editor_stack::edit_view ( void  )
inline

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

References m_edit_view.

Referenced by octave::variable_editor::edit_variable().

◆ levelUp

void octave::variable_editor_stack::levelUp ( void  )
slot

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

References edit_variable_signal(), and name.

◆ make_disp_view()

QTextEdit * octave::variable_editor_stack::make_disp_view ( QWidget parent)
private

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

Referenced by variable_editor_stack().

◆ save

void octave::variable_editor_stack::save ( void  )
slot

◆ set_editable

void octave::variable_editor_stack::set_editable ( bool  editable)
slot

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

References m_disp_view, and m_edit_view.

Member Data Documentation

◆ m_disp_view

QTextEdit* octave::variable_editor_stack::m_disp_view
private

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

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

◆ m_edit_view

variable_editor_view* octave::variable_editor_stack::m_edit_view
private

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

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

◆ m_octave_qobj

base_qobject& octave::variable_editor_stack::m_octave_qobj
private

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

Referenced by save().


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