GNU Octave  4.0.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 Member Functions | 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)
 
void handle_active_dock_changed (octave_dock_widget *, octave_dock_widget *)
 
void handle_settings (const QSettings *)
 
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. More...
 

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_predecessor_widget (octave_dock_widget *prev_widget)
 
void set_title (const QString &)
 

Protected Slots

virtual void add_actions (QList< QAction * > action_list)
 
virtual void copyClipboard ()
 slots to handle copy & paste More...
 
virtual void do_undo ()
 slots to handle undo More...
 
bool eventFilter (QObject *obj, QEvent *e)
 
virtual void handle_visibility_changed (bool visible)
 Slot to steer changing visibility from outside. More...
 
virtual void pasteClipboard ()
 
virtual void selectAll ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 
QWidgetfocusWidget ()
 

Private Slots

void change_floating (bool)
 
void change_visibility (bool)
 

Private Member Functions

void set_focus_predecessor ()
 
void set_style (bool active)
 

Private Attributes

QColor _bg_color
 
QColor _bg_color_active
 
bool _custom_style
 
QColor _fg_color
 
QColor _fg_color_active
 
bool _floating
 
QString _icon_color
 
QString _icon_color_active
 
int _icon_size
 
QMainWindow_parent
 
octave_dock_widget_predecessor_widget
 
int _title_3d
 

Detailed Description

Definition at line 33 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 129 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.

Definition at line 143 of file moc-octave-dock-widget.cc.

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

void octave_dock_widget::add_actions ( QList< QAction * >  action_list)
protectedvirtualslot

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

Referenced by octave_dock_widget().

void octave_dock_widget::change_floating ( bool  )
privateslot

Definition at line 290 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 303 of file octave-dock-widget.cc.

References active_changed().

Referenced by octave_dock_widget().

void octave_dock_widget::closeEvent ( QCloseEvent *  e)
protectedvirtual

Reimplemented in workspace_view.

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

References active_changed(), and set_focus_predecessor().

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::do_undo ( void  )
inlineprotectedvirtualslot

slots to handle undo

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

Referenced by octave_dock_widget().

bool octave_dock_widget::eventFilter ( QObject obj,
QEvent *  e 
)
protectedslot

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

virtual void octave_dock_widget::focus ( void  )
inlinevirtualslot
QWidget * octave_dock_widget::focusWidget ( )
protected

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

References Faddeeva::w().

void octave_dock_widget::handle_active_dock_changed ( octave_dock_widget w_old,
octave_dock_widget w_new 
)
slot

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

References _custom_style, and set_style().

Referenced by octave_dock_widget().

void octave_dock_widget::handle_settings ( const QSettings *  settings)
slot
virtual void octave_dock_widget::handle_visibility ( bool  visible)
inlinevirtualslot

Definition at line 72 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 78 of file octave-dock-widget.h.

Referenced by handle_settings().

virtual void octave_dock_widget::pasteClipboard ( void  )
inlineprotectedvirtualslot

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

Referenced by octave_dock_widget().

virtual void octave_dock_widget::selectAll ( void  )
inlineprotectedvirtualslot

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

Referenced by octave_dock_widget().

void octave_dock_widget::set_focus_predecessor ( )
private

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

References _predecessor_widget, and focus().

Referenced by closeEvent(), and make_window().

void octave_dock_widget::set_predecessor_widget ( octave_dock_widget prev_widget)

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

References _predecessor_widget.

Referenced by main_window::focus_changed().

void octave_dock_widget::set_style ( bool  active)
private
void octave_dock_widget::set_title ( const QString &  title)

Member Data Documentation

QColor octave_dock_widget::_bg_color
private

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

Referenced by handle_settings(), and set_style().

QColor octave_dock_widget::_bg_color_active
private

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

Referenced by handle_settings(), and set_style().

bool octave_dock_widget::_custom_style
private

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

Referenced by handle_active_dock_changed(), handle_settings(), and set_style().

QColor octave_dock_widget::_fg_color
private

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

Referenced by handle_settings(), and set_style().

QColor octave_dock_widget::_fg_color_active
private

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

Referenced by handle_settings(), and set_style().

bool octave_dock_widget::_floating
private
QString octave_dock_widget::_icon_color
private
QString octave_dock_widget::_icon_color_active
private

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

Referenced by handle_settings(), and set_style().

int octave_dock_widget::_icon_size
private

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

Referenced by octave_dock_widget(), and set_style().

QMainWindow* octave_dock_widget::_parent
private

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

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

octave_dock_widget* octave_dock_widget::_predecessor_widget
private
int octave_dock_widget::_title_3d
private

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

Referenced by handle_settings(), octave_dock_widget(), and set_style().


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