InstallPage.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #pragma once
  2. #include "CLanguage.h"
  3. #include "CClasses.h"
  4. #include "duilib.h"
  5. #include "resource.h"
  6. #include "DefineUI.h"
  7. #include "FileCore.h"
  8. //安装主页界面
  9. #pragma region 文件说明
  10. //说明:主要处理UI界面内容(类比文件的命名为xxxPage)
  11. #pragma endregion
  12. class InstallationPage
  13. {
  14. public:
  15. InstallationPage(CPaintManagerUI *m_pm);
  16. ~InstallationPage();
  17. public:
  18. CPaintManagerUI* m_pm;
  19. CVerticalLayoutUI* LayoutHome;
  20. CButtonUI* Btninstall;
  21. //CButtonUI* BtnInstallSetting;
  22. CButtonUI* BtnIconSelectFolder;
  23. CButtonUI* BtnTextSelectFolder;
  24. CTextUI* TxtByClickInstall;
  25. CButtonUI* BtnTermsService;
  26. CTextUI* TxtAnd;
  27. CButtonUI* BtnPrivacyPolicy;
  28. CTextUI* TextShowContentLink;
  29. CCheckBoxUI* CheckInstallSetting;
  30. CRichEditUI* EdFilepath;
  31. CProgressUI* InstallingProgress;
  32. CTabLayoutUI* pTabSwitch;
  33. CControlUI* ConNoNetWork;
  34. CLabelUI* installNotWork;
  35. CLabelUI* installingValue;
  36. CLabelUI* LbInstalledPath;
  37. CLabelUI* InstallationfolderTitle;
  38. CButtonUI* BtnOpenApp;
  39. CButtonUI* Lbicon;
  40. CButtonUI* BtnClose;
  41. public:
  42. void InitControls();
  43. void InitLanguage();
  44. void InitValue();
  45. CDuiString UIstr(TextType textType);
  46. };