![]() |
KDWinUtils
Helper library for MFC to Qt migration
|
The CPropertyPageProxy class is a temporary class used during the migration of a CPropertySheet. More...
#include <cpropertypageproxy.h>
Public Member Functions | |
| CPropertyPageProxy (::KPropertyPage *page) | |
| DECLARE_DYNCREATE (CPropertyPageProxy) | |
| ::KPropertyPage * | GetWidget () 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 |
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:
| CPropertyPageProxy::CPropertyPageProxy | ( | ::KPropertyPage * | page | ) |
| CPropertyPageProxy::~CPropertyPageProxy | ( | ) |
| CPropertyPageProxy::DECLARE_DYNCREATE | ( | CPropertyPageProxy | ) |
|
protected |
| ::KPropertyPage * CPropertyPageProxy::GetWidget | ( | ) | const |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
overrideprotected |
|
protected |
|
overrideprotected |
|
overrideprotected |