GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "octave-qscintilla.h"
Signals | |
void | context_menu_break_condition_signal (int) |
void | context_menu_break_once (int) |
void | context_menu_edit_signal (const QString &) |
void | create_context_menu_signal (QMenu *) |
void | execute_command_in_terminal_signal (const QString &) |
void | qsci_has_focus_signal (bool) |
void | show_doc_signal (const QString &) |
void | status_update (bool, bool) |
Public Member Functions | |
octave_qscintilla (QWidget *p) | |
~octave_qscintilla () | |
void | context_edit () |
void | context_help_doc (bool) |
void | context_run () |
virtual void | contextMenuEvent (QContextMenuEvent *e) |
bool | get_actual_word () |
void | get_global_textcursor_pos (QPoint *global_pos, QPoint *local_pos) |
Protected Member Functions | |
void | focusInEvent (QFocusEvent *focusEvent) |
Private Slots | |
void | contextmenu_break_condition (bool) |
void | contextmenu_break_once (const QPoint &) |
void | contextmenu_doc (bool) |
void | contextmenu_edit (bool) |
void | contextmenu_help (bool) |
void | contextmenu_help_doc (bool) |
void | contextmenu_run (bool) |
void | text_changed (void) |
Private Attributes | |
QString | _word_at_cursor |
Definition at line 32 of file octave-qscintilla.h.
octave_qscintilla::octave_qscintilla | ( | QWidget * | p | ) |
Definition at line 40 of file octave-qscintilla.cc.
References CTRL, status_update(), and text_changed().
octave_qscintilla::~octave_qscintilla | ( | ) |
Definition at line 137 of file octave-qscintilla.cc.
void octave_qscintilla::context_edit | ( | ) |
Definition at line 175 of file octave-qscintilla.cc.
References contextmenu_edit(), and get_actual_word().
Referenced by file_editor_tab::context_edit().
void octave_qscintilla::context_help_doc | ( | bool | documentation | ) |
Definition at line 167 of file octave-qscintilla.cc.
References contextmenu_help_doc(), and get_actual_word().
Referenced by file_editor_tab::context_help().
|
signal |
Definition at line 185 of file moc-octave-qscintilla.cc.
Referenced by contextmenu_break_condition().
|
signal |
Definition at line 192 of file moc-octave-qscintilla.cc.
Referenced by contextmenu_break_once().
|
signal |
Definition at line 157 of file moc-octave-qscintilla.cc.
Referenced by contextmenu_edit().
void octave_qscintilla::context_run | ( | ) |
Definition at line 183 of file octave-qscintilla.cc.
References contextmenu_run().
Referenced by file_editor_tab::context_run().
|
privateslot |
Definition at line 309 of file octave-qscintilla.cc.
References context_menu_break_condition_signal().
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 324 of file octave-qscintilla.cc.
References context_menu_break_once().
|
privateslot |
Definition at line 270 of file octave-qscintilla.cc.
References contextmenu_help_doc().
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 291 of file octave-qscintilla.cc.
References _word_at_cursor, and context_menu_edit_signal().
Referenced by context_edit(), and contextMenuEvent().
|
privateslot |
Definition at line 275 of file octave-qscintilla.cc.
References contextmenu_help_doc().
Referenced by contextMenuEvent().
|
privateslot |
Definition at line 282 of file octave-qscintilla.cc.
References _word_at_cursor, execute_command_in_terminal_signal(), and show_doc_signal().
Referenced by context_help_doc(), contextmenu_doc(), and contextmenu_help().
|
privateslot |
Definition at line 297 of file octave-qscintilla.cc.
References commands, and execute_command_in_terminal_signal().
Referenced by context_run().
|
virtual |
Definition at line 191 of file octave-qscintilla.cc.
References _word_at_cursor, a, contextmenu_break_condition(), contextmenu_doc(), contextmenu_edit(), contextmenu_help(), create_context_menu_signal(), get_global_textcursor_pos(), and lexer.
|
signal |
Definition at line 150 of file moc-octave-qscintilla.cc.
Referenced by contextMenuEvent().
|
signal |
Definition at line 143 of file moc-octave-qscintilla.cc.
Referenced by contextmenu_help_doc(), and contextmenu_run().
|
protected |
Definition at line 338 of file octave-qscintilla.cc.
References status_update().
bool octave_qscintilla::get_actual_word | ( | ) |
Definition at line 155 of file octave-qscintilla.cc.
References _word_at_cursor, get_global_textcursor_pos(), and lexer.
Referenced by context_edit(), and context_help_doc().
void octave_qscintilla::get_global_textcursor_pos | ( | QPoint * | global_pos, |
QPoint * | local_pos | ||
) |
Definition at line 141 of file octave-qscintilla.cc.
Referenced by contextMenuEvent(), and get_actual_word().
|
signal |
Definition at line 164 of file moc-octave-qscintilla.cc.
|
signal |
Definition at line 178 of file moc-octave-qscintilla.cc.
Referenced by contextmenu_help_doc().
Definition at line 171 of file moc-octave-qscintilla.cc.
Referenced by focusInEvent(), octave_qscintilla(), and text_changed().
|
privateslot |
Definition at line 332 of file octave-qscintilla.cc.
References status_update().
Referenced by octave_qscintilla().
|
private |
Definition at line 79 of file octave-qscintilla.h.
Referenced by contextmenu_edit(), contextmenu_help_doc(), contextMenuEvent(), and get_actual_word().