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

CQueuePropertiesDlg Class Reference

#include <DlgQueueProperties.h>

Inheritance diagram for CQueuePropertiesDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_QUEUE_PROPERTIES }

Public Member Functions

 CQueuePropertiesDlg (CUploadQueue *pQueue, BOOL bEnable, CWnd *pParent=NULL)

Public Attributes

CEdit m_wndMatch
CEdit m_wndBandwidthPoints
CEdit m_wndBandwidthValue
CSpinButtonCtrl m_wndTransfersMin
CSpinButtonCtrl m_wndTransfersMax
CSpinButtonCtrl m_wndRotateTimeSpin
CEdit m_wndRotateTime
CListCtrl m_wndProtocols
CEdit m_wndMinSize
CEdit m_wndMaxSize
CComboBox m_wndMarked
CSpinButtonCtrl m_wndCapacity
CSliderCtrl m_wndBandwidthSlider
int m_nCapacity
BOOL m_bMaxSize
CString m_sMaxSize
BOOL m_bMinSize
CString m_sMinSize
BOOL m_bMarked
CString m_sName
BOOL m_bPartial
BOOL m_bProtocols
BOOL m_bRotate
BOOL m_bReward
int m_nRotateTime
int m_nTransfersMax
int m_nTransfersMin
BOOL m_bMatch
CString m_sMatch
BOOL m_bEnable
CString m_sMarked
CImageList m_gdiProtocols
CUploadQueuem_pQueue
BOOL m_bEnableOverride

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnMinimumCheck ()
afx_msg void OnMaximumCheck ()
afx_msg void OnProtocolsCheck ()
afx_msg void OnMarkedCheck ()
afx_msg void OnRotateEnable ()
afx_msg void OnHScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar)
afx_msg void OnChangeTransfersMax ()
afx_msg void OnMatchCheck ()
CButton * GetProtocolCheckbox ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 41 of file DlgQueueProperties.h.


Constructor & Destructor Documentation

CQueuePropertiesDlg::CQueuePropertiesDlg CUploadQueue pQueue,
BOOL  bEnable,
CWnd *  pParent = NULL
 

Definition at line 53 of file DlgQueueProperties.cpp.

References NULL.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 81 of file DlgQueueProperties.cpp.

References CSkinDialog::DoDataExchange(), IDC_BANDWIDTH_POINTS, IDC_BANDWIDTH_SLIDER, IDC_BANDWIDTH_VALUE, IDC_CAPACITY, IDC_CAPACITY_SPIN, IDC_ENABLE, IDC_MARKED_CHECK, IDC_MARKED_LIST, IDC_MATCH_CHECK, IDC_MATCH_TEXT, IDC_MAXIMUM_CHECK, IDC_MAXIMUM_VALUE, IDC_MINIMUM_CHECK, IDC_MINIMUM_VALUE, IDC_NAME, IDC_PARTIAL_ENABLE, IDC_PROTOCOLS_CHECK, IDC_PROTOCOLS_LIST, IDC_REWARD_ENABLE, IDC_ROTATE_ENABLE, IDC_ROTATE_TIME, IDC_ROTATE_TIME_SPIN, IDC_TRANSFERS_MAX, IDC_TRANSFERS_MAX_SPIN, IDC_TRANSFERS_MIN, IDC_TRANSFERS_MIN_SPIN, m_bEnable, m_bMarked, m_bMatch, m_bMaxSize, m_bMinSize, m_bPartial, m_bProtocols, m_bReward, m_bRotate, m_nCapacity, m_nRotateTime, m_nTransfersMax, m_nTransfersMin, m_sMarked, m_sMatch, m_sMaxSize, m_sMinSize, m_sName, m_wndBandwidthPoints, m_wndBandwidthSlider, m_wndBandwidthValue, m_wndCapacity, m_wndMarked, m_wndMatch, m_wndMaxSize, m_wndMinSize, m_wndProtocols, m_wndRotateTime, m_wndRotateTimeSpin, m_wndTransfersMax, and m_wndTransfersMin.

CButton* CQueuePropertiesDlg::GetProtocolCheckbox  )  [inline, protected]
 

Definition at line 102 of file DlgQueueProperties.h.

References IDC_PROTOCOLS_CHECK.

Referenced by OnInitDialog().

void CQueuePropertiesDlg::OnChangeTransfersMax  )  [protected]
 

Definition at line 273 of file DlgQueueProperties.cpp.

References m_nCapacity, m_nTransfersMax, m_wndBandwidthValue, m_wndCapacity, and NULL.

void CQueuePropertiesDlg::OnHScroll UINT  nSBCode,
UINT  nPos,
CScrollBar *  pScrollBar
[protected]
 

Definition at line 291 of file DlgQueueProperties.cpp.

