InstallingPage.h 822 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 "KeyVar.h"
  8. //安装中界面
  9. class InstallingPage
  10. {
  11. public:
  12. InstallingPage(CPaintManagerUI* m_pm);
  13. ~InstallingPage();
  14. public:
  15. CPaintManagerUI* m_pm;//该变量不可用普通变量类型来赋值,会崩溃;需要用指针才能更好的处理
  16. CVerticalLayoutUI* LayoutInstalling;
  17. CProgressUI* InstallingProgress;
  18. CTabLayoutUI* pTabSwitch;
  19. CControlUI* ConNoNetWork;
  20. CLabelUI* installNotWork;
  21. CLabelUI* installingValue;
  22. CLabelUI* LbInstalledPath;
  23. public:
  24. void InitControls();
  25. void InitLanguage();
  26. void InitValue();
  27. void SetProgressValue(int value);
  28. CDuiString UIstr(TextType textType);
  29. #pragma region UI界面变化
  30. public:
  31. //网络状态UI改变,isNet是否有网络
  32. void NetWorkUI(bool isNet);
  33. #pragma endregion
  34. };