Mercurial > hg > octave-lyh
comparison libgui/src/main-window.h @ 16566:662a712b8fd5
partial menu bar cleanup
* file-editor-interface.h (file_editor_interface::request_new_script,
file_editor_interface::request_new_function): New functions.
* file-editor.h, file-editor.cc (file_editor::request_new_script,
file_editor::request_new_function): New functions.
* main-window.h, main-window.cc (main_window::construct_desktop_menu):
Delete function and all uses.
(main_window::handle_new_figure_request,
main_window::handle_new_variable_request,
main_window::new_figure_callback): New functions.
(main_window::construct_file_menu, main_window::construct_edit_menu):
Delete close_command_window_action, import_data_action,
page_setup_action, print_action, print_selection_action,
new_class_action, new_enumeration_action, new_gui_action,
paste_to_workspace_action, find_action. Move load_workspace_action to
file_menu.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 25 Apr 2013 02:42:45 -0400 |
parents | e4b94abfeb96 |
children | d5ae5aa80d42 |
comparison
equal
deleted
inserted
replaced
16565:e4b94abfeb96 | 16566:662a712b8fd5 |
---|---|
109 void change_directory_up (void); | 109 void change_directory_up (void); |
110 void accept_directory_line_edit (void); | 110 void accept_directory_line_edit (void); |
111 | 111 |
112 void handle_command_double_clicked (const QString& command); | 112 void handle_command_double_clicked (const QString& command); |
113 | 113 |
114 void handle_new_figure_request (void); | |
115 | |
116 void handle_new_variable_request (void); | |
117 | |
114 void handle_enter_debugger (void); | 118 void handle_enter_debugger (void); |
115 void handle_exit_debugger (void); | 119 void handle_exit_debugger (void); |
116 void debug_continue (void); | 120 void debug_continue (void); |
117 void debug_step_into (void); | 121 void debug_step_into (void); |
118 void debug_step_over (void); | 122 void debug_step_over (void); |
162 const QKeySequence& key); | 166 const QKeySequence& key); |
163 QAction *construct_debug_menu_item (const char *icon_file, | 167 QAction *construct_debug_menu_item (const char *icon_file, |
164 const QString& item, | 168 const QString& item, |
165 const QKeySequence& key); | 169 const QKeySequence& key); |
166 void construct_debug_menu (QMenuBar *p); | 170 void construct_debug_menu (QMenuBar *p); |
167 void construct_desktop_menu (QMenuBar *p); | |
168 QAction *construct_window_menu_item (QMenu *p, const QString& item, | 171 QAction *construct_window_menu_item (QMenu *p, const QString& item, |
169 bool checkable, | 172 bool checkable, |
170 const QKeySequence& key); | 173 const QKeySequence& key); |
171 void construct_window_menu (QMenuBar *p); | 174 void construct_window_menu (QMenuBar *p); |
172 void construct_help_menu (QMenuBar *p); | 175 void construct_help_menu (QMenuBar *p); |
189 void resize_command_window_callback (void); | 192 void resize_command_window_callback (void); |
190 | 193 |
191 void clear_workspace_callback (void); | 194 void clear_workspace_callback (void); |
192 | 195 |
193 void clear_history_callback (void); | 196 void clear_history_callback (void); |
197 | |
198 void new_figure_callback (void); | |
194 | 199 |
195 void change_directory_callback (const std::string& directory); | 200 void change_directory_callback (const std::string& directory); |
196 | 201 |
197 void debug_continue_callback (void); | 202 void debug_continue_callback (void); |
198 | 203 |