GNU Octave  4.0.0
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
Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | List of all members
file_editor Class Reference

#include "file-editor.h"

Inheritance diagram for file_editor:
Inheritance graph
[legend]
Collaboration diagram for file_editor:
Collaboration graph
[legend]

Public Types

typedef std::map< QString,
QWidget * >::const_iterator 
editor_tab_map_const_iterator
 
typedef std::map< QString,
QWidget * >::iterator 
editor_tab_map_iterator
 

Public Slots

void active_tab_changed (int index)
 
bool check_closing (void)
 
void check_conflict_save (const QString &fileName, bool remove_on_success)
 
void enable_menu_shortcuts (bool)
 
void focus (void)
 
void handle_active_dock_changed (octave_dock_widget *, octave_dock_widget *)
 
void handle_add_filename_to_list (const QString &fileName, QWidget *ID)
 
void handle_delete_debugger_pointer_request (const QString &file, int line)
 
void handle_edit_file_request (const QString &file)
 
void handle_editor_state_changed (bool enableCopy, bool is_octave_file)
 
void handle_file_name_changed (const QString &fileName, const QString &toolTip)
 
void handle_insert_debugger_pointer_request (const QString &file, int line)
 
void handle_mru_add_file (const QString &file_name)
 
void handle_settings (const QSettings *)
 
void handle_tab_close_request (int index)
 
void handle_tab_remove_request (void)
 
void handle_update_breakpoint_marker_request (bool insert, const QString &file, int line)
 
void handle_visibility (bool visible)
 
QMainWindowmain_win ()
 
void notice_settings (const QSettings *settings)
 
void request_close_all_files (bool)
 
void request_close_file (bool)
 
void request_close_other_files (bool)
 
void request_comment_selected_text (bool)
 
void request_completion (bool)
 
void request_context_doc (bool)
 
void request_context_edit (bool)
 
void request_context_help (bool)
 
void request_context_run (bool)
 
void request_conv_eol_mac (bool)
 
void request_conv_eol_unix (bool)
 
void request_conv_eol_windows (bool)
 
void request_copy (bool)
 
void request_copy_line (bool)
 
void request_cut (bool)
 
void request_cut_line (bool)
 
void request_delete_end_line (bool)
 
void request_delete_end_word (bool)
 
void request_delete_line (bool)
 
void request_delete_start_line (bool)
 
void request_delete_start_word (bool)
 
void request_duplicate_selection (bool)
 
void request_find (bool)
 
void request_goto_line (bool)
 
void request_indent_selected_text (bool)
 
void request_lower_case (bool)
 
void request_move_match_brace (bool)
 
void request_mru_open_file (QAction *action)
 
void request_new_file (const QString &commands)
 
void request_new_function (bool triggered=true)
 
void request_new_script (const QString &commands)
 
void request_next_bookmark (bool)
 
void request_next_breakpoint (bool)
 
void request_open_file (void)
 
void request_paste (bool)
 
void request_previous_bookmark (bool)
 
void request_previous_breakpoint (bool)
 
void request_print_file (bool)
 
void request_redo (bool)
 
void request_remove_bookmark (bool)
 
void request_remove_breakpoint (bool)
 
void request_run_file (bool)
 
void request_save_file (bool)
 
void request_save_file_as (bool)
 
void request_sel_match_brace (bool)
 
void request_selectall (bool)
 
void request_toggle_bookmark (bool)
 
void request_toggle_breakpoint (bool)
 
void request_transpose_line (bool)
 
void request_uncomment_selected_text (bool)
 
void request_undo (bool)
 
void request_unindent_selected_text (bool)
 
void request_upper_case (bool)
 
void set_shortcuts ()
 
void update_octave_directory (const QString &dir)
 

Signals

void active_changed (bool active)
 Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget has changed. More...
 
void execute_command_in_terminal_signal (const QString &)
 
void fetab_change_request (const QWidget *ID)
 
void fetab_check_modified_file (void)
 
void fetab_comment_selected_text (const QWidget *ID)
 
void fetab_completion (const QWidget *)
 
void fetab_context_edit (const QWidget *ID)
 
void fetab_context_help (const QWidget *ID, bool)
 
void fetab_context_run (const QWidget *ID)
 
void fetab_convert_eol (const QWidget *ID, QsciScintilla::EolMode eol_mode)
 
void fetab_delete_debugger_pointer (const QWidget *ID, int line=-1)
 
