#include "command-widget.h"
Public Slots | |
void | insert_interpreter_output (const QString &msg) |
void | notice_settings (const gui_settings *settings) |
void | process_input_line (const QString &input_line) |
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) |
void | new_command_line_signal (const QString &command=QString()) |
Public Member Functions | |
command_widget (base_qobject &oct_qobj, QWidget *p) | |
console * | get_console () |
void | init_command_prompt () |
QString | prompt (void) |
Private Attributes | |
console * | m_console |
bool | m_incomplete_parse |
QString | m_prompt |
Definition at line 81 of file command-widget.h.
command_widget::command_widget | ( | base_qobject & | oct_qobj, |
QWidget * | p | ||
) |
Definition at line 53 of file command-widget.cc.
References interpreter_pause(), interpreter_resume(), interpreter_stop(), console::new_command_line(), and new_command_line_signal().
|
signal |
|
inline |
Definition at line 89 of file command-widget.h.
References m_console.
Referenced by terminal_dock_widget::terminal_dock_widget().
void command_widget::init_command_prompt | ( | ) |
Definition at line 93 of file command-widget.cc.
References command_editor::decode_prompt_string(), interpreter::get_event_manager(), interpreter::get_input_system(), interpreter_event(), new_command_line_signal(), and prompt().
Referenced by terminal_dock_widget::init_command_prompt().
|
slot |
Definition at line 131 of file command-widget.cc.
References m_console.
Referenced by terminal_dock_widget::terminal_dock_widget().
|
signal |
Referenced by init_command_prompt(), and process_input_line().
|
signal |
|
signal |
Referenced by command_widget(), and base_qobject::terminal_widget().
|
signal |
Referenced by command_widget(), and base_qobject::terminal_widget().
|
signal |
Referenced by command_widget(), and base_qobject::terminal_widget().
|
signal |
Referenced by command_widget(), init_command_prompt(), and process_input_line().
|
slot |
Definition at line 172 of file command-widget.cc.
References cs_color_mode(), cs_colors, cs_font(), cs_font_size(), global_mono_font(), gui_pref::key, and m_console.
Referenced by terminal_dock_widget::terminal_dock_widget().
|
slot |
Definition at line 136 of file command-widget.cc.
References command_editor::decode_prompt_string(), interpreter::get_event_manager(), interpreter::get_input_system(), interpreter_event(), m_incomplete_parse, new_command_line_signal(), interpreter::parse_and_execute(), and prompt().
Referenced by console::accept_command_line().
QString command_widget::prompt | ( | void | ) |
Definition at line 126 of file command-widget.cc.
References m_prompt.
Referenced by console::accept_command_line(), console::cursor_position_changed(), init_command_prompt(), console::new_command_line(), process_input_line(), and update_prompt().
|
slot |
Definition at line 121 of file command-widget.cc.
References m_prompt, and prompt().
Referenced by terminal_dock_widget::terminal_dock_widget().
|
private |
Definition at line 122 of file command-widget.h.
Referenced by get_console(), insert_interpreter_output(), and notice_settings().
|
private |
Definition at line 120 of file command-widget.h.
Referenced by process_input_line().
|
private |
Definition at line 121 of file command-widget.h.
Referenced by prompt(), and update_prompt().