Logo    
KDWinUtils
Helper library for MFC to Qt migration
Loading...
Searching...
No Matches
CPropertyPageProxy Class Reference

The CPropertyPageProxy class is a temporary class used during the migration of a CPropertySheet. More...

#include <cpropertypageproxy.h>

Inheritance diagram for CPropertyPageProxy:
[legend]
Collaboration diagram for CPropertyPageProxy:
[legend]

Public Member Functions

 CPropertyPageProxy (::KPropertyPage *page)
 
 DECLARE_DYNCREATE (CPropertyPageProxy)
 
::KPropertyPageGetWidget () const
 
 ~CPropertyPageProxy ()
 

Protected Member Functions

 DECLARE_MESSAGE_MAP ()
 
BOOL OnApply () override
 
void OnCancel () override
 
BOOL OnInitDialog () override
 
BOOL OnKillActive () override
 
void OnOK () override
 
BOOL OnQueryCancel () override
 
void OnReset () override
 
BOOL OnSetActive () override
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
LRESULT OnWizardBack () override
 
BOOL OnWizardFinish () override
 

Detailed Description

The CPropertyPageProxy class is a temporary class used during the migration of a CPropertySheet.

This class is used to proxy the MFC CPropertyPage to a Qt KPropertyPage, effectively allowing the developer to add a KPropertyPage to a CPropertySheet.

As the name suggests, this class is a proxy, and should not be used directly in the final code and removed once the property sheet is migrated to a KPropertySheet.

The usual way to use this class is to create a KPropertyPage, and add it using the proxy to the CPropertySheet:

AddPage(new CPropertyPageProxy(new Page1));
The CPropertyPageProxy class is a temporary class used during the migration of a CPropertySheet.
Definition cpropertypageproxy.h:45
Warning
This class is a MFC class, and should be removed from the final code.
See also
KPropertyPage

Constructor & Destructor Documentation

◆ CPropertyPageProxy()

CPropertyPageProxy::CPropertyPageProxy ( ::KPropertyPage * page)

◆ ~CPropertyPageProxy()

CPropertyPageProxy::~CPropertyPageProxy ( )

Member Function Documentation

◆ DECLARE_DYNCREATE()

CPropertyPageProxy::DECLARE_DYNCREATE ( CPropertyPageProxy )

◆ DECLARE_MESSAGE_MAP()

CPropertyPageProxy::DECLARE_MESSAGE_MAP ( )
protected

◆ GetWidget()

::KPropertyPage * CPropertyPageProxy::GetWidget ( ) const

◆ OnApply()

BOOL CPropertyPageProxy::OnApply ( )
overrideprotected

◆ OnCancel()

void CPropertyPageProxy::OnCancel ( )
overrideprotected

◆ OnInitDialog()

BOOL CPropertyPageProxy::OnInitDialog ( )
overrideprotected

◆ OnKillActive()

BOOL CPropertyPageProxy::OnKillActive ( )
overrideprotected

◆ OnOK()

void CPropertyPageProxy::OnOK ( )
overrideprotected

◆ OnQueryCancel()

BOOL CPropertyPageProxy::OnQueryCancel ( )
overrideprotected

◆ OnReset()

void CPropertyPageProxy::OnReset ( )
overrideprotected

◆ OnSetActive()

BOOL CPropertyPageProxy::OnSetActive ( )
overrideprotected

◆ OnSize()

afx_msg void CPropertyPageProxy::OnSize ( UINT nType,
int cx,
int cy )
protected

◆ OnWizardBack()

LRESULT CPropertyPageProxy::OnWizardBack ( )
overrideprotected

◆ OnWizardFinish()

BOOL CPropertyPageProxy::OnWizardFinish ( )
overrideprotected

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