GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
workspace_view Class Reference

#include "workspace-view.h"

Inheritance diagram for workspace_view:
Inheritance graph
[legend]
Collaboration diagram for workspace_view:
Collaboration graph
[legend]

Public Slots

virtual void focus (void)
virtual void handle_visibility (bool visible)
QMainWindowmain_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)
QWidgetfocusWidget ()

Private Member Functions

void relay_contextmenu_command (const QString &cmdname)

Private Attributes

workspace_model_model
QTableView * view
int view_previous_row_count

Detailed Description

Definition at line 34 of file workspace-view.h.

Constructor & Destructor Documentation

workspace_view::workspace_view ( QWidget parent = 0)
workspace_view::~workspace_view ( void  )

Definition at line 84 of file workspace-view.cc.

References resource_manager::get_settings(), and view.

Member Function Documentation

void octave_dock_widget::active_changed ( bool  active)
signalinherited

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().

void workspace_view::closeEvent ( QCloseEvent *  event)
protectedvirtual

Reimplemented from octave_dock_widget.

Definition at line 101 of file workspace-view.cc.

References octave_dock_widget::active_changed().

void workspace_view::command_requested ( const QString &  cmd)
signal

signal that user had requested a command on a variable

Referenced by relay_contextmenu_command(), and workspace_view().

void octave_dock_widget::connect_visibility_changed ( void  )
virtualinherited
void workspace_view::contextmenu_requested ( const QPoint &  pos)
protectedslot
void workspace_view::copyClipboard ( void  )
protectedslot

Definition at line 273 of file workspace-view.cc.

References handle_contextmenu_copy(), and view.

virtual void octave_dock_widget::focus ( void  )
inlinevirtualslotinherited
QWidget * octave_dock_widget::focusWidget ( )
protectedinherited

Definition at line 259 of file octave-dock-widget.cc.

References Faddeeva::w().

void workspace_view::handle_contextmenu_copy ( void  )
protectedslot

Definition at line 154 of file workspace-view.cc.

References view.

Referenced by contextmenu_requested(), and copyClipboard().

void workspace_view::handle_contextmenu_disp ( void  )
protectedslot

Definition at line 205 of file workspace-view.cc.

References relay_contextmenu_command().

Referenced by contextmenu_requested().

void workspace_view::handle_contextmenu_plot ( void  )
protectedslot

Definition at line 211 of file workspace-view.cc.

References relay_contextmenu_command().

Referenced by contextmenu_requested().

void workspace_view::handle_contextmenu_rename ( void  )
protectedslot

Definition at line 175 of file workspace-view.cc.

References view.

Referenced by contextmenu_requested().

void workspace_view::handle_contextmenu_stem ( void  )
protectedslot

Definition at line 217 of file workspace-view.cc.

References relay_contextmenu_command().

Referenced by contextmenu_requested().

void workspace_view::handle_model_changed ( void  )
protectedslot

Definition at line 242 of file workspace-view.cc.

References view, and view_previous_row_count.

virtual void octave_dock_widget::handle_visibility ( bool  visible)
inlinevirtualslotinherited
virtual void octave_dock_widget::handle_visibility_changed ( bool  visible)
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().

QMainWindow* octave_dock_widget::main_win ( )
inlineslotinherited

Definition at line 85 of file octave-dock-widget.h.

References octave_dock_widget::_parent.

Referenced by files_dock_widget::files_dock_widget().

void octave_dock_widget::make_widget ( bool  dock = true)
inherited
void octave_dock_widget::make_window ( void  )
inherited
void workspace_view::notice_settings ( const QSettings *  settings)
slot
virtual void octave_dock_widget::pasteClipboard ( void  )
inlineprotectedvirtualslotinherited

Definition at line 99 of file octave-dock-widget.h.

Referenced by octave_dock_widget::octave_dock_widget().

void workspace_view::relay_contextmenu_command ( const QString &  cmdname)
private
void octave_dock_widget::set_title ( const QString &  title)
inherited
void workspace_view::setModel ( workspace_model model)
slot

Definition at line 94 of file workspace-view.cc.

References _model, and view.

Referenced by main_window::construct().

Member Data Documentation

workspace_model* workspace_view::_model
private

Definition at line 80 of file workspace-view.h.

Referenced by notice_settings(), and setModel().

QTableView* workspace_view::view
private
int workspace_view::view_previous_row_count
private

Definition at line 79 of file workspace-view.h.

Referenced by handle_model_changed(), and workspace_view().


The documentation for this class was generated from the following files: