Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CFilterSearchDlg Class Reference

#include <DlgFilterSearch.h>

Inheritance diagram for CFilterSearchDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_FILTER_SEARCH }

Public Member Functions

 CFilterSearchDlg (CWnd *pParent=NULL, CMatchList *pList=NULL)
afx_msg void OnBnClickedSaveFilter ()
afx_msg void OnCbnSelChangeFilters ()
afx_msg void OnBnClickedDeleteFilter ()
afx_msg void OnBnClickedSetDefaultFilter ()

Public Attributes

CSpinButtonCtrl m_wndSources
CString m_sFilter
BOOL m_bHideBusy
BOOL m_bHideLocal
BOOL m_bHidePush
BOOL m_bHideReject
BOOL m_bHideUnstable
BOOL m_bHideBogus
int m_nSources
CString m_sMaxSize
CString m_sMinSize
BOOL m_bDefault
CMatchListm_pMatches
CResultFiltersm_pResultFilters

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()

Private Member Functions

void UpdateFields ()
void UpdateList ()

Private Attributes

CComboBox m_Filters

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 41 of file DlgFilterSearch.h.


Constructor & Destructor Documentation

CFilterSearchDlg::CFilterSearchDlg CWnd *  pParent = NULL,
CMatchList pList = NULL
 

Definition at line 54 of file DlgFilterSearch.cpp.


Member Function Documentation

void CFilterSearchDlg::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 72 of file DlgFilterSearch.cpp.

References CSkinDialog::DoDataExchange(), IDC_FILTER, IDC_FILTER_BOGUS, IDC_FILTER_BUSY, IDC_FILTER_LOCAL, IDC_FILTER_PUSH, IDC_FILTER_REJECT, IDC_FILTER_UNSTABLE, IDC_FILTERS, IDC_MAX_SIZE, IDC_MIN_SIZE, IDC_SET_DEFAULT_FILTER, IDC_SOURCES, IDC_SOURCES_SPIN, m_bDefault, m_bHideBogus, m_bHideBusy, m_bHideLocal, m_bHidePush, m_bHideReject, m_bHideUnstable, m_Filters, m_nSources, m_sFilter, m_sMaxSize, m_sMinSize, and m_wndSources.

void CFilterSearchDlg::OnBnClickedDeleteFilter  ) 
 

Definition at line 265 of file DlgFilterSearch.cpp.

References IDS_FILTER_DELETE_CONFIRM, LoadString(), m_bDefault, m_Filters, CResultFilters::m_nFilters, m_pResultFilters, OnCbnSelChangeFilters(), CResultFilters::Remove(), CResultFilters::Save(), and UpdateList().

void CFilterSearchDlg::OnBnClickedSaveFilter  ) 
 

Definition at line 140 of file DlgFilterSearch.cpp.

References CResultFilters::Add(), CFilterOptions::m_bFilterBogus, CFilterOptions::m_bFilterBusy, CFilterOptions::m_bFilterLocal, CFilterOptions::m_bFilterPush, CFilterOptions::m_bFilterReject, CFilterOptions::m_bFilterUnstable, m_bHideBogus, m_bHideBusy, m_bHideLocal, m_bHidePush, m_bHideReject, m_bHideUnstable, m_Filters, CFilterOptions::m_nFilterMaxSize, CFilterOptions::m_nFilterMinSize, CResultFilters::m_nFilters, CFilterOptions::m_nFilterSources, m_nSources, CResultFilters::m_pFilters, m_pResultFilters, m_sFilter, CFilterOptions::m_sFilter, m_sMaxSize, m_sMinSize, CFilterOptions::m_sName, CSaveFilterAsDlg::m_sName, OnCbnSelChangeFilters(), CSettings::ParseVolume(), CResultFilters::Save(), CResultFilters::Search(), Settings, and UpdateList().

void CFilterSearchDlg::OnBnClickedSetDefaultFilter  ) 
 

Definition at line 288 of file DlgFilterSearch.cpp.

References m_bDefault, m_Filters, CResultFilters::m_nDefault, m_pResultFilters, NONE, CResultFilters::Save(), and UpdateList().

void CFilterSearchDlg::OnCbnSelChangeFilters  ) 
 

Definition at line 231 of file DlgFilterSearch.cpp.

References m_bDefault, CFilterOptions::m_bFilterBogus, CFilterOptions::m_bFilterBusy, CFilterOptions::m_bFilterLocal, CFilterOptions::m_bFilterPush, CFilterOptions::m_bFilterReject, CFilterOptions::m_bFilterUnstable, m_bHideBogus, m_bHideBusy, m_bHideLocal, m_bHidePush, m_bHideReject, m_bHideUnstable, m_Filters, CResultFilters::m_nDefault, CFilterOptions::m_nFilterMaxSize, CFilterOptions::m_nFilterMinSize, CFilterOptions::m_nFilterSources, m_nSources, CResultFilters::m_pFilters, m_pResultFilters, CFilterOptions::m_sFilter, m_sFilter, m_sMaxSize, m_sMinSize, Settings, and CSettings::SmartVolume().