References CSettings::Bandwidth, CSettings::Connection, CUploadQueues::GetTotalBandwidthPoints(), CUploadQueue::m_nBandwidthPoints, CUploadQueue::m_nProtocols, m_pQueue, m_wndBandwidthPoints, m_wndBandwidthSlider, m_wndBandwidthValue, CSettings::sConnection::OutSpeed, PROTOCOL_ED2K, Settings, CSettings::SmartVolume(), UploadQueues, and CSettings::sBandwidth::Uploads.

Referenced by OnInitDialog().

BOOL CQueuePropertiesDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 122 of file DlgQueueProperties.cpp.

References CSettings::Bandwidth, CUploadQueues::Check(), CSettings::Connection, CreateMirroredBitmap(), CSettings::eDonkey, CSettings::seDonkey::EnableAlways, CSettings::seDonkey::EnableToday, CSettings::General, GetProtocolCheckbox(), CUploadQueues::GetTotalBandwidthPoints(), GUI_BASIC, CSettings::sGeneral::GUIMode, ID_VIEW_UPLOADS, IDB_PROTOCOLS, CUploadQueue::m_bEnable, m_bEnable, m_bEnableOverride, m_bMarked, m_bMatch, m_bMaxSize, m_bMinSize, CUploadQueue::m_bPartial, m_bPartial, m_bProtocols, m_bReward, CUploadQueue::m_bRewardUploaders, CUploadQueue::m_bRotate, m_bRotate, CShareazaApp::m_bRTL, m_gdiProtocols, CUploadQueue::m_nBandwidthPoints, CUploadQueue::m_nCapacity, m_nCapacity, CUploadQueue::m_nMaxSize, CUploadQueue::m_nMaxTransfers, CUploadQueue::m_nMinSize, CUploadQueue::m_nMinTransfers, CUploadQueue::m_nProtocols, CUploadQueue::m_nRotateTime, m_nRotateTime, m_nTransfersMax, m_nTransfersMin, m_pQueue, CUploadQueues::m_pSection, m_sMarked, m_sMatch, m_sMaxSize, m_sMinSize, CUploadQueue::m_sName, m_sName, CUploadQueue::m_sNameMatch, CUploadQueue::m_sShareTag, m_wndBandwidthSlider, m_wndCapacity, m_wndMarked, m_wndMatch, m_wndMaxSize, m_wndMinSize, m_wndProtocols, m_wndRotateTime, m_wndRotateTimeSpin, m_wndTransfersMax, m_wndTransfersMin, NULL, OnHScroll(), CSkinDialog::OnInitDialog(), CSettings::sConnection::OutSpeed, PROTOCOL_ED2K, PROTOCOL_HTTP, Settings, SIZE_UNKNOWN, CSkinDialog::SkinMe(), CSettings::SmartVolume(), theApp, UploadQueues, and CSettings::sBandwidth::Uploads.

void CQueuePropertiesDlg::OnMarkedCheck  )  [protected]
 

Definition at line 251 of file DlgQueueProperties.cpp.

References m_bMarked, and m_wndMarked.

void CQueuePropertiesDlg::OnMatchCheck  )  [protected]
 

Definition at line 257 of file DlgQueueProperties.cpp.

References m_bMatch, and m_wndMatch.

void CQueuePropertiesDlg::OnMaximumCheck  )  [protected]
 

Definition at line 245 of file DlgQueueProperties.cpp.

References m_bMaxSize, and m_wndMaxSize.

void CQueuePropertiesDlg::OnMinimumCheck  )  [protected]
 

Definition at line 239 of file DlgQueueProperties.cpp.

References m_bMinSize, and m_wndMinSize.

void CQueuePropertiesDlg::OnOK  )  [protected, virtual]
 

Definition at line 314 of file DlgQueueProperties.cpp.

References CUploadQueues::Check(), m_bEnable, CUploadQueue::m_bEnable, m_bMarked, m_bMatch, m_bMaxSize, m_bMinSize, m_bPartial, CUploadQueue::m_bPartial, m_bProtocols, m_bReward, CUploadQueue::m_bRewardUploaders, m_bRotate, CUploadQueue::m_bRotate, CUploadQueue::m_nBandwidthPoints, m_nCapacity, CUploadQueue::m_nCapacity, CUploadQueue::m_nMaxSize, CUploadQueue::m_nMaxTransfers, CUploadQueue::m_nMinSize, CUploadQueue::m_nMinTransfers, CUploadQueue::m_nProtocols, m_nRotateTime, CUploadQueue::m_nRotateTime, m_nTransfersMax, m_nTransfersMin, m_pQueue, CUploadQueues::m_pSection, m_sMarked, m_sMatch, m_sMaxSize, m_sMinSize, m_sName, CUploadQueue::m_sName, CUploadQueue::m_sNameMatch, CUploadQueue::m_sShareTag, m_wndBandwidthSlider, m_wndProtocols, CSettings::ParseVolume(), PROTOCOL_ED2K, PROTOCOL_HTTP, Settings, SIZE_UNKNOWN, and UploadQueues.

