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

CSettingsPage Class Reference

#include <WndSettingsPage.h>

Inheritance diagram for CSettingsPage:

CAdvancedSettingsPage CAvatarProfilePage CBandwidthSettingsPage CBioProfilePage CBitTorrentSettingsPage CCertificateProfilePage CCommunitySettingsPage CConnectionSettingsPage CContactProfilePage CDonkeySettingsPage CDownloadsSettingsPage CFavouritesProfilePage CFilesProfilePage CGeneralSettingsPage CGnutellaSettingsPage CIdentityProfilePage CInterfaceSettingsPage CLibrarySettingsPage CMediaSettingsPage CNetworksSettingsPage CPluginsSettingsPage CProfileProfilePage CProtocolsSettingsPage CRemoteSettingsPage CRichSettingsPage CSchedulerSettingsPage CSkinsSettingsPage CUploadsSettingsPage CWebSettingsPage List of all members.

Public Member Functions

 CSettingsPage (UINT nIDTemplate, LPCTSTR pszCaption=NULL)
virtual ~CSettingsPage ()
BOOL Create (CRect &rcPage, CWnd *pSheetWnd)
BOOL LoadDefaultCaption ()
CSettingsPageGetPage (CRuntimeClass *pClass) const
CSettingsSheetGetSheet () const
LPCTSTR GetTemplateName () const
virtual void SetModified (BOOL bChanged=TRUE)
virtual BOOL OnApply ()
virtual void OnReset ()
virtual void OnOK ()
virtual void OnCancel ()
virtual BOOL OnSetActive ()
virtual BOOL OnKillActive ()
afx_msg BOOL OnEraseBkgnd (CDC *pDC)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)

Public Attributes

CString m_sCaption
BOOL m_bGroup

Protected Member Functions

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

Constructor & Destructor Documentation

CSettingsPage::CSettingsPage UINT  nIDTemplate,
LPCTSTR  pszCaption = NULL
 

Definition at line 52 of file WndSettingsPage.cpp.

References NULL.

CSettingsPage::~CSettingsPage  )  [virtual]
 

Definition at line 61 of file WndSettingsPage.cpp.


Member Function Documentation

BOOL CSettingsPage::Create CRect &  rcPage,
CWnd *  pSheetWnd
 

Definition at line 112 of file WndSettingsPage.cpp.

References CShareazaApp::m_bRTL, CShareazaApp::m_gdiFont, NULL, and theApp.

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

Reimplemented in CAvatarProfilePage, CBioProfilePage, CCertificateProfilePage, CContactProfilePage, CFavouritesProfilePage, CFilesProfilePage, CIdentityProfilePage, CProfileProfilePage, CBandwidthSettingsPage, CBitTorrentSettingsPage, CCommunitySettingsPage, CConnectionSettingsPage, CDonkeySettingsPage, CDownloadsSettingsPage, CGeneralSettingsPage, CGnutellaSettingsPage, CInterfaceSettingsPage, CLibrarySettingsPage, CMediaSettingsPage, CNetworksSettingsPage, CPluginsSettingsPage, CProtocolsSettingsPage, CRemoteSettingsPage, CRichSettingsPage, CSchedulerSettingsPage, CSkinsSettingsPage, CAdvancedSettingsPage, CUploadsSettingsPage, and CWebSettingsPage.

Definition at line 164 of file WndSettingsPage.cpp.

Referenced by CWebSettingsPage::DoDataExchange(), CUploadsSettingsPage::DoDataExchange(), CAdvancedSettingsPage::DoDataExchange(), CSkinsSettingsPage::DoDataExchange(), CSchedulerSettingsPage::DoDataExchange(), CRichSettingsPage::DoDataExchange(), CRemoteSettingsPage::DoDataExchange(), CProtocolsSettingsPage::DoDataExchange(), CPluginsSettingsPage::DoDataExchange(), CNetworksSettingsPage::DoDataExchange(), CMediaSettingsPage::DoDataExchange(), CLibrarySettingsPage::DoDataExchange(), CInterfaceSettingsPage::DoDataExchange(), CGnutellaSettingsPage::DoDataExchange(), CGeneralSettingsPage::DoDataExchange(), CDownloadsSettingsPage::DoDataExchange(), CDonkeySettingsPage::DoDataExchange(), CConnectionSettingsPage::DoDataExchange(), CCommunitySettingsPage::DoDataExchange(), CBitTorrentSettingsPage::DoDataExchange(), CBandwidthSettingsPage::DoDataExchange(), CProfileProfilePage::DoDataExchange(), CIdentityProfilePage::DoDataExchange(), CFilesProfilePage::DoDataExchange(), CFavouritesProfilePage::DoDataExchange(), CContactProfilePage::DoDataExchange(), CCertificateProfilePage::DoDataExchange(), CBioProfilePage::DoDataExchange(), and CAvatarProfilePage::DoDataExchange().

