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

#include "set-path-dialog.h"

Inheritance diagram for set_path_dialog:
Collaboration diagram for 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 set_path_dialog::~set_path_dialog ( void  )
virtualdefault

Member Function Documentation

◆ add_dir

void 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 set_path_dialog::add_dir_common ( bool  subdirs)
private

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

References m, m_path_list, and modify_path_signal().

Referenced by add_dir(), and add_dir_subdirs().

◆ add_dir_subdirs

void 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 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 set_path_dialog::interpreter_event ( const fcn_callback fcn)
signal

◆ interpreter_event [2/2]

void set_path_dialog::interpreter_event ( const meth_callback meth)
signal

◆ modify_path_signal

void 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 main_window::handle_set_path_dialog_request().

◆ move_dir_bottom

void set_path_dialog::move_dir_bottom ( void  )
privateslot

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

References m, and m_path_list.

Referenced by set_path_dialog().

◆ move_dir_down

void set_path_dialog::move_dir_down ( void  )
privateslot

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

References m, m_path_list, max(), and min().

Referenced by set_path_dialog().

◆ move_dir_top

void set_path_dialog::move_dir_top ( void  )
privateslot

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

References m, and m_path_list.

Referenced by set_path_dialog().

◆ move_dir_up

void set_path_dialog::move_dir_up ( void  )
privateslot

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

References m, m_path_list, max(), and min().

Referenced by set_path_dialog().

◆ rm_dir

void set_path_dialog::rm_dir ( void  )
privateslot

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

References m, and m_path_list.

Referenced by set_path_dialog().

◆ save_settings()

void set_path_dialog::save_settings ( void  )

◆ update_model

void set_path_dialog::update_model ( void  )
slot

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

References m, and m_path_list.

Referenced by main_window::handle_set_path_dialog_request().

Member Data Documentation

◆ m_add_folder_button

QPushButton* set_path_dialog::m_add_folder_button
private

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

◆ m_close_button

QPushButton* set_path_dialog::m_close_button
private

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

◆ m_info_label

QLabel* set_path_dialog::m_info_label
private

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

◆ m_move_down_button

QPushButton* set_path_dialog::m_move_down_button
private

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

◆ m_move_to_bottom_button

QPushButton* set_path_dialog::m_move_to_bottom_button
private

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

◆ m_move_to_top_button

QPushButton* set_path_dialog::m_move_to_top_button
private

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

◆ m_move_up_button

QPushButton* set_path_dialog::m_move_up_button
private

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

◆ m_octave_qobj

base_qobject& set_path_dialog::m_octave_qobj
private

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

Referenced by save_settings().

◆ m_path_list

QListView* set_path_dialog::m_path_list
private

◆ m_reload_button

QPushButton* set_path_dialog::m_reload_button
private

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

◆ m_remove_button

QPushButton* set_path_dialog::m_remove_button
private

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

◆ m_revert_button

QPushButton* set_path_dialog::m_revert_button
private

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

◆ m_revert_last_button

QPushButton* set_path_dialog::m_revert_last_button
private

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

◆ m_save_button

QPushButton* set_path_dialog::m_save_button
private

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


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