Referenced by OnBnClickedDeleteFilter(), and OnBnClickedSaveFilter().

BOOL CFilterSearchDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 95 of file DlgFilterSearch.cpp.

References IDR_SEARCHFRAME, CResultFilters::Load(), m_pMatches, CMatchList::m_pResultFilters, m_pResultFilters, m_wndSources, NULL, CSkinDialog::OnInitDialog(), CSkinDialog::SkinMe(), UpdateFields(), and UpdateList().

void CFilterSearchDlg::OnOK  )  [protected, virtual]
 

Definition at line 118 of file DlgFilterSearch.cpp.

References CMatchList::m_bFilterBogus, CMatchList::m_bFilterBusy, CMatchList::m_bFilterLocal, CMatchList::m_bFilterPush, CMatchList::m_bFilterReject, CMatchList::m_bFilterUnstable, m_bHideBogus, m_bHideBusy, m_bHideLocal, m_bHidePush, m_bHideReject, m_bHideUnstable, CMatchList::m_nFilterMaxSize, CMatchList::m_nFilterMinSize, CMatchList::m_nFilterSources, m_nSources, m_pMatches, m_sFilter, CMatchList::m_sFilter, m_sMaxSize, m_sMinSize, NULL, CSettings::ParseVolume(), and Settings.

void CFilterSearchDlg::UpdateFields  )  [private]
 

Definition at line 185 of file DlgFilterSearch.cpp.

References m_bDefault, CMatchList::m_bFilterBogus, CMatchList::m_bFilterBusy, CMatchList::m_bFilterLocal, CMatchList::m_bFilterPush, CMatchList::m_bFilterReject, CMatchList::m_bFilterUnstable, m_bHideBogus, m_bHideBusy, m_bHideLocal, m_bHidePush, m_bHideReject, m_bHideUnstable, m_Filters, CResultFilters::m_nDefault, CMatchList::m_nFilterMaxSize, CMatchList::m_nFilterMinSize, CMatchList::m_nFilterSources, m_nSources, m_pMatches, m_pResultFilters, CMatchList::m_sFilter, m_sFilter, m_sMaxSize, m_sMinSize, Settings, and CSettings::SmartVolume().

Referenced by OnInitDialog().

void CFilterSearchDlg::UpdateList  )  [private]
 

Definition at line 214 of file DlgFilterSearch.cpp.

References IDC_SET_DEFAULT_FILTER, m_Filters, CResultFilters::m_nDefault, CResultFilters::m_nFilters, CResultFilters::m_pFilters, m_pResultFilters, and CFilterOptions::m_sName.

Referenced by OnBnClickedDeleteFilter(), OnBnClickedSaveFilter(), OnBnClickedSetDefaultFilter(), and OnInitDialog().


Member Data Documentation

BOOL CFilterSearchDlg::m_bDefault
 

Definition at line 53 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedDeleteFilter(), OnBnClickedSetDefaultFilter(), OnCbnSelChangeFilters(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHideBogus
 

Definition at line 49 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHideBusy
 

Definition at line 44 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHideLocal
 

Definition at line 45 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHidePush
 

Definition at line 46 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHideReject
 

Definition at line 47 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

BOOL CFilterSearchDlg::m_bHideUnstable
 

Definition at line 48 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

CComboBox CFilterSearchDlg::m_Filters [private]
 

Definition at line 80 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedDeleteFilter(), OnBnClickedSaveFilter(), OnBnClickedSetDefaultFilter(), OnCbnSelChangeFilters(), UpdateFields(), and UpdateList().

int CFilterSearchDlg::m_nSources
 

Definition at line 50 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

CMatchList* CFilterSearchDlg::m_pMatches
 

Definition at line 56 of file DlgFilterSearch.h.

Referenced by OnInitDialog(), OnOK(), and UpdateFields().

CResultFilters* CFilterSearchDlg::m_pResultFilters
 

Definition at line 57 of file DlgFilterSearch.h.

Referenced by OnBnClickedDeleteFilter(), OnBnClickedSaveFilter(), OnBnClickedSetDefaultFilter(), OnCbnSelChangeFilters(), OnInitDialog(), UpdateFields(), and UpdateList().

CString CFilterSearchDlg::m_sFilter
 

Definition at line 43 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

CString CFilterSearchDlg::m_sMaxSize
 

Definition at line 51 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

CString CFilterSearchDlg::m_sMinSize
 

Definition at line 52 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), OnBnClickedSaveFilter(), OnCbnSelChangeFilters(), OnOK(), and UpdateFields().

CSpinButtonCtrl CFilterSearchDlg::m_wndSources
 

Definition at line 42 of file DlgFilterSearch.h.

Referenced by DoDataExchange(), and OnInitDialog().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:07 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2