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

#include "external-editor-interface.h"

Inheritance diagram for octave::external_editor_interface:
Collaboration diagram for octave::external_editor_interface:

Public Slots

bool call_custom_editor (const QString &file=QString(), int line=-1)
 
void handle_edit_file_request (const QString &file)
 
void request_new_file (const QString &)
 
void request_open_file (const QString &fileName, const QString &encoding=QString(), int line=-1, bool debug_pointer=false, bool breakpoint_marker=false, bool insert=true, const QString &cond="")
 

Signals

void request_settings_dialog (const QString &)
 

Public Member Functions

 external_editor_interface (QWidget *main_win, base_qobject &oct_qobj)
 
 ~external_editor_interface (void)=default
 

Private Member Functions

QString external_editor (void)
 

Private Attributes

base_qobjectm_octave_qobj
 

Detailed Description

Definition at line 36 of file external-editor-interface.h.

Constructor & Destructor Documentation

◆ external_editor_interface()

octave::external_editor_interface::external_editor_interface ( QWidget main_win,
base_qobject oct_qobj 
)

Definition at line 40 of file external-editor-interface.cc.

◆ ~external_editor_interface()

octave::external_editor_interface::~external_editor_interface ( void  )
default

Member Function Documentation

◆ call_custom_editor

bool octave::external_editor_interface::call_custom_editor ( const QString &  file = QString (),
int  line = -1 
)
slot

◆ external_editor()

QString octave::external_editor_interface::external_editor ( void  )
private

◆ handle_edit_file_request

void octave::external_editor_interface::handle_edit_file_request ( const QString &  file)
slot

Definition at line 99 of file external-editor-interface.cc.

References call_custom_editor().

◆ request_new_file

void octave::external_editor_interface::request_new_file ( const QString &  )
slot

Definition at line 86 of file external-editor-interface.cc.

References call_custom_editor().

◆ request_open_file

void octave::external_editor_interface::request_open_file ( const QString &  fileName,
const QString &  encoding = QString (),
int  line = -1,
bool  debug_pointer = false,
bool  breakpoint_marker = false,
bool  insert = true,
const QString &  cond = "" 
)
slot

Definition at line 91 of file external-editor-interface.cc.

References call_custom_editor().

◆ request_settings_dialog

void octave::external_editor_interface::request_settings_dialog ( const QString &  )
signal

Referenced by external_editor().

Member Data Documentation

◆ m_octave_qobj

base_qobject& octave::external_editor_interface::m_octave_qobj
private

Definition at line 68 of file external-editor-interface.h.

Referenced by external_editor().


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