📄 simpleex_ui.cpp
字号:
#include "SimpleEx.h"
#include "SimpleEx.hrh"
void CSimpleExAppUi::ConstructL()
{
BaseConstructL();
iAppView = CSimpleExAppView::NewL(ClientRect());
iAppView->UpdateScreenText(KSimpleExText);
}
CSimpleExAppUi::~CSimpleExAppUi()
{
if (iAppView)
{
delete iAppView;
iAppView = NULL;
}
}
void CSimpleExAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
case ESimpleExCommand:
break;
case ESimpleExDialog:
CSimpleExForm* form = CSimpleExForm::NewL(iAppView->iDisplayText,iAppView->iTextColor);
form->ExecuteLD(R_SIMPLEEX_DIALOG);
break;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -