26 #if ! defined (octave_variable_editor_h)
27 #define octave_variable_editor_h 1
29 #include <QHeaderView>
30 #include <QSignalMapper>
31 #include <QStackedWidget>
102 #define QTBUG_44813_FIX_VERSION 0x999999
115 #if (QT_VERSION >= 0x050302) && (QT_VERSION <= QTBUG_44813_FIX_VERSION)
118 bool event (QEvent *event);
122 bool m_waiting_for_mouse_move;
124 bool m_waiting_for_mouse_button_release;
157 void save (
const QString&
format = QString ());
159 void do_save (
const QString&
format,
const QString& save_opts);
182 void setModel (QAbstractItemModel *model);
340 void callUpdate (
const QModelIndex&,
const QModelIndex&);
402 const QObject *receiver,
const char *member);
Base class for Octave interfaces that use Qt.
variable_editor_view * edit_view(void)
void save(const QString &format=QString())
void interpreter_event(const meth_callback &meth)
QTextEdit * disp_view(void)
base_qobject & m_octave_qobj
variable_editor_stack(QWidget *p, base_qobject &oct_qobj)
void interpreter_event(const fcn_callback &fcn)
void do_save_signal(const QString &format, const QString &save_opts)
void set_editable(bool editable)
QTextEdit * make_disp_view(QWidget *parent)
variable_editor_view * m_edit_view
~variable_editor_stack(void)=default
void do_save(const QString &format, const QString &save_opts)
void edit_variable_signal(const QString &name, const octave_value &val)
~variable_editor_view(void)=default
void createVariable(void)
void command_signal(const QString &cmd)
variable_editor_model * m_var_model
variable_editor_view(QWidget *p, base_qobject &oct_qobj)
void createColumnMenu(const QPoint &pt)
base_qobject & m_octave_qobj
void delete_selected(void)
QList< int > range_selected(void)
void add_edit_actions(QMenu *menu, const QString &qualifier_string)
void setModel(QAbstractItemModel *model)
void handle_horizontal_scroll_action(int action)
void transposeContent(void)
void pasteClipboard(void)
void handle_vertical_scroll_action(int action)
void add_edit_actions_signal(QMenu *menu, const QString &qualifier_string)
void createContextMenu(const QPoint &pt)
void selected_command_requested(const QString &cmd)
void createRowMenu(const QPoint &pt)
variable_dock_widget * m_focus_widget_vdw
void paste_clipboard_signal(void)
void record_hovered_focus_variable(void)
void level_up_signal(void)
QString m_current_focus_vname
void callUpdate(const QModelIndex &, const QModelIndex &)
QAction * add_tool_bar_button(const QIcon &icon, const QString &text, const QObject *receiver, const char *member)
void closeEvent(QCloseEvent *)
void variable_focused(const QString &name)
variable_editor(QWidget *parent, base_qobject &oct_qobj)
void notice_settings(const gui_settings *)
void pasteClipboard(void)
void copy_clipboard_signal(void)
QList< QColor > m_table_colors
QSignalMapper * m_save_mapper
void focusInEvent(QFocusEvent *ev)
void construct_tool_bar(void)
variable_editor & operator=(const variable_editor &)=delete
void interpreter_event(const meth_callback &meth)
void variable_destroyed(QObject *obj)
QString m_hovered_focus_vname
void delete_selected_signal(void)
void restore_hovered_focus_variable(void)
void interpreter_event(const fcn_callback &fcn)
QSignalMapper * m_plot_mapper
void command_signal(const QString &cmd)
variable_editor(const variable_editor &)=delete
void refresh_signal(void)
void edit_variable(const QString &name, const octave_value &val)
void clear_content_signal(void)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::function< void(void)> fcn_callback
std::function< void(interpreter &)> meth_callback
std::size_t format(std::ostream &os, const char *fmt,...)