📄 ldmno20appui.cpp
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include "LDMNO20.pan"
#include "LDMNO20AppUi.h"
#include "LDMNO20.hrh"
#include "CircleView.h"
void CLDMNO20AppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
iAppView = CCircleView::NewL();
AddViewL(iAppView);
}
CLDMNO20AppUi::CLDMNO20AppUi()
{
// add any construction that cannot leave here
}
CLDMNO20AppUi::~CLDMNO20AppUi()
{
}
void CLDMNO20AppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
case ELDMNO20Command1:
{
_LIT(message,"Command 1");
CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
informationNote->ExecuteLD(message);
}
break;
default:
Panic(ELDMNO20BasicUi);
break;
}
}
void CLDMNO20AppUi::Leave()
{
Exit();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -