#include "variable-editor.h"
Public Slots | |
void | clearContent (void) |
void | copyClipboard (void) |
void | createColumnMenu (const QPoint &pt) |
void | createContextMenu (const QPoint &pt) |
void | createRowMenu (const QPoint &pt) |
void | createVariable (void) |
void | cutClipboard (void) |
void | delete_selected (void) |
void | handle_horizontal_scroll_action (int action) |
void | handle_vertical_scroll_action (int action) |
void | pasteClipboard (void) |
QList< int > | range_selected (void) |
void | selected_command_requested (const QString &cmd) |
void | transposeContent (void) |
Signals | |
void | add_edit_actions_signal (QMenu *menu, const QString &qualifier_string) |
void | command_signal (const QString &cmd) |
Public Member Functions | |
variable_editor_view (QWidget *p, base_qobject &oct_qobj) | |
~variable_editor_view (void)=default | |
void | setModel (QAbstractItemModel *model) |
Private Member Functions | |
void | add_edit_actions (QMenu *menu, const QString &qualifier_string) |
Private Attributes | |
base_qobject & | m_octave_qobj |
variable_editor_model * | m_var_model |
Definition at line 172 of file variable-editor.h.
variable_editor_view::variable_editor_view | ( | QWidget * | p, |
base_qobject & | oct_qobj | ||
) |
Definition at line 540 of file variable-editor.cc.
|
default |
|
private |
Definition at line 651 of file variable-editor.cc.
References clearContent(), copyClipboard(), createVariable(), cutClipboard(), delete_selected(), base_qobject::get_resource_manager(), resource_manager::icon(), m_octave_qobj, and pasteClipboard().
Referenced by createColumnMenu(), createContextMenu(), and createRowMenu().
|
signal |
|
slot |
Definition at line 866 of file variable-editor.cc.
References variable_editor_model::clear_content(), and m_var_model.
Referenced by add_edit_actions(), cutClipboard(), and variable_editor::edit_variable().
|
signal |
Referenced by variable_editor::edit_variable(), selected_command_requested(), and transposeContent().
|
slot |
Definition at line 892 of file variable-editor.cc.
References mod().
Referenced by add_edit_actions(), cutClipboard(), and variable_editor::edit_variable().
|
slot |
Definition at line 719 of file variable-editor.cc.
References add_edit_actions(), make_plot_mapper(), range_selected(), and selected_command_requested().
Referenced by variable_editor::edit_variable().
|
slot |
Definition at line 684 of file variable-editor.cc.
References add_edit_actions(), make_plot_mapper(), selected_command_requested(), and transposeContent().
Referenced by variable_editor::edit_variable().
|
slot |
Definition at line 768 of file variable-editor.cc.
References add_edit_actions(), make_plot_mapper(), range_selected(), and selected_command_requested().
Referenced by variable_editor::edit_variable().
|
slot |
Definition at line 819 of file variable-editor.cc.
References selected_command_requested().
Referenced by add_edit_actions().
|
slot |
Definition at line 884 of file variable-editor.cc.
References clearContent(), and copyClipboard().
Referenced by add_edit_actions().
|
slot |
Definition at line 836 of file variable-editor.cc.
References mod(), and range_selected().
Referenced by add_edit_actions(), and variable_editor::edit_variable().
|
slot |
Definition at line 1003 of file variable-editor.cc.
References variable_editor_model::display_columns(), m_var_model, and variable_editor_model::maybe_resize_columns().
Referenced by variable_editor::edit_variable().
|
slot |
Definition at line 1025 of file variable-editor.cc.
References variable_editor_model::display_rows(), m_var_model, and variable_editor_model::maybe_resize_rows().
Referenced by variable_editor::edit_variable().
|
slot |
Definition at line 923 of file variable-editor.cc.
References mod().
Referenced by add_edit_actions(), and variable_editor::edit_variable().
|
slot |
Definition at line 579 of file variable-editor.cc.
References max(), min(), and range.
Referenced by createColumnMenu(), createRowMenu(), delete_selected(), and selected_command_requested().
|
slot |
Definition at line 612 of file variable-editor.cc.
References command_signal(), variable_editor_model::data_columns(), variable_editor_model::data_rows(), m_var_model, min(), range, and range_selected().
Referenced by createColumnMenu(), createContextMenu(), createRowMenu(), and createVariable().
void variable_editor_view::setModel | ( | QAbstractItemModel * | model | ) |
Definition at line 558 of file variable-editor.cc.
References variable_editor_model::column_width(), m_var_model, qt_fontmetrics_horizontal_advance(), and Faddeeva::w().
|
slot |
Definition at line 827 of file variable-editor.cc.
References command_signal().
Referenced by createContextMenu().
|
private |
Definition at line 224 of file variable-editor.h.
Referenced by add_edit_actions().
|
private |
Definition at line 226 of file variable-editor.h.
Referenced by clearContent(), handle_horizontal_scroll_action(), handle_vertical_scroll_action(), selected_command_requested(), and setModel().