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 Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
main_window Class Reference

#include "main-window.h"

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

Public Types

typedef std::pair< int, intint_pair
 
typedef std::pair< std::string,
std::string > 
name_pair
 

Public Slots

void accept_directory_line_edit (void)
 
void browse_for_directory (void)
 
void change_directory (const QString &dir)
 
void change_directory_up (void)
 
void clear_clipboard ()
 
void clipboard_has_changed (QClipboard::Mode)
 
void confirm_shutdown_octave (void)
 
void connect_uiwidget_links (void)
 
void connect_visibility_changed (void)
 
void copy_image_to_clipboard (const QString &file, bool remove_file)
 
void copyClipboard (void)
 
void debug_continue (void)
 
void debug_quit (void)
 
void debug_step_into (void)
 
void debug_step_out (void)
 
void debug_step_over (void)
 
void display_community_news (const QString &news)
 
void display_release_notes (void)
 
void execute_command_in_terminal (const QString &dir)
 
void exit_app (int status)
 
void find_files (const QString &startdir=QDir::currentPath())
 
void find_files_finished (int)
 
void focus_changed (QWidget *w_old, QWidget *w_new)
 
QList< octave_dock_widget * > get_dock_widget_list ()
 
void handle_clear_command_window_request (void)
 
void handle_clear_history_request (void)
 
void handle_clear_workspace_request (void)
 
void handle_create_dialog (const QString &message, const QString &title, const QString &icon, const QStringList &button, const QString &defbutton, const QStringList &role)
 
void handle_create_filedialog (const QStringList &filters, const QString &title, const QString &filename, const QString &dirname, const QString &multimode)
 
void handle_create_inputlayout (const QStringList &, const QString &, const QFloatList &, const QFloatList &, const QStringList &)
 
void handle_create_listview (const QStringList &list, const QString &mode, int width, int height, const QIntList &initial, const QString &name, const QStringList &prompt, const QString &ok_string, const QString &cancel_string)
 
void handle_delete_debugger_pointer_request (const QString &file, int line)
 
void handle_enter_debugger (void)
 
void handle_exit_debugger (void)
 
void handle_insert_debugger_pointer_request (const QString &file, int line)
 
void handle_load_workspace_request (const QString &file=QString())
 
void handle_new_figure_request (void)
 
void handle_octave_ready ()
 
void handle_rename_variable_request (const QString &old_name, const QString &new_name)
 
void handle_save_workspace_request (void)
 
void handle_show_doc (const QString &file)
 
void handle_undo_request (void)
 
void handle_update_breakpoint_marker_request (bool insert, const QString &file, int line)
 
void init_terminal_size (void)
 
void load_and_display_community_news (int serial=-1)
 
void new_file (const QString &commands=QString())
 
void notice_settings (const QSettings *settings)
 
void open_agora_page (void)
 
void open_bug_tracker_page (void)
 
void open_contribute_page (void)
 
void open_developer_page (void)
 
void open_file (const QString &file_name=QString())
 
void open_octave_packages_page (void)
 
void open_online_documentation_page (void)
 
void pasteClipboard (void)
 
void prepare_to_exit (void)
 
void process_settings_dialog_request (const QString &desired_tab=QString())
 
void read_settings (void)
 
void report_status_message (const QString &statusMessage)
 
void request_reload_settings ()
 
void reset_windows (void)
 
void run_file_in_terminal (const QFileInfo &info)
 
void selectAll (void)
 
void set_current_working_directory (const QString &dir)
 
void set_global_edit_shortcuts (bool enable)
 
void set_global_shortcuts (bool enable)
 
void set_screen_size (int ht, int wd)
 
void set_window_layout (QSettings *settings)
 
void show_about_octave (void)
 
void write_settings (void)
 

Signals

void active_dock_changed (octave_dock_widget *, octave_dock_widget *)
 
void add_actions_signal (QList< QAction * > action_list)
 
void copyClipboard_signal (void)
 
void delete_debugger_pointer_signal (const QString &file, int line)
 
void editor_focus_changed (bool)
 
void init_terminal_size_signal (void)
 
void insert_debugger_pointer_signal (const QString &file, int line)
 
void new_file_signal (const QString &)
 
void open_file_signal (const QString &)
 
void pasteClipboard_signal (void)
 
void selectAll_signal (void)
 
void settings_changed (const QSettings *)
 
void show_doc_signal (const QString &)
 
void undo_signal (void)
 
void update_breakpoint_marker_signal (bool insert, const QString &file, int line)
 

Public Member Functions

 main_window (QWidget *parent=0, bool start_gui=true)
 
 ~main_window (void)
 
bool command_window_has_focus (void) const
 
void focus_command_window (void)
 

Protected Member Functions

void closeEvent (QCloseEvent *closeEvent)
 

Private Member Functions

QAction * add_action (QMenu *menu, const QIcon &icon, const QString &text, const char *member, const QWidget *receiver=0)
 
void change_directory_callback (const std::string &directory)
 
void clear_command_window_callback (void)
 
void clear_history_callback (void)
 
void clear_workspace_callback (void)
 
void command_window_undo_callback (void)
 
void configure_shortcuts ()
 
void construct (void)
 
void construct_debug_menu (QMenuBar *p)
 
QAction * construct_debug_menu_item (const char *icon, const QString &item, const char *member)
 
void construct_documentation_menu (QMenu *p)
 
void construct_edit_menu (QMenuBar *p)
 
void construct_file_menu (QMenuBar *p)
 
void construct_help_menu (QMenuBar *p)
 
void construct_menu_bar (void)
 
void construct_new_menu (QMenu *p)
 
void construct_news_menu (QMenuBar *p)
 
void construct_octave_qt_link (void)
 
void construct_tool_bar (void)
 
void construct_window_menu (QMenuBar *p)
 
QAction * construct_window_menu_item (QMenu *p, const QString &item, bool checkable, QWidget *)
 
QList< octave_dock_widget * > dock_widget_list ()
 
void enable_menu_shortcuts (bool enable)
 
void establish_octave_link (void)
 
void execute_command_callback ()
 
void execute_debug_callback ()
 
bool focus_console_after_command ()
 
void load_workspace_callback (const std::string &file)
 
QMenu * m_add_menu (QMenuBar *p, QString text)
 
void new_figure_callback (void)
 
void queue_command (octave_cmd *cmd)
 
void queue_debug (QString command)
 
void rename_variable_callback (const name_pair &names)
 
void resize_command_window_callback (void)
 
void run_file_callback (const QFileInfo &info)
 
void save_workspace_callback (const std::string &file)
 
void set_screen_size_callback (const int_pair &)
 

Private Attributes

QAction * _about_octave_action
 
octave_dock_widget_active_dock
 
QAction * _agora_action
 
QAction * _clear_clipboard_action
 
QAction * _clear_command_history_action
 
QAction * _clear_command_window_action
 
QAction * _clear_workspace_action
 
QClipboard * _clipboard
 
bool _closing
 
QSemaphore _cmd_processing
 
QList< octave_cmd * > _cmd_queue
 
QMutex _cmd_queue_mutex
 
QAction * _command_window_action
 
QAction * _contribute_action
 
QAction * _copy_action
 
QComboBox * _current_directory_combo_box
 
QLineEdit_current_directory_line_edit
 
QAction * _current_news_action
 
QSemaphore _dbg_processing
 
QStringList * _dbg_queue
 
QMutex _dbg_queue_mutex
 
QAction * _debug_continue
 
QMenu * _debug_menu
 
QAction * _debug_quit
 
QAction * _debug_step_into
 
QAction * _debug_step_out
 
QAction * _debug_step_over
 
QAction * _developer_action
 
QAction * _documentation_action
 
QAction * _editor_action
 
QAction * _exit_action
 
QAction * _file_browser_action
 
QAction * _find_files_action
 
QHash< QMenu *, QStringList > _hash_menu_text
 
QAction * _history_action
 
QAction * _load_workspace_action
 
QToolBar * _main_tool_bar
 
QAction * _new_figure_action
 
QAction * _new_function_action
 
QAction * _new_script_action
 
QAction * _octave_packages_action
 
octave_qt_link_octave_qt_link
 
QAction * _ondisk_doc_action
 
QAction * _online_doc_action
 
QAction * _open_action
 
QAction * _paste_action
 
QAction * _preferences_action
 
bool _prevent_readline_conflicts
 
QAction * _release_notes_action
 
QString _release_notes_icon
 
QAction * _report_bug_action
 
QAction * _reset_windows_action
 
QAction * _save_workspace_action
 
QAction * _select_all_action
 
QPointer< settings_dialog_settings_dlg
 
QAction * _show_command_window_action
 
QAction * _show_documentation_action
 
QAction * _show_editor_action
 
QAction * _show_file_browser_action
 
QAction * _show_history_action
 
QAction * _show_workspace_action
 
bool _start_gui
 
bool _suppress_dbg_location
 
QAction * _undo_action
 
QAction * _workspace_action
 
workspace_model_workspace_model
 
terminal_dock_widgetcommand_window
 
QWidgetcommunity_news_window
 
documentation_dock_widgetdoc_browser_window
 
file_editor_interfaceeditor_window
 
files_dock_widgetfile_browser_window
 
find_files_dialogfind_files_dlg
 
history_dock_widgethistory_window
 
QWidgetrelease_notes_window
 
QStatusBar * status_bar
 
workspace_viewworkspace_window
 

Static Private Attributes

static const int current_directory_max_count = 16
 
static const int current_directory_max_visible = 16
 

Detailed Description

Definition at line 69 of file main-window.h.

Member Typedef Documentation

typedef std::pair<int, int> main_window::int_pair

Definition at line 76 of file main-window.h.

typedef std::pair<std::string, std::string> main_window::name_pair

Definition at line 75 of file main-window.h.

Constructor & Destructor Documentation

main_window::main_window ( QWidget parent = 0,
bool  start_gui = true 
)
main_window::~main_window ( void  )

Member Function Documentation

void main_window::accept_directory_line_edit ( void  )
slot

Definition at line 906 of file main-window.cc.

References _current_directory_combo_box, and set_current_working_directory().

Referenced by construct_tool_bar().

void main_window::active_dock_changed ( octave_dock_widget _t1,
octave_dock_widget _t2 
)
signal

Definition at line 364 of file moc-main-window.cc.

Referenced by focus_changed(), and notice_settings().

QAction * main_window::add_action ( QMenu *  menu,
const QIcon &  icon,
const QString &  text,
const char member,
const QWidget receiver = 0 
)
private
void main_window::add_actions_signal ( QList< QAction * >  action_list)
signal

Definition at line 457 of file moc-main-window.cc.

Referenced by construct().

void main_window::browse_for_directory ( void  )
slot

Definition at line 866 of file main-window.cc.

References focus_command_window(), and set_current_working_directory().

Referenced by construct_tool_bar().

void main_window::change_directory ( const QString &  dir)
slot

Definition at line 850 of file main-window.cc.

References _current_directory_combo_box.

Referenced by construct_octave_qt_link().

void main_window::change_directory_callback ( const std::string &  directory)
private
void main_window::change_directory_up ( void  )
slot

Definition at line 896 of file main-window.cc.

References set_current_working_directory().

Referenced by construct_tool_bar().

void main_window::clear_clipboard ( )
slot

Definition at line 2443 of file main-window.cc.

References _clipboard.

Referenced by construct_edit_menu().

void main_window::clear_command_window_callback ( void  )
private
void main_window::clear_history_callback ( void  )
private

Definition at line 2110 of file main-window.cc.

References Fhistory(), and ovl().

Referenced by handle_clear_history_request().

void main_window::clear_workspace_callback ( void  )
private

Definition at line 2066 of file main-window.cc.

References Fclear().

Referenced by handle_clear_workspace_request().

void main_window::clipboard_has_changed ( QClipboard::Mode  cp_mode)
slot

Definition at line 2425 of file main-window.cc.

References _clear_clipboard_action, _clipboard, and _paste_action.

Referenced by construct_edit_menu().

void main_window::closeEvent ( QCloseEvent *  closeEvent)
protected

Definition at line 1030 of file main-window.cc.

References queue_command().

bool main_window::command_window_has_focus ( void  ) const
void main_window::command_window_undo_callback ( void  )
private

Definition at line 2084 of file main-window.cc.

References command_editor::redisplay(), and command_editor::undo().

Referenced by handle_undo_request().

void main_window::configure_shortcuts ( )
private
void main_window::confirm_shutdown_octave ( void  )
slot
void main_window::connect_uiwidget_links ( void  )
slot
void main_window::connect_visibility_changed ( void  )
slot
void main_window::construct ( void  )
private
void main_window::construct_debug_menu ( QMenuBar p)
private
QAction * main_window::construct_debug_menu_item ( const char icon,
const QString &  item,
const char member 
)
private
void main_window::construct_documentation_menu ( QMenu *  p)
private
void main_window::construct_edit_menu ( QMenuBar p)
private
void main_window::construct_file_menu ( QMenuBar p)
private
void main_window::construct_help_menu ( QMenuBar p)
private
void main_window::construct_menu_bar ( void  )
private
void main_window::construct_new_menu ( QMenu *  p)
private
void main_window::construct_news_menu ( QMenuBar p)
private
void main_window::construct_octave_qt_link ( void  )
private
void main_window::construct_tool_bar ( void  )
private
void main_window::construct_window_menu ( QMenuBar p)
private
QAction * main_window::construct_window_menu_item ( QMenu *  p,
const QString &  item,
bool  checkable,
QWidget widget 
)
private

Definition at line 1863 of file main-window.cc.

Referenced by construct_window_menu().

void main_window::copy_image_to_clipboard ( const QString &  file,
bool  remove_file 
)
slot

Definition at line 675 of file main-window.cc.

Referenced by construct_octave_qt_link().

void main_window::copyClipboard ( void  )
slot

Definition at line 1157 of file main-window.cc.

References _current_directory_combo_box, and copyClipboard_signal().

Referenced by construct_edit_menu().

void main_window::copyClipboard_signal ( void  )
signal

Definition at line 433 of file moc-main-window.cc.

Referenced by copyClipboard().

void main_window::debug_continue ( void  )
slot

Definition at line 953 of file main-window.cc.

References queue_debug().

Referenced by construct_debug_menu().

void main_window::debug_quit ( void  )
slot

Definition at line 977 of file main-window.cc.

References queue_debug().

Referenced by construct_debug_menu().

void main_window::debug_step_into ( void  )
slot

Definition at line 959 of file main-window.cc.

References queue_debug().

Referenced by construct_debug_menu().

void main_window::debug_step_out ( void  )
slot

Definition at line 971 of file main-window.cc.

References queue_debug().

Referenced by construct_debug_menu().

void main_window::debug_step_over ( void  )
slot

Definition at line 965 of file main-window.cc.

References queue_debug().

Referenced by construct_debug_menu().

void main_window::delete_debugger_pointer_signal ( const QString &  file,
int  line 
)
signal
void main_window::display_community_news ( const QString &  news)
slot

Definition at line 580 of file main-window.cc.

References _release_notes_icon, community_news_window, and min().

Referenced by load_and_display_community_news().

void main_window::display_release_notes ( void  )
slot
QList<octave_dock_widget *> main_window::dock_widget_list ( )
inlineprivate
void main_window::editor_focus_changed ( bool  _t1)
signal

Definition at line 371 of file moc-main-window.cc.

Referenced by construct(), and focus_changed().

void main_window::enable_menu_shortcuts ( bool  enable)
private

Definition at line 1635 of file main-window.cc.

References _hash_menu_text.

Referenced by construct(), and set_global_edit_shortcuts().

void main_window::establish_octave_link ( void  )
private
void main_window::execute_command_callback ( )
private
void main_window::execute_command_in_terminal ( const QString &  dir)
slot
void main_window::execute_debug_callback ( )
private
void main_window::exit_app ( int  status)
slot

Definition at line 835 of file main-window.cc.

Referenced by construct_octave_qt_link().

void main_window::find_files ( const QString &  startdir = QDir::currentPath ())
slot
void main_window::find_files_finished ( int  )
slot

Definition at line 2248 of file main-window.cc.

Referenced by find_files().

void main_window::focus_changed ( QWidget w_old,
QWidget w_new 
)
slot
void main_window::focus_command_window ( void  )
bool main_window::focus_console_after_command ( )
private
QList<octave_dock_widget *> main_window::get_dock_widget_list ( )
inlineslot

Definition at line 224 of file main-window.h.

References dock_widget_list().

void main_window::handle_clear_command_window_request ( void  )
slot

Definition at line 303 of file main-window.cc.

References clear_command_window_callback(), and octave_link::post_event().

Referenced by construct_edit_menu().

void main_window::handle_clear_history_request ( void  )
slot

Definition at line 309 of file main-window.cc.

References clear_history_callback(), and octave_link::post_event().

Referenced by construct_edit_menu().

void main_window::handle_clear_workspace_request ( void  )
slot

Definition at line 277 of file main-window.cc.

References clear_workspace_callback(), and octave_link::post_event().

Referenced by construct_edit_menu().

void main_window::handle_create_dialog ( const QString &  message,
const QString &  title,
const QString &  icon,
const QStringList &  button,
const QString &  defbutton,
const QStringList &  role 
)
slot

Definition at line 1261 of file main-window.cc.

Referenced by connect_uiwidget_links().

void main_window::handle_create_filedialog ( const QStringList &  filters,
const QString &  title,
const QString &  filename,
const QString &  dirname,
const QString &  multimode 
)
slot

Definition at line 1312 of file main-window.cc.

Referenced by connect_uiwidget_links().

void main_window::handle_create_inputlayout ( const QStringList &  prompt,
const QString &  title,
const QFloatList nr,
const QFloatList nc,
const QStringList &  defaults 
)
slot

Definition at line 1298 of file main-window.cc.

Referenced by connect_uiwidget_links().

void main_window::handle_create_listview ( const QStringList &  list,
const QString &  mode,
int  width,
int  height,
const QIntList initial,
const QString &  name,
const QStringList &  prompt,
const QString &  ok_string,
const QString &  cancel_string 
)
slot

Definition at line 1278 of file main-window.cc.

Referenced by connect_uiwidget_links().

void main_window::handle_delete_debugger_pointer_request ( const QString &  file,
int  line 
)
slot
void main_window::handle_enter_debugger ( void  )
slot
void main_window::handle_exit_debugger ( void  )
slot
void main_window::handle_insert_debugger_pointer_request ( const QString &  file,
int  line 
)
slot
void main_window::handle_load_workspace_request ( const QString &  file = QString ())
slot

Definition at line 263 of file main-window.cc.

References load_workspace_callback(), and octave_link::post_event().

Referenced by construct(), and construct_file_menu().

void main_window::handle_new_figure_request ( void  )
slot

Definition at line 357 of file main-window.cc.

References new_figure_callback(), and octave_link::post_event().

Referenced by construct_new_menu().

void main_window::handle_octave_ready ( )
slot
void main_window::handle_rename_variable_request ( const QString &  old_name,
const QString &  new_name 
)
slot

Definition at line 283 of file main-window.cc.

References names(), octave_link::post_event(), and rename_variable_callback().

Referenced by construct_octave_qt_link().

void main_window::handle_save_workspace_request ( void  )
slot

Definition at line 251 of file main-window.cc.

References octave_link::post_event(), and save_workspace_callback().

Referenced by construct_file_menu().

void main_window::handle_show_doc ( const QString &  file)
slot

Definition at line 2418 of file main-window.cc.

References doc_browser_window, and show_doc_signal().

Referenced by construct_octave_qt_link().

void main_window::handle_undo_request ( void  )
slot
void main_window::handle_update_breakpoint_marker_request ( bool  insert,
const QString &  file,
int  line 
)
slot
void main_window::init_terminal_size ( void  )
slot

Definition at line 1061 of file main-window.cc.

References init_terminal_size_signal().

Referenced by octave_start_gui().

void main_window::init_terminal_size_signal ( void  )
signal

Definition at line 385 of file moc-main-window.cc.

Referenced by init_terminal_size().

void main_window::insert_debugger_pointer_signal ( const QString &  file,
int  line 
)
signal
void main_window::load_and_display_community_news ( int  serial = -1)
slot

Definition at line 544 of file main-window.cc.

References display_community_news(), and resource_manager::get_settings().

Referenced by construct_news_menu(), and main_window().

void main_window::load_workspace_callback ( const std::string &  file)
private
QMenu * main_window::m_add_menu ( QMenuBar p,
QString  text 
)
private
void main_window::new_figure_callback ( void  )
private

Definition at line 2143 of file main-window.cc.

References Fbuiltin(), Fdrawnow(), and ovl().

Referenced by handle_new_figure_request().

void main_window::new_file ( const QString &  commands = QString ())
slot

Definition at line 233 of file main-window.cc.

References new_file_signal().

void main_window::new_file_signal ( const QString &  _t1)
signal

Definition at line 391 of file moc-main-window.cc.

Referenced by new_file().

void main_window::notice_settings ( const QSettings *  settings)
slot
void main_window::open_agora_page ( void  )
slot

Definition at line 637 of file main-window.cc.

Referenced by construct_help_menu().

void main_window::open_bug_tracker_page ( void  )
slot

Definition at line 625 of file main-window.cc.

Referenced by construct_help_menu().

void main_window::open_contribute_page ( void  )
slot

Definition at line 643 of file main-window.cc.

Referenced by construct_help_menu().

void main_window::open_developer_page ( void  )
slot

Definition at line 649 of file main-window.cc.

Referenced by construct_help_menu().

void main_window::open_file ( const QString &  file_name = QString ())
slot

Definition at line 239 of file main-window.cc.

References open_file_signal().

Referenced by find_files().

void main_window::open_file_signal ( const QString &  _t1)
signal

Definition at line 398 of file moc-main-window.cc.

Referenced by open_file().

void main_window::open_octave_packages_page ( void  )
slot

Definition at line 631 of file main-window.cc.

Referenced by construct_help_menu().

void main_window::open_online_documentation_page ( void  )
slot

Definition at line 363 of file main-window.cc.

Referenced by construct_documentation_menu().

void main_window::pasteClipboard ( void  )
slot

Definition at line 1173 of file main-window.cc.

References _current_directory_combo_box, and pasteClipboard_signal().

Referenced by construct_edit_menu().

void main_window::pasteClipboard_signal ( void  )
signal

Definition at line 439 of file moc-main-window.cc.

Referenced by pasteClipboard().

void main_window::prepare_to_exit ( void  )
slot

Definition at line 829 of file main-window.cc.

References write_settings().

Referenced by construct().

void main_window::process_settings_dialog_request ( const QString &  desired_tab = QString ())
slot

Definition at line 655 of file main-window.cc.

References _settings_dlg, and request_reload_settings().

Referenced by construct_edit_menu(), and construct_octave_qt_link().

void main_window::queue_command ( octave_cmd cmd)
private
void main_window::queue_debug ( QString  command)
private
void main_window::read_settings ( void  )
slot
void main_window::rename_variable_callback ( const name_pair names)
private
void main_window::report_status_message ( const QString &  statusMessage)
slot

Definition at line 245 of file main-window.cc.

References status_bar.

void main_window::request_reload_settings ( )
slot
void main_window::reset_windows ( void  )
slot

Definition at line 841 of file main-window.cc.

References resource_manager::get_default_settings(), and set_window_layout().

Referenced by construct_window_menu().

void main_window::resize_command_window_callback ( void  )
private

Definition at line 2098 of file main-window.cc.

References command_editor::resize_terminal().

Referenced by construct().

void main_window::run_file_callback ( const QFileInfo &  info)
private

Definition at line 339 of file main-window.cc.

References queue_command().

Referenced by run_file_in_terminal().

void main_window::run_file_in_terminal ( const QFileInfo &  info)
slot
void main_window::save_workspace_callback ( const std::string &  file)
private

Definition at line 2052 of file main-window.cc.

References Fsave(), and ovl().

Referenced by handle_save_workspace_request().

void main_window::selectAll ( void  )
slot

Definition at line 1190 of file main-window.cc.

References _current_directory_combo_box, and selectAll_signal().

Referenced by construct_edit_menu().

void main_window::selectAll_signal ( void  )
signal

Definition at line 445 of file moc-main-window.cc.

Referenced by selectAll().

void main_window::set_current_working_directory ( const QString &  dir)
slot
void main_window::set_global_edit_shortcuts ( bool  enable)
slot
void main_window::set_global_shortcuts ( bool  enable)
slot
void main_window::set_screen_size ( int  ht,
int  wd 
)
slot

Definition at line 2411 of file main-window.cc.

References octave_link::post_event(), and set_screen_size_callback().

void main_window::set_screen_size_callback ( const int_pair sz)
private

Definition at line 2104 of file main-window.cc.

References command_editor::set_screen_size().

Referenced by set_screen_size().

