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 Slots | Private Attributes | List of all members
octave_dock_widget Class Reference

#include "octave-dock-widget.h"

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

Public Slots

virtual void focus (void)
virtual void handle_visibility (bool visible)
QMainWindowmain_win ()
virtual void notice_settings (const QSettings *)

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.

Public Member Functions

 octave_dock_widget (QWidget *p=0)
virtual ~octave_dock_widget ()
virtual void connect_visibility_changed (void)
void make_widget (bool dock=true)
void make_window (void)
void set_title (const QString &)

Protected Slots

virtual void copyClipboard ()
 slots to handle copy & paste
virtual void handle_visibility_changed (bool visible)
 Slot to steer changing visibility from outside.
virtual void pasteClipboard ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
QWidgetfocusWidget ()

Private Slots

void change_floating (bool)
void change_visibility (bool)

Private Attributes

QAction * _dock_action
bool _floating
QMainWindow_parent

Detailed Description

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

Constructor & Destructor Documentation

octave_dock_widget::octave_dock_widget ( QWidget p = 0)
octave_dock_widget::~octave_dock_widget ( )
virtual

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

References _floating, and resource_manager::get_settings().

Member Function Documentation

void octave_dock_widget::active_changed ( bool  active)
signal

Custom signal that tells whether a user has clicked away that dock widget, i.e the active dock widget has changed.

Referenced by change_visibility(), closeEvent(), workspace_view::closeEvent(), connect_visibility_changed(), and handle_visibility_changed().

void octave_dock_widget::change_floating ( bool  )
privateslot

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

References _floating, focus(), make_widget(), and make_window().

Referenced by octave_dock_widget().

void octave_dock_widget::change_visibility ( bool  )
privateslot

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

References active_changed().

Referenced by octave_dock_widget().

virtual void octave_dock_widget::closeEvent ( QCloseEvent *  e)
inlineprotectedvirtual

Reimplemented in workspace_view.

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

References active_changed().

void octave_dock_widget::connect_visibility_changed ( void  )
virtual
virtual void octave_dock_widget::copyClipboard ( void  )
inlineprotectedvirtualslot

slots to handle copy & paste

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

Referenced by octave_dock_widget().

virtual void octave_dock_widget::focus ( void  )
inlinevirtualslot

Reimplemented in terminal_dock_widget.

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

Referenced by change_floating(), and handle_visibility().

QWidget * octave_dock_widget::focusWidget ( )
protected

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

References Faddeeva::w().

virtual void octave_dock_widget::handle_visibility ( bool  visible)
inlinevirtualslot

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

References focus().

Referenced by connect_visibility_changed().

virtual void octave_dock_widget::handle_visibility_changed ( bool  visible)
inlineprotectedvirtualslot

Slot to steer changing visibility from outside.

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

References active_changed().

Referenced by octave_dock_widget().

QMainWindow* octave_dock_widget::main_win ( )
inlineslot

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

References _parent.

Referenced by files_dock_widget::files_dock_widget().

void octave_dock_widget::make_widget ( bool  dock = true)
void octave_dock_widget::make_window ( void  )
virtual void octave_dock_widget::notice_settings ( const QSettings *  )
inlinevirtualslot

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

Referenced by octave_dock_widget().

virtual void octave_dock_widget::pasteClipboard ( void  )
inlineprotectedvirtualslot

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

Referenced by octave_dock_widget().

void octave_dock_widget::set_title ( const QString &  title)

Member Data Documentation

QAction* octave_dock_widget::_dock_action
private

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

Referenced by make_widget(), make_window(), and octave_dock_widget().

bool octave_dock_widget::_floating
private
QMainWindow* octave_dock_widget::_parent
private

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

Referenced by main_win(), make_widget(), make_window(), and octave_dock_widget().


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