void fetab_do_breakpoint_marker (bool insert, const QWidget *ID, int line=-1)
 
void fetab_file_name_query (const QWidget *ID)
 
void fetab_find (const QWidget *ID)
 
void fetab_goto_line (const QWidget *ID, int line=-1)
 
void fetab_indent_selected_text (const QWidget *ID)
 
void fetab_insert_debugger_pointer (const QWidget *ID, int line=-1)
 
void fetab_move_match_brace (const QWidget *ID, bool select)
 
void fetab_next_bookmark (const QWidget *ID)
 
void fetab_next_breakpoint (const QWidget *ID)
 
void fetab_previous_bookmark (const QWidget *ID)
 
void fetab_previous_breakpoint (const QWidget *ID)
 
void fetab_print_file (const QWidget *ID)
 
void fetab_remove_all_breakpoints (const QWidget *ID)
 
void fetab_remove_bookmark (const QWidget *ID)
 
void fetab_run_file (const QWidget *ID)
 
void fetab_save_file (const QWidget *ID, const QString &fileName, bool remove_on_success)
 
void fetab_save_file (const QWidget *ID)
 
void fetab_save_file_as (const QWidget *ID)
 
void fetab_scintilla_command (const QWidget *ID, unsigned int sci_msg)
 
void fetab_set_directory (const QString &dir)
 
void fetab_set_focus (const QWidget *ID)
 
void fetab_settings_changed (const QSettings *settings)
 
void fetab_toggle_bookmark (const QWidget *ID)
 
void fetab_toggle_breakpoint (const QWidget *ID)
 
void fetab_uncomment_selected_text (const QWidget *ID)
 
void fetab_unindent_selected_text (const QWidget *ID)
 
void fetab_zoom_in (const QWidget *ID)
 
void fetab_zoom_normal (const QWidget *ID)
 
void fetab_zoom_out (const QWidget *ID)
 
void file_loaded_signal ()
 
void request_settings_dialog (const QString &)
 

Public Member Functions

 file_editor (QWidget *p)
 
 ~file_editor (void)
 
void check_actions (void)
 
virtual void connect_visibility_changed (void)
 
QMenu * debug_menu (void)
 
void empty_script (bool startup, bool visible)
 
QMenu * get_mru_menu (void)
 
void handle_enter_debug_mode (void)
 
void handle_exit_debug_mode (void)
 
void insert_new_open_actions (QAction *, QAction *, QAction *)
 
void loadFile (const QString &fileName)
 
void make_widget (bool dock=true)
 
void make_window (void)
 
void set_predecessor_widget (octave_dock_widget *prev_widget)
 
void set_title (const QString &)
 
QToolBar * toolbar (void)
 

Protected Slots

virtual void add_actions (QList< QAction * > action_list)
 
void copyClipboard ()
 
void do_undo ()
 
bool eventFilter (QObject *obj, QEvent *e)
 
virtual void handle_visibility_changed (bool visible)
 Slot to steer changing visibility from outside. More...
 
void pasteClipboard ()
 
void selectAll ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 
void dragEnterEvent (QDragEnterEvent *event)
 
void dropEvent (QDropEvent *event)
 
QWidgetfocusWidget ()
 

Private Types

enum  { MaxMRUFiles = 10 }
 

Private Slots

void create_context_menu (QMenu *)
 
void edit_status_update (bool, bool)
 
void request_open_file (const QString &fileName, int line=-1, bool debug_pointer=false, bool breakpoint_marker=false, bool insert=true)
 
void request_open_files (const QStringList &)
 
void request_preferences (bool)
 
void request_styles_preferences (bool)
 
void restore_create_file_setting ()
 
void show_eol_chars (bool)
 
void show_indent_guides (bool)
 
void show_line_numbers (bool)
 
void show_long_line (bool)
 
void show_white_space (bool)
 
void zoom_in (bool)
 
void zoom_normal (bool)
 
void zoom_out (bool)
 

Private Member Functions

QAction * add_action (QMenu *menu, const QIcon &icon, const QString &text, const char *member)
 
void add_file_editor_tab (file_editor_tab *f, const QString &fn)
 
bool call_custom_editor (const QString &file_name=QString(), int line=-1)
 
void construct (void)
 
bool editor_tab_has_focus ()
 
QWidgetfind_tab_widget (const QString &openFileName) const
 
bool is_editor_console_tabbed ()
 
QMenu * m_add_menu (QMenuBar *p, QString text)
 
void mru_menu_update (void)
 
