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

#include "command-widget.h"

Inheritance diagram for octave::command_widget:
Collaboration diagram for octave::command_widget:

Public Slots

void insert_interpreter_output (const QString &msg)
 
void notice_settings (const gui_settings *settings)
 
void update_prompt (const QString &prompt)
 

Signals

void clear_line_edit (void)
 
void interpreter_event (const fcn_callback &fcn)
 
void interpreter_event (const meth_callback &meth)
 
void interpreter_pause (void)
 
void interpreter_resume (void)
 
void interpreter_stop (void)
 

Public Member Functions

 command_widget (base_qobject &oct_qobj, QWidget *p)
 

Protected Slots

void accept_input_line (void)
 

Private Attributes

bool m_incomplete_parse
 
QColor m_input_color
 
QLineEditm_line_edit
 
QTextBrowserm_output_display
 
QLabelm_prompt
 

Detailed Description

Definition at line 43 of file command-widget.h.

Constructor & Destructor Documentation

◆ command_widget()

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

Member Function Documentation

◆ accept_input_line

◆ clear_line_edit

void octave::command_widget::clear_line_edit ( void  )
signal

◆ insert_interpreter_output

void octave::command_widget::insert_interpreter_output ( const QString &  msg)
slot

Definition at line 104 of file command-widget.cc.

References m_output_display.

Referenced by octave::terminal_dock_widget::terminal_dock_widget().

◆ interpreter_event [1/2]

void octave::command_widget::interpreter_event ( const fcn_callback fcn)
signal

Referenced by accept_input_line().

◆ interpreter_event [2/2]

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

◆ interpreter_pause

void octave::command_widget::interpreter_pause ( void  )
signal

◆ interpreter_resume

void octave::command_widget::interpreter_resume ( void  )
signal

◆ interpreter_stop

void octave::command_widget::interpreter_stop ( void  )
signal

◆ notice_settings

void octave::command_widget::notice_settings ( const gui_settings settings)
slot

◆ update_prompt

void octave::command_widget::update_prompt ( const QString &  prompt)
slot

Definition at line 99 of file command-widget.cc.

References m_prompt.

Referenced by octave::terminal_dock_widget::terminal_dock_widget().

Member Data Documentation

◆ m_incomplete_parse

bool octave::command_widget::m_incomplete_parse
private

Definition at line 76 of file command-widget.h.

Referenced by accept_input_line().

◆ m_input_color

QColor octave::command_widget::m_input_color
private

Definition at line 80 of file command-widget.h.

Referenced by accept_input_line(), and notice_settings().

◆ m_line_edit

QLineEdit* octave::command_widget::m_line_edit
private

Definition at line 78 of file command-widget.h.

Referenced by command_widget(), accept_input_line(), and notice_settings().

◆ m_output_display

QTextBrowser* octave::command_widget::m_output_display
private

◆ m_prompt

QLabel* octave::command_widget::m_prompt
private

Definition at line 77 of file command-widget.h.

Referenced by command_widget(), and update_prompt().


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