CSettingsPage * CSettingsPage::GetPage CRuntimeClass *  pClass  )  const
 

Definition at line 147 of file WndSettingsPage.cpp.

References GetSheet().

Referenced by CBandwidthSettingsPage::Calculate(), CRichSettingsPage::OnClickView(), CNetworksSettingsPage::OnEd2kEnable(), CDonkeySettingsPage::OnEnableToday(), CNetworksSettingsPage::OnG1Enable(), CGnutellaSettingsPage::OnG1Today(), CNetworksSettingsPage::OnG2Enable(), CGnutellaSettingsPage::OnG2Today(), CNetworksSettingsPage::OnLButtonUp(), CNetworksSettingsPage::OnSetActive(), CGnutellaSettingsPage::OnSetActive(), and CDonkeySettingsPage::OnSetActive().

CSettingsSheet* CSettingsPage::GetSheet  )  const [inline]
 

Definition at line 51 of file WndSettingsPage.h.

Referenced by GetPage(), CRichSettingsPage::OnClickView(), CNetworksSettingsPage::OnLButtonUp(), and SetModified().

LPCTSTR CSettingsPage::GetTemplateName  )  const [inline]
 

Definition at line 56 of file WndSettingsPage.h.

Referenced by CSettingsSheet::Layout().

BOOL CSettingsPage::LoadDefaultCaption  ) 
 

Definition at line 68 of file WndSettingsPage.cpp.

References m_sCaption.

BOOL CSettingsPage::OnApply  )  [virtual]
 

Definition at line 177 of file WndSettingsPage.cpp.

References OnOK().

Referenced by CSettingsSheet::OnApply().

void CSettingsPage::OnCancel  )  [virtual]
 

Reimplemented in CRemoteSettingsPage.

Definition at line 195 of file WndSettingsPage.cpp.

Referenced by CSettingsSheet::OnCancel(), CRemoteSettingsPage::OnCancel(), and OnReset().

HBRUSH CSettingsPage::OnCtlColor CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor
 

Reimplemented in CBandwidthSettingsPage, CNetworksSettingsPage, CRemoteSettingsPage, and CSkinsSettingsPage.

Definition at line 221 of file WndSettingsPage.cpp.

References CSkin::m_brDialog, CSkin::m_crDialog, and Skin.

Referenced by CSkinsSettingsPage::OnCtlColor(), CRemoteSettingsPage::OnCtlColor(), CNetworksSettingsPage::OnCtlColor(), and CBandwidthSettingsPage::OnCtlColor().

BOOL CSettingsPage::OnEraseBkgnd CDC *  pDC  ) 
 

Reimplemented in CSchedulerSettingsPage.

Definition at line 213 of file WndSettingsPage.cpp.

References CSkin::m_crDialog, and Skin.

BOOL CSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented in CAvatarProfilePage, CBioProfilePage, CCertificateProfilePage, CContactProfilePage, CFavouritesProfilePage, CFilesProfilePage, CIdentityProfilePage, CProfileProfilePage, CBandwidthSettingsPage, CBitTorrentSettingsPage, CCommunitySettingsPage, CConnectionSettingsPage, CDonkeySettingsPage, CDownloadsSettingsPage, CGeneralSettingsPage, CGnutellaSettingsPage, CInterfaceSettingsPage, CLibrarySettingsPage, CMediaSettingsPage, CNetworksSettingsPage, CPluginsSettingsPage, CProtocolsSettingsPage, CRemoteSettingsPage, CRichSettingsPage, CSchedulerSettingsPage, CSkinsSettingsPage, CAdvancedSettingsPage, CUploadsSettingsPage, and CWebSettingsPage.

Definition at line 155 of file WndSettingsPage.cpp.

References CSkin::Apply(), NULL, and Skin.

Referenced by CWebSettingsPage::OnInitDialog(), CUploadsSettingsPage::OnInitDialog(), CAdvancedSettingsPage::OnInitDialog(), CSkinsSettingsPage::OnInitDialog(), CSchedulerSettingsPage::OnInitDialog(), CRichSettingsPage::OnInitDialog(), CRemoteSettingsPage::OnInitDialog(), CProtocolsSettingsPage::OnInitDialog(), CPluginsSettingsPage::OnInitDialog(), CNetworksSettingsPage::OnInitDialog(), CMediaSettingsPage::OnInitDialog(), CLibrarySettingsPage::OnInitDialog(), CInterfaceSettingsPage::OnInitDialog(), CGnutellaSettingsPage::OnInitDialog(), CGeneralSettingsPage::OnInitDialog(), CDownloadsSettingsPage::OnInitDialog(), CDonkeySettingsPage::OnInitDialog(), CConnectionSettingsPage::OnInitDialog(), CCommunitySettingsPage::OnInitDialog(), CBitTorrentSettingsPage::OnInitDialog(), CBandwidthSettingsPage::OnInitDialog(), CProfileProfilePage::OnInitDialog(), CIdentityProfilePage::OnInitDialog(), CFilesProfilePage::OnInitDialog(), CFavouritesProfilePage::OnInitDialog(), CContactProfilePage::OnInitDialog(), CCertificateProfilePage::OnInitDialog(), CBioProfilePage::OnInitDialog(), and CAvatarProfilePage::OnInitDialog().

BOOL CSettingsPage::OnKillActive  )  [virtual]
 

Reimplemented in CConnectionSettingsPage, CDownloadsSettingsPage, and CUploadsSettingsPage.

Definition at line 206 of file WndSettingsPage.cpp.

Referenced by CSettingsSheet::OnApply(), CUploadsSettingsPage::OnKillActive(), CDownloadsSettingsPage::OnKillActive(), CConnectionSettingsPage::OnKillActive(), CSettingsSheet::OnOK(), and CSettingsSheet::SetActivePage().

void CSettingsPage::OnOK  )  [virtual]
 

Reimplemented in CAvatarProfilePage, CBioProfilePage, CCertificateProfilePage, CContactProfilePage, CFavouritesProfilePage, CFilesProfilePage, CIdentityProfilePage, CProfileProfilePage, CBandwidthSettingsPage, CBitTorrentSettingsPage, CCommunitySettingsPage, CConnectionSettingsPage, CDonkeySettingsPage, CDownloadsSettingsPage, CGeneralSettingsPage, CGnutellaSettingsPage, CInterfaceSettingsPage, CLibrarySettingsPage, CMediaSettingsPage, CNetworksSettingsPage, CPluginsSettingsPage, CSchedulerSettingsPage, CSkinsSettingsPage, CAdvancedSettingsPage, CUploadsSettingsPage, and CWebSettingsPage.

Definition at line 190 of file WndSettingsPage.cpp.

Referenced by OnApply(), CSettingsSheet::OnOK(), CWebSettingsPage::OnOK(), CAdvancedSettingsPage::OnOK(), CSkinsSettingsPage::OnOK(), CSchedulerSettingsPage::OnOK(), CPluginsSettingsPage::OnOK(), CNetworksSettingsPage::OnOK(), CMediaSettingsPage::OnOK(), CLibrarySettingsPage::OnOK(), CInterfaceSettingsPage::OnOK(), CGnutellaSettingsPage::OnOK(), CGeneralSettingsPage::OnOK(), CDownloadsSettingsPage::OnOK(), CDonkeySettingsPage::OnOK(), CConnectionSettingsPage::OnOK(), CCommunitySettingsPage::OnOK(), CBitTorrentSettingsPage::OnOK(), CBandwidthSettingsPage::OnOK(), CProfileProfilePage::OnOK(), CFilesProfilePage::OnOK(), CFavouritesProfilePage::OnOK(), CCertificateProfilePage::OnOK(), CBioProfilePage::OnOK(), and CAvatarProfilePage::OnOK().

void CSettingsPage::OnReset  )  [virtual]
 

Definition at line 184 of file WndSettingsPage.cpp.

References OnCancel().

BOOL CSettingsPage::OnSetActive  )  [virtual]
 

Reimplemented in CBandwidthSettingsPage, CBitTorrentSettingsPage, CDonkeySettingsPage, CGnutellaSettingsPage, CNetworksSettingsPage, and CUploadsSettingsPage.

Definition at line 200 of file WndSettingsPage.cpp.

Referenced by CUploadsSettingsPage::OnSetActive(), CNetworksSettingsPage::OnSetActive(), CGnutellaSettingsPage::OnSetActive(), CDonkeySettingsPage::OnSetActive(), CBitTorrentSettingsPage::OnSetActive(), CBandwidthSettingsPage::OnSetActive(), and CSettingsSheet::SetActivePage().

void CSettingsPage::SetModified BOOL  bChanged = TRUE  )  [virtual]
 

Definition at line 171 of file WndSettingsPage.cpp.

References GetSheet().


Member Data Documentation

BOOL CSettingsPage::m_bGroup
 

Definition at line 42 of file WndSettingsPage.h.

Referenced by CSettingsSheet::AddPage(), and CSettingsSheet::BuildTree().

CString CSettingsPage::m_sCaption
 

Reimplemented in CRichSettingsPage.

Definition at line 41 of file WndSettingsPage.h.

Referenced by CSettingsSheet::AddPage(), CSettingsSheet::BuildTree(), and LoadDefaultCaption().


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