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

#include "set-path-dialog.h"

Inheritance diagram for octave::set_path_dialog:
Collaboration diagram for octave::set_path_dialog:

Public Slots

void update_model (void)
 

Signals

void interpreter_event (const fcn_callback &fcn)
 
void interpreter_event (const meth_callback &meth)
 
void modify_path_signal (const QStringList &dir_list, bool rm, bool subdirs)
 Emitted, when the path has to be modified. More...
 

Public Member Functions

 set_path_dialog (QWidget *parent, base_qobject &oct_qobj)
 
virtual ~set_path_dialog (void)=default
 
void save_settings (void)
 

Protected Member Functions

void closeEvent (QCloseEvent *e)
 

Private Slots

void add_dir (void)
 
void add_dir_subdirs (void)
 
void move_dir_bottom (void)
 
void move_dir_down (void)
 
void move_dir_top (void)
 
void move_dir_up (void)
 
void rm_dir (void)
 

Private Member Functions

void add_dir_common (bool subdirs)
 

Private Attributes

QPushButtonm_add_folder_button
 
QPushButtonm_close_button
 
QLabelm_info_label
 
QPushButtonm_move_down_button
 
QPushButtonm_move_to_bottom_button
 
QPushButtonm_move_to_top_button
 
QPushButtonm_move_up_button
 
base_qobjectm_octave_qobj
 
QListView * m_path_list
 
QPushButtonm_reload_button
 
QPushButtonm_remove_button
 
QPushButtonm_revert_button
 
QPushButtonm_revert_last_button
 
QPushButtonm_save_button
 

Detailed Description

Definition at line 46 of file set-path-dialog.h.

Constructor & Destructor Documentation

◆ set_path_dialog()

◆ ~set_path_dialog()

virtual octave::set_path_dialog::~set_path_dialog ( void  )
virtualdefault

Member Function Documentation

◆ add_dir

void octave::set_path_dialog::add_dir ( void  )
privateslot

Definition at line 208 of file set-path-dialog.cc.

References add_dir_common().

Referenced by set_path_dialog().

◆ add_dir_common()

void octave::set_path_dialog::add_dir_common ( bool  subdirs)
private

Definition at line 183 of file set-path-dialog.cc.

References octave::set_path_model::add_dir(), m_path_list, and modify_path_signal().

Referenced by add_dir(), and add_dir_subdirs().

◆ add_dir_subdirs

void octave::set_path_dialog::add_dir_subdirs ( void  )
privateslot

Definition at line 213 of file set-path-dialog.cc.

References add_dir_common().

Referenced by set_path_dialog().

◆ closeEvent()

void octave::set_path_dialog::closeEvent ( QCloseEvent *  e)
protected

Definition at line 307 of file set-path-dialog.cc.

References save_settings().

◆ interpreter_event [1/2]

void octave::set_path_dialog::interpreter_event ( const fcn_callback fcn)
signal

◆ interpreter_event [2/2]

void octave::set_path_dialog::interpreter_event ( const meth_callback meth)
signal

◆ modify_path_signal

void octave::set_path_dialog::modify_path_signal ( const QStringList &  dir_list,
bool  rm,
bool  subdirs 
)
signal

Emitted, when the path has to be modified.

Referenced by add_dir_common(), and octave::main_window::handle_set_path_dialog_request().

◆ move_dir_bottom

void octave::set_path_dialog::move_dir_bottom ( void  )
privateslot

◆ move_dir_down

void octave::set_path_dialog::move_dir_down ( void  )
privateslot

◆ move_dir_top

void octave::set_path_dialog::move_dir_top ( void  )
privateslot

Definition at line 268 of file set-path-dialog.cc.

References m_path_list, and octave::set_path_model::move_dir_top().

Referenced by set_path_dialog().

◆ move_dir_up

void octave::set_path_dialog::move_dir_up ( void  )
privateslot

◆ rm_dir

void octave::set_path_dialog::rm_dir ( void  )
privateslot

Definition at line 218 of file set-path-dialog.cc.

References m_path_list, and octave::set_path_model::rm_dir().

Referenced by set_path_dialog().

◆ save_settings()

void octave::set_path_dialog::save_settings ( void  )

◆ update_model

void octave::set_path_dialog::update_model ( void  )
slot

Member Data Documentation

◆ m_add_folder_button

QPushButton* octave::set_path_dialog::m_add_folder_button
private

Definition at line 110 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_close_button

QPushButton* octave::set_path_dialog::m_close_button
private

Definition at line 104 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_info_label

QLabel* octave::set_path_dialog::m_info_label
private

Definition at line 101 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_move_down_button

QPushButton* octave::set_path_dialog::m_move_down_button
private

Definition at line 114 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_move_to_bottom_button

QPushButton* octave::set_path_dialog::m_move_to_bottom_button
private

Definition at line 112 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_move_to_top_button

QPushButton* octave::set_path_dialog::m_move_to_top_button
private

Definition at line 111 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_move_up_button

QPushButton* octave::set_path_dialog::m_move_up_button
private

Definition at line 113 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_octave_qobj

base_qobject& octave::set_path_dialog::m_octave_qobj
private

Definition at line 99 of file set-path-dialog.h.

Referenced by set_path_dialog(), and save_settings().

◆ m_path_list

QListView* octave::set_path_dialog::m_path_list
private

◆ m_reload_button

QPushButton* octave::set_path_dialog::m_reload_button
private

Definition at line 102 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_remove_button

QPushButton* octave::set_path_dialog::m_remove_button
private

Definition at line 115 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_revert_button

QPushButton* octave::set_path_dialog::m_revert_button
private

Definition at line 105 of file set-path-dialog.h.

Referenced by set_path_dialog().

◆ m_revert_last_button

QPushButton* octave::set_path_dialog::m_revert_last_button
private

Definition at line 106 of file set-path-dialog.h.

◆ m_save_button

QPushButton* octave::set_path_dialog::m_save_button
private

Definition at line 103 of file set-path-dialog.h.

Referenced by set_path_dialog().


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