GNU Octave  4.4.1
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=nullptr)
 
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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ variable_editor_stack()

octave::variable_editor_stack::variable_editor_stack ( QWidget p = nullptr)

Definition at line 276 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 108 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 106 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 336 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 288 of file variable-editor.cc.

Referenced by variable_editor_stack().

◆ save

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

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

References arg, command_signal(), file, and name.

◆ set_editable

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

Definition at line 299 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 130 of file variable-editor.h.

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

◆ m_edit_view

variable_editor_view* octave::variable_editor_stack::m_edit_view
private

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

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


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