4#include "GUIPropertyGridCtrl.h"
5#include "GUIPropertyItemBase.h"
12 class FL_EXPORT CGUIDialogProperty :
public CGUIDialog
14 DECLARE_DYNAMIC(CGUIDialogProperty)
16 CGUIDialogProperty(CWnd* pParent =
nullptr);
17 CGUIDialogProperty(
const CGUIDialogProperty& rhs);
19 virtual ~CGUIDialogProperty();
21 virtual void OnReceiveBroadcast(
const Base::CBroadcastMessage* pMessage)
override;
22 static CGUIDialogProperty* CreateModelessDialog(CWnd* pParent =
nullptr);
24 virtual void UpdateFont();
25 virtual void OnOK()
override;
26 virtual BOOL OnInitDialog()
override;
28 virtual void SetSize(int32_t i32W, int32_t i32H);
29 virtual CGUIPropertyItemBase* AddItem(CGUIPropertyItemBase* pItem);
30 virtual CGUIPropertyItemBase* AddItem(
const Base::CFLString<wchar_t>& flstrName,
const Base::CFLString<wchar_t>& flstrPath,
const Base::CFLString<wchar_t>& flstrValue,
bool bReadOnly =
false);
31 virtual CGUIPropertyItemBase* AddItem(
const Base::CFLString<wchar_t>& flstrName,
const Base::CFLString<wchar_t>& flstrPath,
const Base::CFLString<wchar_t>& flstrValue, CGUIEditBase::EInputType eInputType,
bool bReadOnly =
false);
32 virtual CGUIPropertyItemBase* GetItemByHash(
const uint32_t& u32Hash);
34 virtual void SetPropertyGridLeftColumnWidth(int32_t i32LeftColumnWidth);
35 virtual BOOL PreTranslateMessage(MSG* pMsg);
36 virtual bool AdjustLayoutButton(int32_t i32BtnW, int32_t i32BtnH, int32_t i32BtnMargin, int32_t i32BtnSpace, int32_t i32BtnTop);
38 DeclareGetClassType();
41 virtual bool CreateProperty();
42 virtual bool AdjustLayoutProperty(int32_t& i32PropertyW, int32_t& i32PropertyH);
45 int32_t m_i32PropertyGridLeftColumnWidth;
46 uint32_t m_u32IdWndPropList;
47 std::map<uint32_t, CGUIPropertyItemBase*> m_mapItems;
48 std::vector<CGUIPropertyItemBase*> m_vctItems;
49 std::map<int32_t, Base::CFLString<wchar_t>> m_mapChangedItems;
50 std::vector<CMFCPropertyGridProperty*> m_vctProperties;
51 std::set<int32_t> m_setResetItemIdx;
52 CGUIPropertyGridCtrl m_wndPropList;
56 afx_msg LRESULT OnPropertyChanged(WPARAM wparam, LPARAM lparam);
57 afx_msg
void OnDestroy();
58 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
A file of dialog class.
Definition GUIDialog.h:72
Definition D2DObject.h:12