void CQueuePropertiesDlg::OnProtocolsCheck  )  [protected]
 

Definition at line 263 of file DlgQueueProperties.cpp.

References CSettings::eDonkey, CSettings::seDonkey::EnableAlways, CSettings::seDonkey::EnableToday, CSettings::General, GUI_BASIC, CSettings::sGeneral::GUIMode, m_bProtocols, m_wndProtocols, and Settings.

void CQueuePropertiesDlg::OnRotateEnable  )  [protected]
 

Definition at line 284 of file DlgQueueProperties.cpp.

References m_bRotate, m_wndRotateTime, and m_wndRotateTimeSpin.


Member Data Documentation

BOOL CQueuePropertiesDlg::m_bEnable
 

Definition at line 71 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bEnableOverride
 

Definition at line 77 of file DlgQueueProperties.h.

Referenced by OnInitDialog().

BOOL CQueuePropertiesDlg::m_bMarked
 

Definition at line 60 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bMatch
 

Definition at line 69 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bMaxSize
 

Definition at line 56 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bMinSize
 

Definition at line 58 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bPartial
 

Definition at line 62 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bProtocols
 

Definition at line 63 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bReward
 

Definition at line 65 of file DlgQueueProperties.h.

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

BOOL CQueuePropertiesDlg::m_bRotate
 

Definition at line 64 of file DlgQueueProperties.h.

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

CImageList CQueuePropertiesDlg::m_gdiProtocols
 

Definition at line 75 of file DlgQueueProperties.h.

Referenced by OnInitDialog().

int CQueuePropertiesDlg::m_nCapacity
 

Definition at line 55 of file DlgQueueProperties.h.

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

int CQueuePropertiesDlg::m_nRotateTime
 

Definition at line 66 of file DlgQueueProperties.h.

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

int CQueuePropertiesDlg::m_nTransfersMax
 

Definition at line 67 of file DlgQueueProperties.h.

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

int CQueuePropertiesDlg::m_nTransfersMin
 

Definition at line 68 of file DlgQueueProperties.h.

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

CUploadQueue* CQueuePropertiesDlg::m_pQueue
 

Definition at line 76 of file DlgQueueProperties.h.

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

CString CQueuePropertiesDlg::m_sMarked
 

Definition at line 72 of file DlgQueueProperties.h.

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

CString CQueuePropertiesDlg::m_sMatch
 

Definition at line 70 of file DlgQueueProperties.h.

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

CString CQueuePropertiesDlg::m_sMaxSize
 

Definition at line 57 of file DlgQueueProperties.h.

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

CString CQueuePropertiesDlg::m_sMinSize
 

Definition at line 59 of file DlgQueueProperties.h.

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

CString CQueuePropertiesDlg::m_sName
 

Definition at line 61 of file DlgQueueProperties.h.

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

CEdit CQueuePropertiesDlg::m_wndBandwidthPoints
 

Definition at line 43 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), and OnHScroll().

CSliderCtrl CQueuePropertiesDlg::m_wndBandwidthSlider
 

Definition at line 54 of file DlgQueueProperties.h.

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

CEdit CQueuePropertiesDlg::m_wndBandwidthValue
 

Definition at line 44 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnChangeTransfersMax(), and OnHScroll().

CSpinButtonCtrl CQueuePropertiesDlg::m_wndCapacity
 

Definition at line 53 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnChangeTransfersMax(), and OnInitDialog().

CComboBox CQueuePropertiesDlg::m_wndMarked
 

Definition at line 52 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnMarkedCheck().

CEdit CQueuePropertiesDlg::m_wndMatch
 

Definition at line 42 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnMatchCheck().

CEdit CQueuePropertiesDlg::m_wndMaxSize
 

Definition at line 51 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnMaximumCheck().

CEdit CQueuePropertiesDlg::m_wndMinSize
 

Definition at line 50 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnMinimumCheck().

CListCtrl CQueuePropertiesDlg::m_wndProtocols
 

Definition at line 49 of file DlgQueueProperties.h.

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

CEdit CQueuePropertiesDlg::m_wndRotateTime
 

Definition at line 48 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnRotateEnable().

CSpinButtonCtrl CQueuePropertiesDlg::m_wndRotateTimeSpin
 

Definition at line 47 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnRotateEnable().

CSpinButtonCtrl CQueuePropertiesDlg::m_wndTransfersMax
 

Definition at line 46 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CQueuePropertiesDlg::m_wndTransfersMin
 

Definition at line 45 of file DlgQueueProperties.h.

Referenced by DoDataExchange(), and OnInitDialog().


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