GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "octave-dock-widget.h"
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) |
QMainWindow * | main_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) |
QWidget * | focusWidget () |
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 |
Definition at line 33 of file octave-dock-widget.h.
octave_dock_widget::octave_dock_widget | ( | QWidget * | p = 0 | ) |
Definition at line 40 of file octave-dock-widget.cc.
References _floating, _icon_color, _icon_size, _parent, _predecessor_widget, _title_3d, add_actions(), change_floating(), change_visibility(), copyClipboard(), do_undo(), handle_active_dock_changed(), handle_settings(), handle_visibility_changed(), pasteClipboard(), and selectAll().
|
virtual |
Definition at line 129 of file octave-dock-widget.cc.
References _floating, and resource_manager::get_settings().
|
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().
|
protectedvirtualslot |
Definition at line 485 of file octave-dock-widget.cc.
Referenced by octave_dock_widget().
|
privateslot |
Definition at line 290 of file octave-dock-widget.cc.
References _floating, focus(), make_widget(), and make_window().
Referenced by octave_dock_widget().
|
privateslot |
Definition at line 303 of file octave-dock-widget.cc.
References active_changed().
Referenced by octave_dock_widget().
|
protectedvirtual |
Reimplemented in workspace_view.
Definition at line 493 of file octave-dock-widget.cc.
References active_changed(), and set_focus_predecessor().
|
virtual |
Definition at line 154 of file octave-dock-widget.cc.
References active_changed(), and handle_visibility().
Referenced by main_window::connect_visibility_changed().
|
inlineprotectedvirtualslot |
slots to handle copy & paste
Definition at line 96 of file octave-dock-widget.h.
Referenced by octave_dock_widget().
|
inlineprotectedvirtualslot |
slots to handle undo
Definition at line 100 of file octave-dock-widget.h.
Referenced by octave_dock_widget().
Definition at line 455 of file octave-dock-widget.cc.
|
inlinevirtualslot |
Reimplemented in terminal_dock_widget.
Definition at line 62 of file octave-dock-widget.h.
Referenced by change_floating(), terminal_dock_widget::focus(), handle_visibility(), and set_focus_predecessor().
|
protected |
Definition at line 311 of file octave-dock-widget.cc.
References Faddeeva::w().
|
slot |
Definition at line 467 of file octave-dock-widget.cc.
References _custom_style, and set_style().
Referenced by octave_dock_widget().
|
slot |
Definition at line 415 of file octave-dock-widget.cc.
References _bg_color, _bg_color_active, _custom_style, _fg_color, _fg_color_active, _icon_color, _icon_color_active, _title_3d, notice_settings(), and set_style().
Referenced by octave_dock_widget().
|
inlinevirtualslot |
Definition at line 72 of file octave-dock-widget.h.
References focus().
Referenced by connect_visibility_changed().
|
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().
|
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 | ) |
Definition at line 238 of file octave-dock-widget.cc.
References _floating, _icon_color, _parent, and resource_manager::get_settings().
Referenced by change_floating(), and main_window::set_window_layout().
void octave_dock_widget::make_window | ( | void | ) |
Definition at line 195 of file octave-dock-widget.cc.
References _floating, _icon_color, _parent, resource_manager::get_settings(), and set_focus_predecessor().
Referenced by change_floating(), and main_window::set_window_layout().
|
inlinevirtualslot |
Definition at line 78 of file octave-dock-widget.h.
Referenced by handle_settings().
|
inlineprotectedvirtualslot |
Definition at line 97 of file octave-dock-widget.h.
Referenced by octave_dock_widget().
|
inlineprotectedvirtualslot |
Definition at line 98 of file octave-dock-widget.h.
Referenced by octave_dock_widget().
|
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().
|
private |
Definition at line 319 of file octave-dock-widget.cc.
References _bg_color, _bg_color_active, _custom_style, _fg_color, _fg_color_active, _floating, _icon_color, _icon_color_active, _icon_size, _title_3d, and arg().
Referenced by handle_active_dock_changed(), and handle_settings().
void octave_dock_widget::set_title | ( | const QString & | title | ) |
Definition at line 171 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::workspace_view().
|
private |
Definition at line 122 of file octave-dock-widget.h.
Referenced by handle_settings(), and set_style().
|
private |
Definition at line 123 of file octave-dock-widget.h.
Referenced by handle_settings(), and set_style().
|
private |
Definition at line 119 of file octave-dock-widget.h.
Referenced by handle_active_dock_changed(), handle_settings(), and set_style().
|
private |
Definition at line 124 of file octave-dock-widget.h.
Referenced by handle_settings(), and set_style().
|
private |
Definition at line 125 of file octave-dock-widget.h.
Referenced by handle_settings(), and set_style().
|
private |
Definition at line 118 of file octave-dock-widget.h.
Referenced by change_floating(), make_widget(), make_window(), octave_dock_widget(), set_style(), and ~octave_dock_widget().
|
private |
Definition at line 126 of file octave-dock-widget.h.
Referenced by handle_settings(), make_widget(), make_window(), octave_dock_widget(), and set_style().
|
private |
Definition at line 127 of file octave-dock-widget.h.
Referenced by handle_settings(), and set_style().
|
private |
Definition at line 121 of file octave-dock-widget.h.
Referenced by octave_dock_widget(), and set_style().
|
private |
Definition at line 117 of file octave-dock-widget.h.
Referenced by main_win(), make_widget(), make_window(), and octave_dock_widget().
|
private |
Definition at line 128 of file octave-dock-widget.h.
Referenced by octave_dock_widget(), set_focus_predecessor(), and set_predecessor_widget().
|
private |
Definition at line 120 of file octave-dock-widget.h.
Referenced by handle_settings(), octave_dock_widget(), and set_style().