void main_window::set_window_layout ( QSettings *  settings)
slot
void main_window::settings_changed ( const QSettings *  _t1)
signal

Definition at line 378 of file moc-main-window.cc.

Referenced by construct(), read_settings(), and request_reload_settings().

void main_window::show_about_octave ( void  )
slot
void main_window::show_doc_signal ( const QString &  _t1)
signal

Definition at line 405 of file moc-main-window.cc.

Referenced by construct_octave_qt_link(), and handle_show_doc().

void main_window::undo_signal ( void  )
signal

Definition at line 451 of file moc-main-window.cc.

Referenced by handle_undo_request().

void main_window::update_breakpoint_marker_signal ( bool  insert,
const QString &  file,
int  line 
)
signal
void main_window::write_settings ( void  )
slot

Definition at line 1121 of file main-window.cc.

References _current_directory_combo_box, and resource_manager::get_settings().

Referenced by prepare_to_exit().

Member Data Documentation

QAction* main_window::_about_octave_action
private

Definition at line 376 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

octave_dock_widget* main_window::_active_dock
private

Definition at line 322 of file main-window.h.

Referenced by focus_changed(), main_window(), and notice_settings().

QAction* main_window::_agora_action
private

Definition at line 373 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

QAction* main_window::_clear_clipboard_action
private
QAction* main_window::_clear_command_history_action
private

Definition at line 350 of file main-window.h.

Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().

QAction* main_window::_clear_command_window_action
private

Definition at line 349 of file main-window.h.

Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().

QAction* main_window::_clear_workspace_action
private

Definition at line 351 of file main-window.h.

Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().

QClipboard* main_window::_clipboard
private

Definition at line 400 of file main-window.h.

Referenced by clear_clipboard(), clipboard_has_changed(), and construct_edit_menu().

bool main_window::_closing
private

Definition at line 403 of file main-window.h.

Referenced by construct().

QSemaphore main_window::_cmd_processing
private

Definition at line 411 of file main-window.h.

Referenced by execute_command_callback(), and queue_command().

QList<octave_cmd *> main_window::_cmd_queue
private

Definition at line 409 of file main-window.h.

Referenced by execute_command_callback(), and queue_command().

QMutex main_window::_cmd_queue_mutex
private

Definition at line 412 of file main-window.h.

Referenced by execute_command_callback(), and queue_command().

QAction* main_window::_command_window_action
private

Definition at line 361 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_contribute_action
private

Definition at line 374 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

QAction* main_window::_copy_action
private
QComboBox* main_window::_current_directory_combo_box
private
QLineEdit* main_window::_current_directory_line_edit
private

Definition at line 385 of file main-window.h.

QAction* main_window::_current_news_action
private

Definition at line 379 of file main-window.h.

Referenced by configure_shortcuts(), construct_news_menu(), and set_global_shortcuts().

QSemaphore main_window::_dbg_processing
private

Definition at line 416 of file main-window.h.

Referenced by execute_debug_callback(), and queue_debug().

QStringList* main_window::_dbg_queue
private

Definition at line 415 of file main-window.h.

Referenced by execute_debug_callback(), and queue_debug().

QMutex main_window::_dbg_queue_mutex
private

Definition at line 417 of file main-window.h.

Referenced by execute_debug_callback(), and queue_debug().

QAction* main_window::_debug_continue
private
QMenu* main_window::_debug_menu
private

Definition at line 328 of file main-window.h.

Referenced by construct_debug_menu(), and construct_debug_menu_item().

QAction* main_window::_debug_quit
private
QAction* main_window::_debug_step_into
private
QAction* main_window::_debug_step_out
private
QAction* main_window::_debug_step_over
private
QAction* main_window::_developer_action
private

Definition at line 375 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

QAction* main_window::_documentation_action
private

Definition at line 366 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_editor_action
private

Definition at line 365 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_exit_action
private

Definition at line 343 of file main-window.h.

Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().

QAction* main_window::_file_browser_action
private

Definition at line 364 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_find_files_action
private

Definition at line 352 of file main-window.h.

Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().

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

Definition at line 296 of file main-window.h.

Referenced by enable_menu_shortcuts(), and m_add_menu().

QAction* main_window::_history_action
private

Definition at line 362 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_load_workspace_action
private

Definition at line 340 of file main-window.h.

Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().

