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

CSchemaColumnsDlg Class Reference

#include <DlgHitColumns.h>

Inheritance diagram for CSchemaColumnsDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_SCHEMA_COLUMNS }

Public Member Functions

 CSchemaColumnsDlg (CWnd *pParent=NULL)

Static Public Member Functions

static BOOL LoadColumns (CSchema *pSchema, CPtrList *pColumns)
static BOOL SaveColumns (CSchema *pSchema, CPtrList *pColumns)
static CMenu * BuildColumnMenu (CSchema *pSchema, CPtrList *pColumns=NULL)
static BOOL ToggleColumnHelper (CSchema *pSchema, CPtrList *pSource, CPtrList *pTarget, UINT nToggleID, BOOL bSave=FALSE)

Public Attributes

CListCtrl m_wndColumns
CSchemaCombo m_wndSchemas
CSchemam_pSchema
CPtrList m_pColumns

Protected Member Functions

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

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file DlgHitColumns.h.


Constructor & Destructor Documentation

CSchemaColumnsDlg::CSchemaColumnsDlg CWnd *  pParent = NULL  ) 
 

Definition at line 43 of file DlgHitColumns.cpp.


Member Function Documentation

CMenu * CSchemaColumnsDlg::BuildColumnMenu CSchema pSchema,
CPtrList *  pColumns = NULL
[static]
 

Definition at line 194 of file DlgHitColumns.cpp.

References CSchemaMember::m_sTitle, and NULL.

Referenced by CBaseMatchWnd::OnContextMenu(), and CLibraryDetailView::OnContextMenu().

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

Reimplemented from CSkinDialog.

Definition at line 49 of file DlgHitColumns.cpp.

References CSkinDialog::DoDataExchange(), IDC_COLUMNS, IDC_SCHEMAS, m_wndColumns, and m_wndSchemas.

BOOL CSchemaColumnsDlg::LoadColumns CSchema pSchema,
CPtrList *  pColumns
[static]
 

Definition at line 148 of file DlgHitColumns.cpp.

References CSchema::GetMemberIterator(), CSchema::GetNextMember(), CSchema::m_sDefaultColumns, CSchemaMember::m_sName, CSchema::m_sSingular, and theApp.

Referenced by CSearchWnd::OnCreate(), CHitMonitorWnd::OnCreate(), CBrowseHostWnd::OnCreate(), CLibraryDetailView::OnCreate(), CSearchWnd::OnSearchSearch(), CBrowseFrameCtrl::OnTreeSelection(), CSearchWnd::Serialize(), and CLibraryDetailView::Update().

BOOL CSchemaColumnsDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 61 of file DlgHitColumns.cpp.

References IDR_SEARCHFRAME, CSchemaCombo::Load(), m_pColumns, m_pSchema, CSchemaCombo::m_sNoSchemaText, CSchema::m_sURI, m_wndColumns, m_wndSchemas, NULL, CSkinDialog::OnInitDialog(), OnSelChangeSchemas(), and CSkinDialog::SkinMe().

void CSchemaColumnsDlg::OnOK  )  [protected, virtual]
 

Definition at line 122 of file DlgHitColumns.cpp.

References CSchemaCombo::GetSelected(), m_pColumns, m_pSchema, m_wndColumns, m_wndSchemas, and SaveColumns().

void CSchemaColumnsDlg::OnSelChangeSchemas  )  [protected]
 

Definition at line 85 of file DlgHitColumns.cpp.

References CSchema::GetMemberIterator(), CSchema::GetNextMember(), CSchemaCombo::GetSelected(), CSchema::m_sDefaultColumns, CSchemaMember::m_sName, CSchema::m_sSingular, CSchemaMember::m_sTitle, CSchemaMember::m_sType, m_wndColumns, m_wndSchemas, and theApp.

Referenced by OnInitDialog().

BOOL CSchemaColumnsDlg::SaveColumns CSchema pSchema,
CPtrList *  pColumns
[static]
 

Definition at line 171 of file DlgHitColumns.cpp.

References CSchemaMember::m_sName, and theApp.

Referenced by OnOK(), and ToggleColumnHelper().

BOOL CSchemaColumnsDlg::ToggleColumnHelper CSchema pSchema,
CPtrList *  pSource,
CPtrList *  pTarget,
UINT  nToggleID,
BOOL  bSave = FALSE
[static]
 

Definition at line 221 of file DlgHitColumns.cpp.

References CSchema::GetMemberIterator(), CSchema::GetNextMember(), and SaveColumns().

Referenced by CBaseMatchWnd::OnContextMenu(), and CLibraryDetailView::OnContextMenu().


Member Data Documentation

CPtrList CSchemaColumnsDlg::m_pColumns
 

Definition at line 50 of file DlgHitColumns.h.

Referenced by OnInitDialog(), CLibraryDetailView::OnLibraryColumns(), OnOK(), and CBaseMatchWnd::OnSearchColumns().

CSchema* CSchemaColumnsDlg::m_pSchema
 

Definition at line 49 of file DlgHitColumns.h.

Referenced by OnInitDialog(), CLibraryDetailView::OnLibraryColumns(), OnOK(), and CBaseMatchWnd::OnSearchColumns().

CListCtrl CSchemaColumnsDlg::m_wndColumns
 

Definition at line 43 of file DlgHitColumns.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnSelChangeSchemas().

CSchemaCombo CSchemaColumnsDlg::m_wndSchemas
 

Definition at line 44 of file DlgHitColumns.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnSelChangeSchemas().


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