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

#include "find-files-dialog.h"

Inheritance diagram for find_files_dialog:
Collaboration diagram for find_files_dialog:

Public Slots

void set_search_dir (const QString &dir)
 

Signals

void dir_selected (const QString &fileName)
 
void file_selected (const QString &fileName)
 

Public Member Functions

 find_files_dialog (QWidget *parent, base_qobject &oct_qobj)
 
virtual ~find_files_dialog (void)
 
void save_settings (void)
 

Private Slots

void browse_folders (void)
 
void handle_done (int)
 
void item_double_clicked (const QModelIndex &)
 
void look_for_files (void)
 
void start_find (void)
 
void stop_find (void)
 

Private Member Functions

bool is_match (const QFileInfo &info)
 

Private Attributes

QPushButtonm_browse_button
 
QPushButtonm_close_button
 
QCheckBox * m_contains_text_check
 
QLineEditm_contains_text_edit
 
QCheckBox * m_content_case_check
 
QDirIterator * m_dir_iterator
 
QTableViewm_file_list
 
QLineEditm_file_name_edit
 
QPushButtonm_find_button
 
QCheckBox * m_include_dirs_check
 
QCheckBox * m_name_case_check
 
base_qobjectm_octave_qobj
 
QCheckBox * m_recurse_dirs_check
 
QLineEditm_start_dir_edit
 
QStatusBar * m_status_bar
 
QPushButtonm_stop_button
 
QTimer * m_timer
 

Detailed Description

Definition at line 44 of file find-files-dialog.h.

Constructor & Destructor Documentation

◆ find_files_dialog()

◆ ~find_files_dialog()

find_files_dialog::~find_files_dialog ( void  )
virtual

Definition at line 205 of file find-files-dialog.cc.

References m_dir_iterator.

Member Function Documentation

◆ browse_folders

void find_files_dialog::browse_folders ( void  )
privateslot

◆ dir_selected

void find_files_dialog::dir_selected ( const QString &  fileName)
signal

◆ file_selected

void find_files_dialog::file_selected ( const QString &  fileName)
signal

◆ handle_done

void find_files_dialog::handle_done ( int  )
privateslot

Definition at line 368 of file find-files-dialog.cc.

References stop_find().

Referenced by find_files_dialog().

◆ is_match()

bool find_files_dialog::is_match ( const QFileInfo &  info)
private

◆ item_double_clicked

void find_files_dialog::item_double_clicked ( const QModelIndex &  idx)
privateslot

Definition at line 329 of file find-files-dialog.cc.

References dir_selected(), file_selected(), m, and m_file_list.

Referenced by find_files_dialog().

◆ look_for_files

void find_files_dialog::look_for_files ( void  )
privateslot

Definition at line 350 of file find-files-dialog.cc.

References is_match(), m, m_dir_iterator, m_file_list, and stop_find().

Referenced by find_files_dialog().

◆ save_settings()

◆ set_search_dir

void find_files_dialog::set_search_dir ( const QString &  dir)
slot

Definition at line 240 of file find-files-dialog.cc.

References m_start_dir_edit, and stop_find().

Referenced by main_window::find_files().

◆ start_find

◆ stop_find

Member Data Documentation

◆ m_browse_button

QPushButton* find_files_dialog::m_browse_button
private

Definition at line 85 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().

◆ m_close_button

QPushButton* find_files_dialog::m_close_button
private

Definition at line 84 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().

◆ m_contains_text_check

QCheckBox* find_files_dialog::m_contains_text_check
private

Definition at line 91 of file find-files-dialog.h.

Referenced by is_match(), save_settings(), start_find(), and stop_find().

◆ m_contains_text_edit

QLineEdit* find_files_dialog::m_contains_text_edit
private

Definition at line 93 of file find-files-dialog.h.

Referenced by is_match(), save_settings(), start_find(), and stop_find().

◆ m_content_case_check

QCheckBox* find_files_dialog::m_content_case_check
private

Definition at line 92 of file find-files-dialog.h.

Referenced by is_match(), save_settings(), start_find(), and stop_find().

◆ m_dir_iterator

QDirIterator* find_files_dialog::m_dir_iterator
private

Definition at line 94 of file find-files-dialog.h.

Referenced by ~find_files_dialog(), look_for_files(), and start_find().

◆ m_file_list

QTableView* find_files_dialog::m_file_list
private

◆ m_file_name_edit

QLineEdit* find_files_dialog::m_file_name_edit
private

Definition at line 81 of file find-files-dialog.h.

Referenced by save_settings(), start_find(), and stop_find().

◆ m_find_button

QPushButton* find_files_dialog::m_find_button
private

Definition at line 83 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().

◆ m_include_dirs_check

QCheckBox* find_files_dialog::m_include_dirs_check
private

Definition at line 89 of file find-files-dialog.h.

Referenced by is_match(), save_settings(), start_find(), and stop_find().

◆ m_name_case_check

QCheckBox* find_files_dialog::m_name_case_check
private

Definition at line 90 of file find-files-dialog.h.

Referenced by save_settings(), start_find(), and stop_find().

◆ m_octave_qobj

base_qobject& find_files_dialog::m_octave_qobj
private

Definition at line 78 of file find-files-dialog.h.

Referenced by browse_folders(), and save_settings().

◆ m_recurse_dirs_check

QCheckBox* find_files_dialog::m_recurse_dirs_check
private

Definition at line 88 of file find-files-dialog.h.

Referenced by save_settings(), start_find(), and stop_find().

◆ m_start_dir_edit

QLineEdit* find_files_dialog::m_start_dir_edit
private

◆ m_status_bar

QStatusBar* find_files_dialog::m_status_bar
private

Definition at line 95 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().

◆ m_stop_button

QPushButton* find_files_dialog::m_stop_button
private

Definition at line 82 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().

◆ m_timer

QTimer* find_files_dialog::m_timer
private

Definition at line 87 of file find-files-dialog.h.

Referenced by start_find(), and stop_find().


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