GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
find_files_dialog Class Reference

#include "find-files-dialog.h"

Inheritance diagram for find_files_dialog:
Inheritance graph
[legend]
Collaboration diagram for find_files_dialog:
Collaboration graph
[legend]

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=0)
virtual ~find_files_dialog ()

Private Slots

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

Private Member Functions

bool is_match (const QFileInfo &info)

Private Attributes

QPushButton_browse_button
QPushButton_close_button
QCheckBox * _contains_text_check
QLineEdit * _contains_text_edit
QCheckBox * _content_case_check
QDirIterator * _dir_iterator
QTableView * _file_list
QLineEdit * _file_name_edit
QPushButton_find_button
QCheckBox * _include_dirs_check
QCheckBox * _name_case_check
QCheckBox * _recurse_dirs_check
QLineEdit * _start_dir_edit
QStatusBar * _status_bar
QPushButton_stop_button
QTimer * _timer

Detailed Description

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

Constructor & Destructor Documentation

find_files_dialog::find_files_dialog ( QWidget parent = 0)
find_files_dialog::~find_files_dialog ( )
virtual

Member Function Documentation

void find_files_dialog::browse_folders ( )
privateslot

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

References _start_dir_edit.

Referenced by find_files_dialog().

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

Referenced by item_double_clicked().

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

Referenced by item_double_clicked().

void find_files_dialog::handle_done ( int  )
privateslot

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

References stop_find().

Referenced by find_files_dialog().

bool find_files_dialog::is_match ( const QFileInfo &  info)
private
void find_files_dialog::item_double_clicked ( const QModelIndex &  idx)
privateslot
void find_files_dialog::look_for_files ( )
privateslot
void find_files_dialog::set_search_dir ( const QString &  dir)
slot

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

References _start_dir_edit, and stop_find().

Referenced by main_window::find_files().

void find_files_dialog::start_find ( )
privateslot
void find_files_dialog::stop_find ( )
privateslot

Member Data Documentation

QPushButton* find_files_dialog::_browse_button
private

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

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

QPushButton* find_files_dialog::_close_button
private

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

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

QCheckBox* find_files_dialog::_contains_text_check
private
QLineEdit* find_files_dialog::_contains_text_edit
private
QCheckBox* find_files_dialog::_content_case_check
private
QDirIterator* find_files_dialog::_dir_iterator
private
QTableView* find_files_dialog::_file_list
private
QLineEdit* find_files_dialog::_file_name_edit
private

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

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

QPushButton* find_files_dialog::_find_button
private

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

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

QCheckBox* find_files_dialog::_include_dirs_check
private
QCheckBox* find_files_dialog::_name_case_check
private

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

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

QCheckBox* find_files_dialog::_recurse_dirs_check
private

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

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

QLineEdit* find_files_dialog::_start_dir_edit
private
QStatusBar* find_files_dialog::_status_bar
private

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

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

QPushButton* find_files_dialog::_stop_button
private

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

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

QTimer* find_files_dialog::_timer
private

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

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


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