25 #if ! defined (octave_qt_link_h) 26 #define octave_qt_link_h 1 35 #include <QWaitCondition> 86 std::pair<std::list<int>,
int>
89 int width,
int height,
90 const std::list<int>& initial_value,
92 const std::list<std::string>& prompt,
96 std::list<std::string>
99 const std::list<float>& nr,
100 const std::list<float>& nc,
101 const std::list<std::string>& defaults);
103 std::list<std::string>
111 bool addpath_option);
119 bool update_variable_editor);
192 int line,
const QString& cond);
void do_show_doc(const std::string &file)
octave_qt_link & operator=(const octave_qt_link &)=delete
void change_directory_signal(const QString &dir)
int do_debug_cd_or_addpath_error(const std::string &file, const std::string &dir, bool addpath_option)
void do_exit_debugger_event(void)
void clear_history_signal(void)
void do_append_history(const std::string &hist_entry)
void insert_debugger_pointer_signal(const QString &, int)
For example cd octave end example noindent changes the current working directory to file
bool do_confirm_shutdown(void)
Provides threadsafe access to octave.
void do_clear_history(void)
The value of lines which begin with a space character are not saved in the history list A value of all commands are saved on the history list
void do_set_history(const string_vector &hist)
int do_message_dialog(const std::string &dlg, const std::string &msg, const std::string &title)
void show_doc_signal(const QString &file)
static bool file_in_path(const std::string &file, const std::string &dir)
void register_doc_signal(const QString &file)
void unregister_doc_signal(const QString &file)
identity matrix If supplied two scalar respectively For allows like xample val
Return the CPU time used by your Octave session The first output is the total time spent executing your process and is equal to the sum of second and third which are the number of CPU seconds spent executing in user mode and the number of CPU seconds spent executing in system mode
void do_delete_debugger_pointer(const std::string &file, int line)
void delete_debugger_pointer_signal(const QString &, int)
bool do_prompt_new_edit_file(const std::string &file)
Provides threadsafe access to octave.
void do_register_doc(const std::string &file)
void do_pre_input_event(void)
octave_qt_link(QWidget *p, gui_application *app_context)
to define functions rather than attempting to enter them directly on the command line The block of commands is executed as soon as you exit the editor To avoid executing any simply delete all the lines from the buffer before leaving the editor When invoked with no edit the previously executed command
void shutdown_confirmation(bool sd)
void copy_image_to_clipboard_signal(const QString &file, bool remove_file)
void do_execute_command_in_terminal(const std::string &command)
void confirm_shutdown_signal(void)
void do_edit_variable(const std::string &name, const octave_value &val)
void exit_debugger_signal(void)
QWaitCondition m_waitcondition
void refresh_variable_editor_signal(void)
nd deftypefn *std::string name
void edit_file_signal(const QString &file)
void do_show_preferences(void)
bool do_copy_image_to_clipboard(const std::string &file)
void do_insert_debugger_pointer(const std::string &file, int line)
void do_change_directory(const std::string &dir)
void do_set_workspace(bool top_level, bool debug, const symbol_scope &scope, bool update_variable_editor)
MArray< T > filter(MArray< T > &b, MArray< T > &a, MArray< T > &x, MArray< T > &si, int dim=0)
void do_unregister_doc(const std::string &file)
void execute_command_in_terminal_signal(const QString &command)
void update_breakpoint_marker_signal(bool insert, const QString &file, int line, const QString &cond)
void do_enter_debugger_event(const std::string &file, int line)
void clear_workspace_signal(void)
bool do_edit_file(const std::string &file)
void do_set_default_prompts(std::string &ps1, std::string &ps2, std::string &ps4)
~octave_qt_link(void)=default
void do_post_input_event(void)
void edit_variable_signal(const QString &name, const octave_value &val)
void append_history_signal(const QString &hist_entry)
std::pair< std::list< int >, int > do_list_dialog(const std::list< std::string > &list, const std::string &mode, int width, int height, const std::list< int > &initial_value, const std::string &name, const std::list< std::string > &prompt, const std::string &ok_string, const std::string &cancel_string)
gui_application * m_app_context
void enter_debugger_signal(void)
void set_workspace_signal(bool top_level, bool debug, const symbol_scope &scope)
std::list< std::string > do_input_dialog(const std::list< std::string > &prompt, const std::string &title, const std::list< float > &nr, const std::list< float > &nc, const std::list< std::string > &defaults)
bool m_shutdown_confirm_result
void set_history_signal(const QStringList &hist)
std::string do_question_dialog(const std::string &msg, const std::string &title, const std::string &btn1, const std::string &btn2, const std::string &btn3, const std::string &btndef)
void do_clear_workspace(void)
void do_update_breakpoint(bool insert, const std::string &file, int line, const std::string &cond)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
std::list< std::pair< std::string, std::string > > filter_list
void show_preferences_signal(void)
std::list< std::string > do_file_dialog(const filter_list &filter, const std::string &title, const std::string &filename, const std::string &pathname, const std::string &multimode)
void do_execute_in_debugger_event(const std::string &file, int line)