void save_file_as (QWidget *fetabID=0)
 
void toggle_preference (const QString &preference, bool def)
 

Private Attributes

QAction * _close_action
 
QAction * _close_all_action
 
QAction * _close_others_action
 
QAction * _comment_selection_action
 
QAction * _completion_action
 
QAction * _context_doc_action
 
QAction * _context_help_action
 
QAction * _conv_eol_mac_action
 
QAction * _conv_eol_unix_action
 
QAction * _conv_eol_windows_action
 
QAction * _copy_action
 
QAction * _copy_line_action
 
QAction * _cut_action
 
QAction * _cut_line_action
 
QMenu * _debug_menu
 
QAction * _delete_end_line_action
 
QAction * _delete_end_word_action
 
QAction * _delete_line_action
 
QAction * _delete_start_line_action
 
QAction * _delete_start_word_action
 
QAction * _duplicate_selection_action
 
QMenu * _edit_cmd_menu
 
QMenu * _edit_fmt_menu
 
QAction * _edit_function_action
 
QMenu * _edit_nav_menu
 
QMenu * _fileMenu
 
QAction * _find_action
 
QAction * _goto_line_action
 
QHash< QMenu *, QStringList > _hash_menu_text
 
QAction * _indent_selection_action
 
QAction * _lower_case_action
 
int _marker_breakpoint
 
QMenuBar_menu_bar
 
QAction * _move_to_matching_brace
 
QAction * _mru_file_actions [MaxMRUFiles]
 
QMenu * _mru_file_menu
 
QStringList _mru_files
 
QAction * _new_action
 
QAction * _new_function_action
 
QAction * _next_bookmark_action
 
QAction * _next_breakpoint_action
 
QAction * _open_action
 
QAction * _paste_action
 
QAction * _preferences_action
 
QAction * _previous_bookmark_action
 
QAction * _previous_breakpoint_action
 
QAction * _print_action
 
QAction * _redo_action
 
QAction * _remove_all_breakpoints_action
 
QAction * _remove_bookmark_action
 
QAction * _run_action
 
QAction * _run_selection_action
 
QAction * _save_action
 
QAction * _save_as_action
 
QAction * _sel_to_matching_brace
 
QAction * _selectall_action
 
QAction * _show_eol_action
 
QAction * _show_indguide_action
 
QAction * _show_linenum_action
 
QAction * _show_longline_action
 
QAction * _show_whitespace_action
 
QAction * _styles_preferences_action
 
QTabWidget * _tab_widget
 
QAction * _toggle_bookmark_action
 
QAction * _toggle_breakpoint_action
 
QToolBar * _tool_bar
 
QAction * _transpose_line_action
 
QAction * _uncomment_selection_action
 
QAction * _undo_action
 
QAction * _unindent_selection_action
 
QAction * _upper_case_action
 
QMenu * _view_editor_menu
 
QAction * _zoom_in_action
 
QAction * _zoom_normal_action
 
QAction * _zoom_out_action
 
QString ced
 
std::map< QString, QWidget * > editor_tab_map
 

Detailed Description

Definition at line 42 of file file-editor.h.

Member Typedef Documentation

typedef std::map<QString, QWidget *>::const_iterator file_editor::editor_tab_map_const_iterator

Definition at line 49 of file file-editor.h.

typedef std::map<QString, QWidget *>::iterator file_editor::editor_tab_map_iterator

Definition at line 48 of file file-editor.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MaxMRUFiles 

Definition at line 356 of file file-editor.h.

Constructor & Destructor Documentation

file_editor::file_editor ( QWidget p)
file_editor::~file_editor ( void  )

Member Function Documentation

void octave_dock_widget::active_changed ( bool  active)
signalinherited

Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget has changed.

Definition at line 143 of file moc-octave-dock-widget.cc.

Referenced by octave_dock_widget::change_visibility(), octave_dock_widget::closeEvent(), workspace_view::closeEvent(), octave_dock_widget::connect_visibility_changed(), and octave_dock_widget::handle_visibility_changed().

void file_editor::active_tab_changed ( int  index)
slot
QAction* file_editor::add_action ( QMenu *  menu,
const QIcon &  icon,
const QString &  text,
const char member 
)
private
void octave_dock_widget::add_actions ( QList< QAction * >  action_list)
protectedvirtualslotinherited

Definition at line 485 of file octave-dock-widget.cc.

Referenced by octave_dock_widget::octave_dock_widget().

