GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "file-editor.h"
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 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) |
QWidget * | focusWidget () |
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 () |
QWidget * | find_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) |
Definition at line 42 of file file-editor.h.
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.
|
private |
Enumerator | |
---|---|
MaxMRUFiles |
Definition at line 356 of file file-editor.h.
file_editor::file_editor | ( | QWidget * | p | ) |
file_editor::~file_editor | ( | void | ) |
|
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().
|
slot |
|
private |
|
protectedvirtualslotinherited |
Definition at line 485 of file octave-dock-widget.cc.
Referenced by octave_dock_widget::octave_dock_widget().
|
private |
|
private |
void file_editor::check_actions | ( | void | ) |
|
slot |
|
slot |
|
protectedvirtualinherited |
Reimplemented in workspace_view.
Definition at line 493 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed(), and octave_dock_widget::set_focus_predecessor().
|
virtualinherited |
Definition at line 154 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed(), and octave_dock_widget::handle_visibility().
Referenced by main_window::connect_visibility_changed().
|
private |
|
protectedslot |
|
privateslot |
|
virtual |
Implements file_editor_interface.
|
protectedslot |
|
protected |
|
protected |
|
private |
Implements file_editor_interface.
|
slot |
Definition at line 455 of file octave-dock-widget.cc.
|
signal |
Definition at line 787 of file moc-file-editor.cc.
|
signal |
Definition at line 522 of file moc-file-editor.cc.
|
signal |
Definition at line 557 of file moc-file-editor.cc.
|
signal |
Definition at line 654 of file moc-file-editor.cc.
|
signal |
Definition at line 710 of file moc-file-editor.cc.
|
signal |
Definition at line 550 of file moc-file-editor.cc.
Definition at line 543 of file moc-file-editor.cc.
|
signal |
Definition at line 591 of file moc-file-editor.cc.
|
signal |
Definition at line 682 of file moc-file-editor.cc.
Definition at line 724 of file moc-file-editor.cc.
|
signal |
Definition at line 731 of file moc-file-editor.cc.
|
signal |
Definition at line 529 of file moc-file-editor.cc.
|
signal |
Definition at line 689 of file moc-file-editor.cc.
Definition at line 696 of file moc-file-editor.cc.
|
signal |
Definition at line 668 of file moc-file-editor.cc.
Definition at line 717 of file moc-file-editor.cc.
Definition at line 703 of file moc-file-editor.cc.
|
signal |
Definition at line 605 of file moc-file-editor.cc.
|
signal |
Definition at line 633 of file moc-file-editor.cc.
|
signal |
Definition at line 612 of file moc-file-editor.cc.
|
signal |
Definition at line 640 of file moc-file-editor.cc.
|
signal |
Definition at line 577 of file moc-file-editor.cc.
|
signal |
Definition at line 647 of file moc-file-editor.cc.
|
signal |
Definition at line 619 of file moc-file-editor.cc.
|
signal |
Definition at line 584 of file moc-file-editor.cc.
|
signal |
Definition at line 536 of file moc-file-editor.cc.
|
signal |
Definition at line 563 of file moc-file-editor.cc.
|
signal |
Definition at line 570 of file moc-file-editor.cc.
Definition at line 745 of file moc-file-editor.cc.
|
signal |
Definition at line 773 of file moc-file-editor.cc.
|
signal |
Definition at line 738 of file moc-file-editor.cc.
|
signal |
Definition at line 515 of file moc-file-editor.cc.
|
signal |
Definition at line 598 of file moc-file-editor.cc.
|
signal |
Definition at line 626 of file moc-file-editor.cc.
|
signal |
Definition at line 661 of file moc-file-editor.cc.
|
signal |
Definition at line 675 of file moc-file-editor.cc.
|
signal |
Definition at line 752 of file moc-file-editor.cc.
|
signal |
Definition at line 766 of file moc-file-editor.cc.
|
signal |
Definition at line 759 of file moc-file-editor.cc.
|
signal |
Definition at line 794 of file moc-file-editor.cc.
|
private |
|
slot |
|
protectedinherited |
Definition at line 311 of file octave-dock-widget.cc.
References Faddeeva::w().
|
inlinevirtual |
Implements file_editor_interface.
Definition at line 56 of file file-editor.h.
References _mru_file_menu.
|
slotinherited |
Definition at line 467 of file octave-dock-widget.cc.
References octave_dock_widget::_custom_style, and octave_dock_widget::set_style().
Referenced by octave_dock_widget::octave_dock_widget().
|
slot |
|
slot |
|
slot |
|
virtual |
Implements file_editor_interface.
|
virtual |
Implements file_editor_interface.
|
slot |
|
slot |
|
slot |
|
slotinherited |
Definition at line 415 of file octave-dock-widget.cc.
References octave_dock_widget::_bg_color, octave_dock_widget::_bg_color_active, octave_dock_widget::_custom_style, octave_dock_widget::_fg_color, octave_dock_widget::_fg_color_active, octave_dock_widget::_icon_color, octave_dock_widget::_icon_color_active, octave_dock_widget::_title_3d, octave_dock_widget::notice_settings(), and octave_dock_widget::set_style().
Referenced by octave_dock_widget::octave_dock_widget().
|
slot |
|
slot |
|
slot |
|
slot |
|
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().
|
virtual |
Implements file_editor_interface.
|
private |
void file_editor::loadFile | ( | const QString & | fileName | ) |
|
private |
|
inlineslotinherited |
Definition at line 85 of file octave-dock-widget.h.
References octave_dock_widget::_parent.
Referenced by files_dock_widget::files_dock_widget().
|
inherited |
Definition at line 238 of file octave-dock-widget.cc.
References octave_dock_widget::_floating, octave_dock_widget::_icon_color, octave_dock_widget::_parent, and resource_manager::get_settings().
Referenced by octave_dock_widget::change_floating(), and main_window::set_window_layout().
|
inherited |
Definition at line 195 of file octave-dock-widget.cc.
References octave_dock_widget::_floating, octave_dock_widget::_icon_color, octave_dock_widget::_parent, resource_manager::get_settings(), and octave_dock_widget::set_focus_predecessor().
Referenced by octave_dock_widget::change_floating(), and main_window::set_window_layout().
|
private |
|
slot |
|
protectedslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
privateslot |
|
privateslot |
|
slot |
|
privateslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
signal |
Definition at line 780 of file moc-file-editor.cc.
|
privateslot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
privateslot |
|
private |
|
protectedslot |
|
inherited |
Definition at line 164 of file octave-dock-widget.cc.
References octave_dock_widget::_predecessor_widget.
Referenced by main_window::focus_changed().
|
slot |
|
inherited |
Definition at line 171 of file octave-dock-widget.cc.
Referenced by history_dock_widget::construct(), documentation_dock_widget::documentation_dock_widget(), files_dock_widget::files_dock_widget(), terminal_dock_widget::terminal_dock_widget(), and workspace_view::workspace_view().
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
|
virtual |
Implements file_editor_interface.
|
slot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
Definition at line 331 of file file-editor.h.
|
private |
Definition at line 332 of file file-editor.h.
|
private |
Definition at line 333 of file file-editor.h.
|
private |
Definition at line 279 of file file-editor.h.
|
private |
Definition at line 315 of file file-editor.h.
|
private |
Definition at line 292 of file file-editor.h.
|
private |
Definition at line 291 of file file-editor.h.
|
private |
Definition at line 285 of file file-editor.h.
|
private |
Definition at line 284 of file file-editor.h.
|
private |
Definition at line 283 of file file-editor.h.
|
private |
Definition at line 287 of file file-editor.h.
|
private |
Definition at line 308 of file file-editor.h.
|
private |
Definition at line 288 of file file-editor.h.
|
private |
Definition at line 309 of file file-editor.h.
|
private |
Definition at line 271 of file file-editor.h.
|
private |
Definition at line 306 of file file-editor.h.
|
private |
Definition at line 304 of file file-editor.h.
|
private |
Definition at line 307 of file file-editor.h.
|
private |
Definition at line 305 of file file-editor.h.
|
private |
Definition at line 303 of file file-editor.h.
|
private |
Definition at line 310 of file file-editor.h.
|
private |
Definition at line 346 of file file-editor.h.
|
private |
Definition at line 347 of file file-editor.h.
|
private |
Definition at line 328 of file file-editor.h.
|
private |
Definition at line 348 of file file-editor.h.
|
private |
Definition at line 349 of file file-editor.h.
|
private |
Definition at line 313 of file file-editor.h.
|
private |
Definition at line 314 of file file-editor.h.
|
private |
Definition at line 265 of file file-editor.h.
|
private |
Definition at line 281 of file file-editor.h.
|
private |
Definition at line 278 of file file-editor.h.
|
private |
Definition at line 354 of file file-editor.h.
|
private |
Definition at line 269 of file file-editor.h.
|
private |
Definition at line 317 of file file-editor.h.
|
private |
Definition at line 358 of file file-editor.h.
|
private |
Definition at line 357 of file file-editor.h.
Referenced by get_mru_menu().
|
private |
Definition at line 359 of file file-editor.h.
|
private |
Definition at line 273 of file file-editor.h.
|
private |
Definition at line 274 of file file-editor.h.
|
private |
Definition at line 319 of file file-editor.h.
|
private |
Definition at line 342 of file file-editor.h.
|
private |
Definition at line 275 of file file-editor.h.
|
private |
Definition at line 289 of file file-editor.h.
|
private |
Definition at line 338 of file file-editor.h.
|
private |
Definition at line 320 of file file-editor.h.
|
private |
Definition at line 343 of file file-editor.h.
|
private |
Definition at line 324 of file file-editor.h.
|
private |
Definition at line 335 of file file-editor.h.
|
private |
Definition at line 344 of file file-editor.h.
|
private |
Definition at line 322 of file file-editor.h.
|
private |
Definition at line 325 of file file-editor.h.
|
private |
Definition at line 326 of file file-editor.h.
|
private |
Definition at line 329 of file file-editor.h.
|
private |
Definition at line 330 of file file-editor.h.
|
private |
Definition at line 318 of file file-editor.h.
|
private |
Definition at line 290 of file file-editor.h.
|
private |
Definition at line 296 of file file-editor.h.
|
private |
Definition at line 297 of file file-editor.h.
|
private |
Definition at line 294 of file file-editor.h.
|
private |
Definition at line 298 of file file-editor.h.
|
private |
Definition at line 295 of file file-editor.h.
|
private |
Definition at line 339 of file file-editor.h.
|
private |
Definition at line 352 of file file-editor.h.
|
private |
Definition at line 321 of file file-editor.h.
|
private |
Definition at line 341 of file file-editor.h.
|
private |
Definition at line 270 of file file-editor.h.
|
private |
Definition at line 311 of file file-editor.h.
|
private |
Definition at line 280 of file file-editor.h.
|
private |
Definition at line 336 of file file-editor.h.
|
private |
Definition at line 282 of file file-editor.h.
|
private |
Definition at line 277 of file file-editor.h.
|
private |
Definition at line 350 of file file-editor.h.
|
private |
Definition at line 299 of file file-editor.h.
|
private |
Definition at line 301 of file file-editor.h.
|
private |
Definition at line 300 of file file-editor.h.
|
private |
Definition at line 267 of file file-editor.h.
|
private |
Definition at line 264 of file file-editor.h.