26 #if ! defined (octave_octave_qobject_h)
27 #define octave_octave_qobject_h 1
31 #include <QApplication>
35 #include <QStringList>
169 QPointer<terminal_dock_widget>
172 QPointer<documentation_dock_widget>
175 QPointer<files_dock_widget>
178 QPointer<history_dock_widget>
181 QPointer<workspace_view>
187 QPointer<file_editor_interface>
190 QPointer<variable_editor>
Base class for Octave interfaces that use Qt.
QPointer< files_dock_widget > m_file_browser_widget
QPointer< history_dock_widget > history_widget(main_window *mw=nullptr)
void interpreter_pause(void)
void show_variable_editor_window(const QString &name, const octave_value &value)
workspace_model * m_workspace_model
resource_manager m_resource_manager
QPointer< files_dock_widget > file_browser_widget(main_window *mw=nullptr)
void show_release_notes(void)
QPointer< community_news > community_news_widget(int serial=-1)
void connect_interpreter_events(T *widget)
void interpreter_ready(void)
void show_file_browser_window(void)
void execute_command(const QString &command)
bool is_gui_app(void) const
virtual bool confirm_shutdown(void)
void interpreter_resume(void)
void copy_image_to_clipboard(const QString &file, bool remove_file)
QPointer< documentation_dock_widget > m_documentation_widget
QApplication * qapplication(void)
void show_workspace_window(void)
bool experimental_terminal_widget(void) const
void handle_variable_editor_update(void)
interpreter_qobject * interpreter_qobj(void)
bool gui_running(void) const
qt_application & m_app_context
QPointer< workspace_view > m_workspace_widget
main_window * m_main_window
qt_interpreter_events * qt_link(void)
qt_application & app_context(void)
QPointer< file_editor_interface > m_editor_widget
octave_qapplication * m_qapplication
void interpreter_interrupt(void)
void interpreter_stop(void)
void show_command_history_window(void)
resource_manager & get_resource_manager(void)
QPointer< variable_editor > variable_editor_widget(main_window *mw=nullptr)
shortcut_manager m_shortcut_manager
void show_documentation_window(const QString &file)
void interpreter_event(const fcn_callback &fcn)
void show_community_news(int serial)
shortcut_manager & get_shortcut_manager(void)
bool m_translators_installed
main_window * get_main_window(void)
QPointer< file_editor_interface > editor_widget(main_window *mw=nullptr)
base_qobject(qt_application &app_context, bool gui_app=false)
QPointer< variable_editor > m_variable_editor_widget
QPointer< terminal_dock_widget > terminal_widget(main_window *mw=nullptr)
workspace_model * get_workspace_model(void)
bool have_terminal_window(void) const
void show_terminal_window(void)
void start_main_thread(void)
std::shared_ptr< qt_interpreter_events > get_qt_interpreter_events(void)
QPointer< history_dock_widget > m_history_widget
void start_gui(bool gui_app)
interpreter_qobject * m_interpreter_qobj
void config_translators(void)
QPointer< release_notes > release_notes_widget(void)
std::shared_ptr< qt_interpreter_events > m_qt_interpreter_events
QThread * main_thread(void)
QPointer< community_news > m_community_news
QPointer< workspace_view > workspace_widget(main_window *mw=nullptr)
QPointer< terminal_dock_widget > m_terminal_widget
QPointer< documentation_dock_widget > documentation_widget(main_window *mw=nullptr)
QPointer< release_notes > m_release_notes
Represents the main window.
This class is a simple wrapper around QApplication so that we can reimplement QApplication::notify.
virtual bool notify(QObject *receiver, QEvent *e) override
Reimplement QApplication::notify.
octave_qapplication(int &argc, char **argv)
void interpreter_event(const meth_callback &meth)
void interpreter_event(const fcn_callback &fcn)
~octave_qapplication(void)
This class inherits from the pure-virtual base class application and provides an implementation of th...
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::function< void(void)> fcn_callback
std::function< void(interpreter &)> meth_callback