void file_editor::add_file_editor_tab ( file_editor_tab f,
const QString &  fn 
)
private
bool file_editor::call_custom_editor ( const QString &  file_name = QString(),
int  line = -1 
)
private
void file_editor::check_actions ( void  )
bool file_editor::check_closing ( void  )
slot
void file_editor::check_conflict_save ( const QString &  fileName,
bool  remove_on_success 
)
slot
void octave_dock_widget::closeEvent ( QCloseEvent *  e)
protectedvirtualinherited
void octave_dock_widget::connect_visibility_changed ( void  )
virtualinherited
void file_editor::construct ( void  )
private
void file_editor::copyClipboard ( )
protectedslot
void file_editor::create_context_menu ( QMenu *  )
privateslot
QMenu* file_editor::debug_menu ( void  )
virtual

Implements file_editor_interface.

void file_editor::do_undo ( )
protectedslot
void file_editor::dragEnterEvent ( QDragEnterEvent *  event)
protected
void file_editor::dropEvent ( QDropEvent *  event)
protected
void file_editor::edit_status_update ( bool  ,
bool   
)
privateslot
bool file_editor::editor_tab_has_focus ( )
private
void file_editor::empty_script ( bool  startup,
bool  visible 
)
virtual

Implements file_editor_interface.

void file_editor::enable_menu_shortcuts ( bool  )
slot
bool octave_dock_widget::eventFilter ( QObject obj,
QEvent *  e 
)
protectedslotinherited

Definition at line 455 of file octave-dock-widget.cc.

void file_editor::execute_command_in_terminal_signal ( const QString &  _t1)
signal

Definition at line 787 of file moc-file-editor.cc.

void file_editor::fetab_change_request ( const QWidget ID)
signal

Definition at line 522 of file moc-file-editor.cc.

void file_editor::fetab_check_modified_file ( void  )
signal

Definition at line 557 of file moc-file-editor.cc.

void file_editor::fetab_comment_selected_text ( const QWidget ID)
signal

Definition at line 654 of file moc-file-editor.cc.

void file_editor::fetab_completion ( const QWidget _t1)
signal

Definition at line 710 of file moc-file-editor.cc.

void file_editor::fetab_context_edit ( const QWidget ID)
signal

Definition at line 550 of file moc-file-editor.cc.

void file_editor::fetab_context_help ( const QWidget ID,
bool  _t2 
)
signal

Definition at line 543 of file moc-file-editor.cc.

void file_editor::fetab_context_run ( const QWidget ID)
signal

Definition at line 591 of file moc-file-editor.cc.

void file_editor::fetab_convert_eol ( const QWidget ID,
QsciScintilla::EolMode  eol_mode 
)
signal

Definition at line 682 of file moc-file-editor.cc.

void file_editor::fetab_delete_debugger_pointer ( const QWidget ID,
int  line = -1 
)
signal

Definition at line 724 of file moc-file-editor.cc.

void file_editor::fetab_do_breakpoint_marker ( bool  insert,
const QWidget ID,
int  line = -1 
)
signal

Definition at line 731 of file moc-file-editor.cc.

void file_editor::fetab_file_name_query ( const QWidget ID)
signal

Definition at line 529 of file moc-file-editor.cc.

void file_editor::fetab_find ( const QWidget ID)
signal

Definition at line 689 of file moc-file-editor.cc.

void file_editor::fetab_goto_line ( const QWidget ID,
int  line = -1 
)
signal

Definition at line 696 of file moc-file-editor.cc.

void file_editor::fetab_indent_selected_text ( const QWidget ID)
signal

Definition at line 668 of file moc-file-editor.cc.

void file_editor::fetab_insert_debugger_pointer ( const QWidget ID,
int  line = -1 
)
signal

Definition at line 717 of file moc-file-editor.cc.

void file_editor::fetab_move_match_brace ( const QWidget ID,
bool  select 
)
signal

Definition at line 703 of file moc-file-editor.cc.

void file_editor::fetab_next_bookmark ( const QWidget ID)
signal

Definition at line 605 of file moc-file-editor.cc.

void file_editor::fetab_next_breakpoint ( const QWidget ID)
signal

Definition at line 633 of file moc-file-editor.cc.

void file_editor::fetab_previous_bookmark ( const QWidget ID)
signal

Definition at line 612 of file moc-file-editor.cc.

void file_editor::fetab_previous_breakpoint ( const QWidget ID)
signal

Definition at line 640 of file moc-file-editor.cc.

