GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Signals | Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
octave_qscintilla Class Reference

#include "octave-qscintilla.h"

Inheritance diagram for octave_qscintilla:
Inheritance graph
Collaboration diagram for octave_qscintilla:
Collaboration graph


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

Detailed Description

Definition at line 32 of file octave-qscintilla.h.

Constructor & Destructor Documentation

octave_qscintilla::octave_qscintilla ( QWidget p)

Definition at line 40 of file

References CTRL, status_update(), and text_changed().

octave_qscintilla::~octave_qscintilla ( )

Definition at line 137 of file

Member Function Documentation

void octave_qscintilla::context_edit ( )

Definition at line 175 of file

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

References contextmenu_help_doc(), and get_actual_word().

Referenced by file_editor_tab::context_help().

void octave_qscintilla::context_menu_break_condition_signal ( int  _t1)

Definition at line 185 of file

Referenced by contextmenu_break_condition().

void octave_qscintilla::context_menu_break_once ( int  _t1)

Definition at line 192 of file

Referenced by contextmenu_break_once().

void octave_qscintilla::context_menu_edit_signal ( const QString &  _t1)

Definition at line 157 of file

Referenced by contextmenu_edit().

void octave_qscintilla::context_run ( )

Definition at line 183 of file

References contextmenu_run().

Referenced by file_editor_tab::context_run().

void octave_qscintilla::contextmenu_break_condition ( bool  )

Definition at line 309 of file

References context_menu_break_condition_signal().

Referenced by contextMenuEvent().

void octave_qscintilla::contextmenu_break_once ( const QPoint &  local_pos)

Definition at line 324 of file

References context_menu_break_once().

void octave_qscintilla::contextmenu_doc ( bool  )

Definition at line 270 of file

References contextmenu_help_doc().

Referenced by contextMenuEvent().

void octave_qscintilla::contextmenu_edit ( bool  )

Definition at line 291 of file

References _word_at_cursor, and context_menu_edit_signal().

Referenced by context_edit(), and contextMenuEvent().

void octave_qscintilla::contextmenu_help ( bool  )

Definition at line 275 of file

References contextmenu_help_doc().

Referenced by contextMenuEvent().

void octave_qscintilla::contextmenu_help_doc ( bool  documentation)
void octave_qscintilla::contextmenu_run ( bool  )

Definition at line 297 of file

References commands, and execute_command_in_terminal_signal().

Referenced by context_run().

void octave_qscintilla::contextMenuEvent ( QContextMenuEvent *  e)
void octave_qscintilla::create_context_menu_signal ( QMenu *  _t1)

Definition at line 150 of file

Referenced by contextMenuEvent().

void octave_qscintilla::execute_command_in_terminal_signal ( const QString &  _t1)

Definition at line 143 of file

Referenced by contextmenu_help_doc(), and contextmenu_run().

void octave_qscintilla::focusInEvent ( QFocusEvent *  focusEvent)

Definition at line 338 of file

References status_update().

bool octave_qscintilla::get_actual_word ( )

Definition at line 155 of file

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

Referenced by contextMenuEvent(), and get_actual_word().

void octave_qscintilla::qsci_has_focus_signal ( bool  _t1)

Definition at line 164 of file

void octave_qscintilla::show_doc_signal ( const QString &  _t1)

Definition at line 178 of file

Referenced by contextmenu_help_doc().

void octave_qscintilla::status_update ( bool  _t1,
bool  _t2 

Definition at line 171 of file

Referenced by focusInEvent(), octave_qscintilla(), and text_changed().

void octave_qscintilla::text_changed ( void  )

Definition at line 332 of file

References status_update().

Referenced by octave_qscintilla().

Member Data Documentation

QString octave_qscintilla::_word_at_cursor

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