QToolBar* main_window::_main_tool_bar
private

Definition at line 326 of file main-window.h.

Referenced by construct_tool_bar(), focus_changed(), and notice_settings().

QAction* main_window::_new_figure_action
private

Definition at line 339 of file main-window.h.

Referenced by construct_new_menu().

QAction* main_window::_new_function_action
private
QAction* main_window::_new_script_action
private
QAction* main_window::_octave_packages_action
private

Definition at line 372 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

octave_qt_link* main_window::_octave_qt_link
private
QAction* main_window::_ondisk_doc_action
private
QAction* main_window::_online_doc_action
private
QAction* main_window::_open_action
private
QAction* main_window::_paste_action
private
QAction* main_window::_preferences_action
private

Definition at line 342 of file main-window.h.

Referenced by configure_shortcuts(), construct_edit_menu(), and set_global_shortcuts().

bool main_window::_prevent_readline_conflicts
private

Definition at line 419 of file main-window.h.

Referenced by notice_settings(), and set_global_shortcuts().

QAction* main_window::_release_notes_action
private

Definition at line 378 of file main-window.h.

Referenced by configure_shortcuts(), construct_news_menu(), and set_global_shortcuts().

QString main_window::_release_notes_icon
private

Definition at line 324 of file main-window.h.

Referenced by display_community_news(), display_release_notes(), and notice_settings().

QAction* main_window::_report_bug_action
private

Definition at line 371 of file main-window.h.

Referenced by configure_shortcuts(), construct_help_menu(), and set_global_shortcuts().

QAction* main_window::_reset_windows_action
private

Definition at line 367 of file main-window.h.

Referenced by configure_shortcuts(), construct_window_menu(), and set_global_shortcuts().

QAction* main_window::_save_workspace_action
private

Definition at line 341 of file main-window.h.

Referenced by configure_shortcuts(), construct_file_menu(), and set_global_shortcuts().

QAction* main_window::_select_all_action
private
QPointer<settings_dialog> main_window::_settings_dlg
private

Definition at line 388 of file main-window.h.

Referenced by process_settings_dialog_request(), and ~main_window().

QAction* main_window::_show_command_window_action
private

Definition at line 355 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_show_documentation_action
private

Definition at line 360 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_show_editor_action
private

Definition at line 359 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_show_file_browser_action
private

Definition at line 358 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_show_history_action
private

Definition at line 356 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

QAction* main_window::_show_workspace_action
private

Definition at line 357 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

bool main_window::_start_gui
private
bool main_window::_suppress_dbg_location
private

Definition at line 420 of file main-window.h.

Referenced by execute_debug_callback(), and notice_settings().

QAction* main_window::_undo_action
private
QAction* main_window::_workspace_action
private

Definition at line 363 of file main-window.h.

Referenced by configure_shortcuts(), and construct_window_menu().

workspace_model* main_window::_workspace_model
private

Definition at line 294 of file main-window.h.

Referenced by construct(), construct_octave_qt_link(), and ~main_window().

terminal_dock_widget* main_window::command_window
private
QWidget* main_window::community_news_window
private

Definition at line 396 of file main-window.h.

Referenced by display_community_news(), and ~main_window().

const int main_window::current_directory_max_count = 16
staticprivate

Definition at line 384 of file main-window.h.

Referenced by construct_tool_bar().

const int main_window::current_directory_max_visible = 16
staticprivate

Definition at line 383 of file main-window.h.

Referenced by construct_tool_bar().

documentation_dock_widget* main_window::doc_browser_window
private
file_editor_interface* main_window::editor_window
private
files_dock_widget* main_window::file_browser_window
private
find_files_dialog* main_window::find_files_dlg
private

Definition at line 391 of file main-window.h.

Referenced by find_files(), and ~main_window().

history_dock_widget* main_window::history_window
private
QWidget* main_window::release_notes_window
private

Definition at line 394 of file main-window.h.

Referenced by display_release_notes(), and ~main_window().

QStatusBar* main_window::status_bar
private

Definition at line 300 of file main-window.h.

Referenced by construct(), notice_settings(), report_status_message(), and ~main_window().

workspace_view* main_window::workspace_window
private

Definition at line 308 of file main-window.h.

Referenced by construct(), construct_window_menu(), and ~main_window().


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