void file_editor::fetab_print_file ( const QWidget ID)
signal

Definition at line 577 of file moc-file-editor.cc.

void file_editor::fetab_remove_all_breakpoints ( const QWidget ID)
signal

Definition at line 647 of file moc-file-editor.cc.

void file_editor::fetab_remove_bookmark ( const QWidget ID)
signal

Definition at line 619 of file moc-file-editor.cc.

void file_editor::fetab_run_file ( const QWidget ID)
signal

Definition at line 584 of file moc-file-editor.cc.

void file_editor::fetab_save_file ( const QWidget ID,
const QString &  fileName,
bool  remove_on_success 
)
signal

Definition at line 536 of file moc-file-editor.cc.

void file_editor::fetab_save_file ( const QWidget ID)
signal

Definition at line 563 of file moc-file-editor.cc.

void file_editor::fetab_save_file_as ( const QWidget ID)
signal

Definition at line 570 of file moc-file-editor.cc.

void file_editor::fetab_scintilla_command ( const QWidget ID,
unsigned int  sci_msg 
)
signal

Definition at line 745 of file moc-file-editor.cc.

void file_editor::fetab_set_directory ( const QString &  dir)
signal

Definition at line 773 of file moc-file-editor.cc.

void file_editor::fetab_set_focus ( const QWidget ID)
signal

Definition at line 738 of file moc-file-editor.cc.

void file_editor::fetab_settings_changed ( const QSettings *  settings)
signal

Definition at line 515 of file moc-file-editor.cc.

void file_editor::fetab_toggle_bookmark ( const QWidget ID)
signal

Definition at line 598 of file moc-file-editor.cc.

void file_editor::fetab_toggle_breakpoint ( const QWidget ID)
signal

Definition at line 626 of file moc-file-editor.cc.

void file_editor::fetab_uncomment_selected_text ( const QWidget ID)
signal

Definition at line 661 of file moc-file-editor.cc.

void file_editor::fetab_unindent_selected_text ( const QWidget ID)
signal

Definition at line 675 of file moc-file-editor.cc.

void file_editor::fetab_zoom_in ( const QWidget ID)
signal

Definition at line 752 of file moc-file-editor.cc.

void file_editor::fetab_zoom_normal ( const QWidget ID)
signal

Definition at line 766 of file moc-file-editor.cc.

void file_editor::fetab_zoom_out ( const QWidget ID)
signal

Definition at line 759 of file moc-file-editor.cc.

void file_editor::file_loaded_signal ( )
signal

Definition at line 794 of file moc-file-editor.cc.

QWidget* file_editor::find_tab_widget ( const QString &  openFileName) const
private
void file_editor::focus ( void  )
slot
QWidget * octave_dock_widget::focusWidget ( )
protectedinherited

Definition at line 311 of file octave-dock-widget.cc.

References Faddeeva::w().

QMenu* file_editor::get_mru_menu ( void  )
inlinevirtual

Implements file_editor_interface.

Definition at line 56 of file file-editor.h.

References _mru_file_menu.

void octave_dock_widget::handle_active_dock_changed ( octave_dock_widget w_old,
octave_dock_widget w_new 
)
slotinherited
void file_editor::handle_add_filename_to_list ( const QString &  fileName,
QWidget ID 
)
slot
void file_editor::handle_delete_debugger_pointer_request ( const QString &  file,
int  line 
)
slot
void file_editor::handle_edit_file_request ( const QString &  file)
slot
void file_editor::handle_editor_state_changed ( bool  enableCopy,
bool  is_octave_file 
)
slot
void file_editor::handle_enter_debug_mode ( void  )
virtual

Implements file_editor_interface.

void file_editor::handle_exit_debug_mode ( void  )
virtual

Implements file_editor_interface.

void file_editor::handle_file_name_changed ( const QString &  fileName,
const QString &  toolTip 
)
slot
void file_editor::handle_insert_debugger_pointer_request ( const QString &  file,
int  line 
)
slot
void file_editor::handle_mru_add_file ( const QString &  file_name)
slot
void octave_dock_widget::handle_settings ( const QSettings *  settings)
slotinherited
void file_editor::handle_tab_close_request ( int  index)
slot
void file_editor::handle_tab_remove_request ( void  )
slot
void file_editor::handle_update_breakpoint_marker_request ( bool  insert,
const QString &  file,
int  line 
)
slot
void file_editor::handle_visibility ( bool  visible)
slot
virtual void octave_dock_widget::handle_visibility_changed ( bool  visible)
inlineprotectedvirtualslotinherited

Slot to steer changing visibility from outside.

Definition at line 90 of file octave-dock-widget.h.

References octave_dock_widget::active_changed().

Referenced by octave_dock_widget::octave_dock_widget().

void file_editor::insert_new_open_actions ( QAction *  ,
QAction *  ,
QAction *   
)
virtual

Implements file_editor_interface.

bool file_editor::is_editor_console_tabbed ( )
private
void file_editor::loadFile ( const QString &  fileName)
QMenu* file_editor::m_add_menu ( QMenuBar p,
QString  text 
)
private
QMainWindow* octave_dock_widget::main_win ( )
inlineslotinherited

Definition at line 85 of file octave-dock-widget.h.

References octave_dock_widget::_parent.

Referenced by files_dock_widget::files_dock_widget().

void octave_dock_widget::make_widget ( bool  dock = true)
inherited
void octave_dock_widget::make_window ( void  )
inherited
void file_editor::mru_menu_update ( void  )
private
void file_editor::notice_settings ( const QSettings *  settings)
slot
void file_editor::pasteClipboard ( )
protectedslot
void file_editor::request_close_all_files ( bool  )
slot
void file_editor::request_close_file ( bool  )
slot
void file_editor::request_close_other_files ( bool  )
slot
void file_editor::request_comment_selected_text ( bool  )
slot
void file_editor::request_completion ( bool  )
slot
void file_editor::request_context_doc ( bool  )
slot
void file_editor::request_context_edit ( bool  )
slot
void file_editor::request_context_help ( bool  )
slot
void file_editor::request_context_run ( bool  )
slot
void file_editor::request_conv_eol_mac ( bool  )
slot
void file_editor::request_conv_eol_unix ( bool  )
slot
void file_editor::request_conv_eol_windows ( bool  )
slot
void file_editor::request_copy ( bool  )
slot
void file_editor::request_copy_line ( bool  )
slot
void file_editor::request_cut ( bool  )
slot
void file_editor::request_cut_line ( bool  )
slot
void file_editor::request_delete_end_line ( bool  )
slot
void file_editor::request_delete_end_word ( bool  )
slot
void file_editor::request_delete_line ( bool  )
slot
void file_editor::request_delete_start_line ( bool  )
slot
void file_editor::request_delete_start_word ( bool  )
slot
void file_editor::request_duplicate_selection ( bool  )
slot
void file_editor::request_find ( bool  )
slot
void file_editor::request_goto_line ( bool  )
slot
void file_editor::request_indent_selected_text ( bool  )
slot
void file_editor::request_lower_case ( bool  )
slot
void file_editor::request_move_match_brace ( bool  )
slot
void file_editor::request_mru_open_file ( QAction *  action)
slot
void file_editor::request_new_file ( const QString &  commands)
slot
void file_editor::request_new_function ( bool  triggered = true)
slot
void file_editor::request_new_script ( const QString &  commands)
slot
void file_editor::request_next_bookmark ( bool  )
slot
void file_editor::request_next_breakpoint ( bool  )
slot
void file_editor::request_open_file ( void  )
slot
void file_editor::request_open_file ( const QString &  fileName,
int  line = -1,
bool  debug_pointer = false,
bool  breakpoint_marker = false,
bool  insert = true 
)
privateslot
void file_editor::request_open_files ( const QStringList &  )
privateslot
void file_editor::request_paste ( bool  )
slot
void file_editor::request_preferences ( bool  )
privateslot
void file_editor::request_previous_bookmark ( bool  )
slot
void file_editor::request_previous_breakpoint ( bool  )
slot
void file_editor::request_print_file ( bool  )
slot
void file_editor::request_redo ( bool  )
slot
void file_editor::request_remove_bookmark ( bool  )
slot
void file_editor::request_remove_breakpoint ( bool  )
slot
void file_editor::request_run_file ( bool  )
slot
void file_editor::request_save_file ( bool  )
slot
void file_editor::request_save_file_as ( bool  )
slot
void file_editor::request_sel_match_brace ( bool  )
slot
void file_editor::request_selectall ( bool  )
slot
void file_editor::request_settings_dialog ( const QString &  _t1)
signal

Definition at line 780 of file moc-file-editor.cc.

void file_editor::request_styles_preferences ( bool  )
privateslot
void file_editor::request_toggle_bookmark ( bool  )
slot
void file_editor::request_toggle_breakpoint ( bool  )
slot
void file_editor::request_transpose_line ( bool  )
slot
void file_editor::request_uncomment_selected_text ( bool  )
slot
void file_editor::request_undo ( bool  )
slot
void file_editor::request_unindent_selected_text ( bool  )
slot
void file_editor::request_upper_case ( bool  )
slot
void file_editor::restore_create_file_setting ( )
privateslot
void file_editor::save_file_as ( QWidget fetabID = 0)
private
void file_editor::selectAll ( )
protectedslot
void octave_dock_widget::set_predecessor_widget ( octave_dock_widget prev_widget)
inherited
void file_editor::set_shortcuts ( )
slot
void octave_dock_widget::set_title ( const QString &  title)
inherited
void file_editor::show_eol_chars ( bool  )
privateslot
void file_editor::show_indent_guides ( bool  )
privateslot
void file_editor::show_line_numbers ( bool  )
privateslot
void file_editor::show_long_line ( bool  )
privateslot
void file_editor::show_white_space ( bool  )
privateslot
void file_editor::toggle_preference ( const QString &  preference,
bool  def 
)
private
QToolBar* file_editor::toolbar ( void  )
virtual

Implements file_editor_interface.

void file_editor::update_octave_directory ( const QString &  dir)
slot
void file_editor::zoom_in ( bool  )
privateslot
void file_editor::zoom_normal ( bool  )
privateslot
void file_editor::zoom_out ( bool  )
privateslot

Member Data Documentation

QAction* file_editor::_close_action
private

Definition at line 331 of file file-editor.h.

QAction* file_editor::_close_all_action
private

Definition at line 332 of file file-editor.h.

QAction* file_editor::_close_others_action
private

Definition at line 333 of file file-editor.h.

QAction* file_editor::_comment_selection_action
private

Definition at line 279 of file file-editor.h.

QAction* file_editor::_completion_action
private

Definition at line 315 of file file-editor.h.

QAction* file_editor::_context_doc_action
private

Definition at line 292 of file file-editor.h.

QAction* file_editor::_context_help_action
private

Definition at line 291 of file file-editor.h.

QAction* file_editor::_conv_eol_mac_action
private

Definition at line 285 of file file-editor.h.

QAction* file_editor::_conv_eol_unix_action
private

Definition at line 284 of file file-editor.h.

QAction* file_editor::_conv_eol_windows_action
private

Definition at line 283 of file file-editor.h.

QAction* file_editor::_copy_action
private

Definition at line 287 of file file-editor.h.

QAction* file_editor::_copy_line_action
private

Definition at line 308 of file file-editor.h.

QAction* file_editor::_cut_action
private

Definition at line 288 of file file-editor.h.

QAction* file_editor::_cut_line_action
private

Definition at line 309 of file file-editor.h.

QMenu* file_editor::_debug_menu
private

Definition at line 271 of file file-editor.h.

QAction* file_editor::_delete_end_line_action
private

Definition at line 306 of file file-editor.h.

QAction* file_editor::_delete_end_word_action
private

Definition at line 304 of file file-editor.h.

QAction* file_editor::_delete_line_action
private

Definition at line 307 of file file-editor.h.

QAction* file_editor::_delete_start_line_action
private

Definition at line 305 of file file-editor.h.

QAction* file_editor::_delete_start_word_action
private

Definition at line 303 of file file-editor.h.

QAction* file_editor::_duplicate_selection_action
private

Definition at line 310 of file file-editor.h.

QMenu* file_editor::_edit_cmd_menu
private

Definition at line 346 of file file-editor.h.

QMenu* file_editor::_edit_fmt_menu
private

Definition at line 347 of file file-editor.h.

QAction* file_editor::_edit_function_action
private

Definition at line 328 of file file-editor.h.

QMenu* file_editor::_edit_nav_menu
private

Definition at line 348 of file file-editor.h.

QMenu* file_editor::_fileMenu
private

Definition at line 349 of file file-editor.h.

QAction* file_editor::_find_action
private

Definition at line 313 of file file-editor.h.

QAction* file_editor::_goto_line_action
private

Definition at line 314 of file file-editor.h.

QHash<QMenu*, QStringList> file_editor::_hash_menu_text
private

Definition at line 265 of file file-editor.h.

QAction* file_editor::_indent_selection_action
private

Definition at line 281 of file file-editor.h.

QAction* file_editor::_lower_case_action
private

Definition at line 278 of file file-editor.h.

