GNU Octave  6.2.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 octave_value_list &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)
 
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
 
QLabel * m_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()

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

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

Member Function Documentation

◆ add_dir

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

Definition at line 212 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 185 of file set-path-dialog.cc.

References octave_value_list::append(), m, m_path_list, modify_path_signal(), and ovl().

Referenced by add_dir(), and add_dir_subdirs().

◆ add_dir_subdirs

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

Definition at line 217 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 311 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

Referenced by set_path_dialog().

◆ 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 octave_value_list dir_list,
bool  rm,
bool  subdirs 
)
signal

Emitted, when the path has to be modified.

Referenced by add_dir_common().

◆ move_dir_bottom

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

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

References m, and m_path_list.

Referenced by set_path_dialog().

◆ move_dir_down

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

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

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

Referenced by set_path_dialog().

◆ move_dir_top

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

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

References m, and m_path_list.

Referenced by set_path_dialog().

◆ move_dir_up

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

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

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

Referenced by set_path_dialog().

◆ rm_dir

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

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

References m, and m_path_list.

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

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

References m, and m_path_list.

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: