#pragma once #include "CLanguage.h" #include "CClasses.h" #include "duilib.h" #include "resource.h" #include "DefineUI.h" #include "FileCore.h" //安装主页界面 #pragma region 文件说明 //说明:主要处理UI界面内容(类比文件的命名为xxxPage) #pragma endregion class InstallationPage { public: InstallationPage(CPaintManagerUI *m_pm); ~InstallationPage(); public: CPaintManagerUI* m_pm; CVerticalLayoutUI* LayoutHome; CButtonUI* Btninstall; //CButtonUI* BtnInstallSetting; CButtonUI* BtnIconSelectFolder; CButtonUI* BtnTextSelectFolder; CTextUI* TxtByClickInstall; CButtonUI* BtnTermsService; CTextUI* TxtAnd; CButtonUI* BtnPrivacyPolicy; CTextUI* TextShowContentLink; CCheckBoxUI* CheckInstallSetting; CRichEditUI* EdFilepath; CProgressUI* InstallingProgress; CTabLayoutUI* pTabSwitch; CControlUI* ConNoNetWork; CLabelUI* installNotWork; CLabelUI* installingValue; CLabelUI* LbInstalledPath; CLabelUI* InstallationfolderTitle; CButtonUI* BtnOpenApp; CButtonUI* Lbicon; CButtonUI* BtnClose; public: void InitControls(); void InitLanguage(); void InitValue(); CDuiString UIstr(TextType textType); };