GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::dw_main_window Class Reference

#include "dw-main-window.h"

Inheritance diagram for octave::dw_main_window:
Collaboration diagram for octave::dw_main_window:

Public Slots

void notice_settings (const gui_settings *)
 

Public Member Functions

 dw_main_window (base_qobject &oct_qboj, QWidget *parent=nullptr)
 
 dw_main_window (const dw_main_window &)=delete
 
 ~dw_main_window (void)=default
 
dw_main_windowoperator= (const dw_main_window &)=delete
 

Protected Slots

virtual QMenucreatePopupMenu ()
 
virtual bool event (QEvent *ev)
 

Private Slots

void request_close ()
 
void request_close_all ()
 
void request_close_other ()
 
void request_switch_left ()
 
void request_switch_right ()
 

Private Member Functions

QAction * add_action (QMenu *menu, const QIcon &icon, const QString &text, const char *member, QWidget *receiver)
 
void request_switch (int direction)
 

Private Attributes

QList< QAction * > m_actions_list
 
QAction * m_close_action
 
QAction * m_close_all_action
 
QAction * m_close_others_action
 
QList< QDockWidget * > m_dw_list
 
base_qobjectm_octave_qobj
 
QAction * m_switch_left_action
 
QAction * m_switch_right_action
 

Detailed Description

Definition at line 37 of file dw-main-window.h.

Constructor & Destructor Documentation

◆ dw_main_window() [1/2]

◆ ~dw_main_window()

octave::dw_main_window::~dw_main_window ( void  )
default

◆ dw_main_window() [2/2]

octave::dw_main_window::dw_main_window ( const dw_main_window )
delete

Member Function Documentation

◆ add_action()

QAction * octave::dw_main_window::add_action ( QMenu menu,
const QIcon &  icon,
const QString &  text,
const char *  member,
QWidget receiver 
)
private

Definition at line 107 of file dw-main-window.cc.

References r.

Referenced by dw_main_window().

◆ createPopupMenu

QMenu * octave::dw_main_window::createPopupMenu ( void  )
protectedvirtualslot

Definition at line 84 of file dw-main-window.cc.

References m_close_action, m_close_all_action, and m_close_others_action.

◆ event

bool octave::dw_main_window::event ( QEvent *  ev)
protectedvirtualslot

Definition at line 223 of file dw-main-window.cc.

References m_actions_list, and m_dw_list.

◆ notice_settings

◆ operator=()

dw_main_window& octave::dw_main_window::operator= ( const dw_main_window )
delete

◆ request_close

void octave::dw_main_window::request_close ( )
privateslot

Definition at line 149 of file dw-main-window.cc.

References m_dw_list.

Referenced by dw_main_window().

◆ request_close_all

void octave::dw_main_window::request_close_all ( )
privateslot

Definition at line 174 of file dw-main-window.cc.

References m_dw_list.

Referenced by dw_main_window().

◆ request_close_other

void octave::dw_main_window::request_close_other ( )
privateslot

Definition at line 164 of file dw-main-window.cc.

References m_dw_list.

Referenced by dw_main_window().

◆ request_switch()

void octave::dw_main_window::request_switch ( int  direction)
private

Definition at line 193 of file dw-main-window.cc.

References m_dw_list, and octave::next.

Referenced by request_switch_left(), and request_switch_right().

◆ request_switch_left

void octave::dw_main_window::request_switch_left ( )
privateslot

Definition at line 181 of file dw-main-window.cc.

References request_switch().

Referenced by dw_main_window().

◆ request_switch_right

void octave::dw_main_window::request_switch_right ( )
privateslot

Definition at line 187 of file dw-main-window.cc.

References request_switch().

Referenced by dw_main_window().

Member Data Documentation

◆ m_actions_list

QList<QAction *> octave::dw_main_window::m_actions_list
private

Definition at line 90 of file dw-main-window.h.

Referenced by dw_main_window(), and event().

◆ m_close_action

QAction* octave::dw_main_window::m_close_action
private

Definition at line 83 of file dw-main-window.h.

Referenced by dw_main_window(), createPopupMenu(), and notice_settings().

◆ m_close_all_action

QAction* octave::dw_main_window::m_close_all_action
private

Definition at line 84 of file dw-main-window.h.

Referenced by dw_main_window(), createPopupMenu(), and notice_settings().

◆ m_close_others_action

QAction* octave::dw_main_window::m_close_others_action
private

Definition at line 85 of file dw-main-window.h.

Referenced by dw_main_window(), createPopupMenu(), and notice_settings().

◆ m_dw_list

QList<QDockWidget *> octave::dw_main_window::m_dw_list
private

◆ m_octave_qobj

base_qobject& octave::dw_main_window::m_octave_qobj
private

Definition at line 79 of file dw-main-window.h.

Referenced by dw_main_window(), and notice_settings().

◆ m_switch_left_action

QAction* octave::dw_main_window::m_switch_left_action
private

Definition at line 87 of file dw-main-window.h.

Referenced by dw_main_window(), and notice_settings().

◆ m_switch_right_action

QAction* octave::dw_main_window::m_switch_right_action
private

Definition at line 88 of file dw-main-window.h.

Referenced by dw_main_window(), and notice_settings().


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