int file_editor::_marker_breakpoint
private

Definition at line 354 of file file-editor.h.

QMenuBar* file_editor::_menu_bar
private

Definition at line 269 of file file-editor.h.

QAction* file_editor::_move_to_matching_brace
private

Definition at line 317 of file file-editor.h.

QAction* file_editor::_mru_file_actions[MaxMRUFiles]
private

Definition at line 358 of file file-editor.h.

QMenu* file_editor::_mru_file_menu
private

Definition at line 357 of file file-editor.h.

Referenced by get_mru_menu().

QStringList file_editor::_mru_files
private

Definition at line 359 of file file-editor.h.

QAction* file_editor::_new_action
private

Definition at line 273 of file file-editor.h.

QAction* file_editor::_new_function_action
private

Definition at line 274 of file file-editor.h.

QAction* file_editor::_next_bookmark_action
private

Definition at line 319 of file file-editor.h.

QAction* file_editor::_next_breakpoint_action
private

Definition at line 342 of file file-editor.h.

QAction* file_editor::_open_action
private

Definition at line 275 of file file-editor.h.

QAction* file_editor::_paste_action
private

Definition at line 289 of file file-editor.h.

QAction* file_editor::_preferences_action
private

Definition at line 338 of file file-editor.h.

QAction* file_editor::_previous_bookmark_action
private

Definition at line 320 of file file-editor.h.

QAction* file_editor::_previous_breakpoint_action
private

Definition at line 343 of file file-editor.h.

QAction* file_editor::_print_action
private

Definition at line 324 of file file-editor.h.

QAction* file_editor::_redo_action
private

Definition at line 335 of file file-editor.h.

QAction* file_editor::_remove_all_breakpoints_action
private

Definition at line 344 of file file-editor.h.

QAction* file_editor::_remove_bookmark_action
private

Definition at line 322 of file file-editor.h.

QAction* file_editor::_run_action
private

Definition at line 325 of file file-editor.h.

QAction* file_editor::_run_selection_action
private

Definition at line 326 of file file-editor.h.

QAction* file_editor::_save_action
private

Definition at line 329 of file file-editor.h.

QAction* file_editor::_save_as_action
private

Definition at line 330 of file file-editor.h.

QAction* file_editor::_sel_to_matching_brace
private

Definition at line 318 of file file-editor.h.

QAction* file_editor::_selectall_action
private

Definition at line 290 of file file-editor.h.

QAction* file_editor::_show_eol_action
private

Definition at line 296 of file file-editor.h.

QAction* file_editor::_show_indguide_action
private

Definition at line 297 of file file-editor.h.

QAction* file_editor::_show_linenum_action
private

Definition at line 294 of file file-editor.h.

QAction* file_editor::_show_longline_action
private

Definition at line 298 of file file-editor.h.

QAction* file_editor::_show_whitespace_action
private

Definition at line 295 of file file-editor.h.

QAction* file_editor::_styles_preferences_action
private

Definition at line 339 of file file-editor.h.

QTabWidget* file_editor::_tab_widget
private

Definition at line 352 of file file-editor.h.

QAction* file_editor::_toggle_bookmark_action
private

Definition at line 321 of file file-editor.h.

QAction* file_editor::_toggle_breakpoint_action
private

Definition at line 341 of file file-editor.h.

QToolBar* file_editor::_tool_bar
private

Definition at line 270 of file file-editor.h.

QAction* file_editor::_transpose_line_action
private

Definition at line 311 of file file-editor.h.

QAction* file_editor::_uncomment_selection_action
private

Definition at line 280 of file file-editor.h.

QAction* file_editor::_undo_action
private

Definition at line 336 of file file-editor.h.

QAction* file_editor::_unindent_selection_action
private

Definition at line 282 of file file-editor.h.

QAction* file_editor::_upper_case_action
private

Definition at line 277 of file file-editor.h.

QMenu* file_editor::_view_editor_menu
private

Definition at line 350 of file file-editor.h.

QAction* file_editor::_zoom_in_action
private

Definition at line 299 of file file-editor.h.

QAction* file_editor::_zoom_normal_action
private

Definition at line 301 of file file-editor.h.

QAction* file_editor::_zoom_out_action
private

Definition at line 300 of file file-editor.h.

QString file_editor::ced
private

Definition at line 267 of file file-editor.h.

std::map<QString, QWidget *> file_editor::editor_tab_map
private

Definition at line 264 of file file-editor.h.


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