GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "workspace-view.h"
Public Slots | |
virtual void | focus (void) |
virtual void | handle_visibility (bool visible) |
QMainWindow * | main_win () |
void | notice_settings (const QSettings *) |
void | setModel (workspace_model *model) |
Signals | |
void | active_changed (bool active) |
Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget has changed. | |
void | command_requested (const QString &cmd) |
signal that user had requested a command on a variable |
Public Member Functions | |
workspace_view (QWidget *parent=0) | |
~workspace_view (void) | |
virtual void | connect_visibility_changed (void) |
void | make_widget (bool dock=true) |
void | make_window (void) |
void | set_title (const QString &) |
Protected Slots | |
void | contextmenu_requested (const QPoint &pos) |
void | copyClipboard () |
void | handle_contextmenu_copy (void) |
void | handle_contextmenu_disp (void) |
void | handle_contextmenu_plot (void) |
void | handle_contextmenu_rename (void) |
void | handle_contextmenu_stem (void) |
void | handle_model_changed (void) |
virtual void | handle_visibility_changed (bool visible) |
Slot to steer changing visibility from outside. | |
virtual void | pasteClipboard () |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
QWidget * | focusWidget () |
Private Member Functions | |
void | relay_contextmenu_command (const QString &cmdname) |
Private Attributes | |
workspace_model * | _model |
QTableView * | view |
int | view_previous_row_count |
Definition at line 34 of file workspace-view.h.
workspace_view::workspace_view | ( | QWidget * | parent = 0 | ) |
Definition at line 42 of file workspace-view.cc.
References command_requested(), contextmenu_requested(), resource_manager::get_settings(), octave_dock_widget::set_title(), view, and view_previous_row_count.
workspace_view::~workspace_view | ( | void | ) |
Definition at line 84 of file workspace-view.cc.
References resource_manager::get_settings(), and view.
Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget has changed.
Referenced by octave_dock_widget::change_visibility(), octave_dock_widget::closeEvent(), closeEvent(), octave_dock_widget::connect_visibility_changed(), and octave_dock_widget::handle_visibility_changed().
|
protectedvirtual |
Reimplemented from octave_dock_widget.
Definition at line 101 of file workspace-view.cc.
References octave_dock_widget::active_changed().
|
signal |
signal that user had requested a command on a variable
Referenced by relay_contextmenu_command(), and workspace_view().
Definition at line 134 of file octave-dock-widget.cc.
References octave_dock_widget::active_changed(), and octave_dock_widget::handle_visibility().
Referenced by main_window::connect_visibility_changed().
|
protectedslot |
Definition at line 108 of file workspace-view.cc.
References handle_contextmenu_copy(), handle_contextmenu_disp(), handle_contextmenu_plot(), handle_contextmenu_rename(), handle_contextmenu_stem(), workspace_model::is_top_level(), and view.
Referenced by workspace_view().
Definition at line 273 of file workspace-view.cc.
References handle_contextmenu_copy(), and view.
Reimplemented in terminal_dock_widget.
Definition at line 65 of file octave-dock-widget.h.
Referenced by octave_dock_widget::change_floating(), and octave_dock_widget::handle_visibility().
|
protectedinherited |
Definition at line 259 of file octave-dock-widget.cc.
References Faddeeva::w().
Definition at line 154 of file workspace-view.cc.
References view.
Referenced by contextmenu_requested(), and copyClipboard().
Definition at line 205 of file workspace-view.cc.
References relay_contextmenu_command().
Referenced by contextmenu_requested().
Definition at line 211 of file workspace-view.cc.
References relay_contextmenu_command().
Referenced by contextmenu_requested().
Definition at line 175 of file workspace-view.cc.
References view.
Referenced by contextmenu_requested().
Definition at line 217 of file workspace-view.cc.
References relay_contextmenu_command().
Referenced by contextmenu_requested().
Definition at line 242 of file workspace-view.cc.
References view, and view_previous_row_count.
Definition at line 75 of file octave-dock-widget.h.
References octave_dock_widget::focus().
Referenced by octave_dock_widget::connect_visibility_changed().
|
inlineprotectedvirtualslotinherited |
Slot to steer changing visibility from outside.
Definition at line 90 of file octave-dock-widget.h.
References octave_dock_widget::active_changed().
Referenced by octave_dock_widget::octave_dock_widget().
|
inlineslotinherited |
Definition at line 85 of file octave-dock-widget.h.
References octave_dock_widget::_parent.
Referenced by files_dock_widget::files_dock_widget().
Definition at line 193 of file octave-dock-widget.cc.
References octave_dock_widget::_dock_action, octave_dock_widget::_floating, octave_dock_widget::_parent, and resource_manager::get_settings().
Referenced by octave_dock_widget::change_floating(), and main_window::set_window_layout().
Definition at line 157 of file octave-dock-widget.cc.
References octave_dock_widget::_dock_action, octave_dock_widget::_floating, octave_dock_widget::_parent, and resource_manager::get_settings().
Referenced by octave_dock_widget::change_floating(), and main_window::set_window_layout().
|
slot |
Definition at line 255 of file workspace-view.cc.
References _model, arg(), workspace_model::notice_settings(), resource_manager::storage_class_chars(), workspace_model::storage_class_color(), and resource_manager::storage_class_names().
Definition at line 99 of file octave-dock-widget.h.
Referenced by octave_dock_widget::octave_dock_widget().
|
private |
Definition at line 223 of file workspace-view.cc.
References command_requested(), and view.
Referenced by handle_contextmenu_disp(), handle_contextmenu_plot(), and handle_contextmenu_stem().
|
inherited |
Definition at line 144 of file octave-dock-widget.cc.
Referenced by history_dock_widget::construct(), documentation_dock_widget::documentation_dock_widget(), files_dock_widget::files_dock_widget(), terminal_dock_widget::terminal_dock_widget(), and workspace_view().
|
slot |
Definition at line 94 of file workspace-view.cc.
Referenced by main_window::construct().
|
private |
Definition at line 80 of file workspace-view.h.
Referenced by notice_settings(), and setModel().
|
private |
Definition at line 78 of file workspace-view.h.
Referenced by contextmenu_requested(), copyClipboard(), handle_contextmenu_copy(), handle_contextmenu_rename(), handle_model_changed(), relay_contextmenu_command(), setModel(), workspace_view(), and ~workspace_view().
|
private |
Definition at line 79 of file workspace-view.h.
Referenced by handle_model_changed(), and workspace_view().