#include "find-files-dialog.h"
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 | |
QPushButton * | m_browse_button |
QPushButton * | m_close_button |
QCheckBox * | m_contains_text_check |
QLineEdit * | m_contains_text_edit |
QCheckBox * | m_content_case_check |
QDirIterator * | m_dir_iterator |
QTableView * | m_file_list |
QLineEdit * | m_file_name_edit |
QPushButton * | m_find_button |
QCheckBox * | m_include_dirs_check |
QCheckBox * | m_name_case_check |
base_qobject & | m_octave_qobj |
QCheckBox * | m_recurse_dirs_check |
QLineEdit * | m_start_dir_edit |
QStatusBar * | m_status_bar |
QPushButton * | m_stop_button |
QTimer * | m_timer |
Definition at line 44 of file find-files-dialog.h.
find_files_dialog::find_files_dialog | ( | QWidget * | parent, |
base_qobject & | oct_qobj | ||
) |
Definition at line 56 of file find-files-dialog.cc.
References browse_folders(), ff_check_text(), ff_column_state(), ff_contains_text(), ff_content_case(), ff_file_name(), ff_include_dirs(), ff_name_case(), ff_recurse_dirs(), ff_sort_files_by_column(), ff_sort_files_by_order(), ff_start_dir(), resource_manager::get_settings(), handle_done(), resource_manager::icon(), item_double_clicked(), gui_pref::key, look_for_files(), start_find(), and stop_find().
|
virtual |
Definition at line 205 of file find-files-dialog.cc.
References m_dir_iterator.
|
privateslot |
Definition at line 311 of file find-files-dialog.cc.
References base_qobject::get_resource_manager(), resource_manager::get_settings(), global_use_native_dialogs(), m_octave_qobj, and m_start_dir_edit.
Referenced by find_files_dialog().
|
signal |
Referenced by main_window::find_files(), and item_double_clicked().
|
signal |
Referenced by main_window::find_files(), and item_double_clicked().
|
privateslot |
Definition at line 368 of file find-files-dialog.cc.
References stop_find().
Referenced by find_files_dialog().
|
private |
Definition at line 374 of file find-files-dialog.cc.
References m_contains_text_check, m_contains_text_edit, m_content_case_check, and m_include_dirs_check.
Referenced by look_for_files().
|
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().
|
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().
void find_files_dialog::save_settings | ( | void | ) |
Definition at line 210 of file find-files-dialog.cc.
References ff_check_text(), ff_column_state(), ff_contains_text(), ff_content_case(), ff_file_name(), ff_include_dirs(), ff_name_case(), ff_recurse_dirs(), ff_sort_files_by_column(), ff_sort_files_by_order(), ff_start_dir(), base_qobject::get_resource_manager(), resource_manager::get_settings(), gui_pref::key, m_contains_text_check, m_contains_text_edit, m_content_case_check, m_file_list, m_file_name_edit, m_include_dirs_check, m_name_case_check, m_octave_qobj, m_recurse_dirs_check, and m_start_dir_edit.
Referenced by main_window::prepare_to_exit().
|
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().
|
privateslot |
Definition at line 246 of file find-files-dialog.cc.
References m, m_browse_button, m_close_button, m_contains_text_check, m_contains_text_edit, m_content_case_check, m_dir_iterator, m_file_list, m_file_name_edit, m_find_button, m_include_dirs_check, m_name_case_check, m_recurse_dirs_check, m_start_dir_edit, m_status_bar, m_stop_button, m_timer, and stop_find().
Referenced by find_files_dialog().
|
privateslot |
Definition at line 288 of file find-files-dialog.cc.
References m, m_browse_button, m_close_button, m_contains_text_check, m_contains_text_edit, m_content_case_check, m_file_list, m_file_name_edit, m_find_button, m_include_dirs_check, m_name_case_check, m_recurse_dirs_check, m_start_dir_edit, m_status_bar, m_stop_button, and m_timer.
Referenced by find_files_dialog(), handle_done(), look_for_files(), set_search_dir(), and start_find().
|
private |
Definition at line 85 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().
|
private |
Definition at line 84 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().
|
private |
Definition at line 91 of file find-files-dialog.h.
Referenced by is_match(), save_settings(), start_find(), and stop_find().
|
private |
Definition at line 93 of file find-files-dialog.h.
Referenced by is_match(), save_settings(), start_find(), and stop_find().
|
private |
Definition at line 92 of file find-files-dialog.h.
Referenced by is_match(), save_settings(), start_find(), and stop_find().
|
private |
Definition at line 94 of file find-files-dialog.h.
Referenced by ~find_files_dialog(), look_for_files(), and start_find().
|
private |
Definition at line 86 of file find-files-dialog.h.
Referenced by item_double_clicked(), look_for_files(), save_settings(), start_find(), and stop_find().
|
private |
Definition at line 81 of file find-files-dialog.h.
Referenced by save_settings(), start_find(), and stop_find().
|
private |
Definition at line 83 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().
|
private |
Definition at line 89 of file find-files-dialog.h.
Referenced by is_match(), save_settings(), start_find(), and stop_find().
|
private |
Definition at line 90 of file find-files-dialog.h.
Referenced by save_settings(), start_find(), and stop_find().
|
private |
Definition at line 78 of file find-files-dialog.h.
Referenced by browse_folders(), and save_settings().
|
private |
Definition at line 88 of file find-files-dialog.h.
Referenced by save_settings(), start_find(), and stop_find().
|
private |
Definition at line 80 of file find-files-dialog.h.
Referenced by browse_folders(), save_settings(), set_search_dir(), start_find(), and stop_find().
|
private |
Definition at line 95 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().
|
private |
Definition at line 82 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().
|
private |
Definition at line 87 of file find-files-dialog.h.
Referenced by start_find(), and stop_find().