?? rrappui.cpp
字號:
#include "rrAppUi.h"
#include "rr.hrh"
#include "rrView.h"
#include "rr.rsg"
#include "MSVSTD.HRH"
#include <avkon.hrh>
void CrrAppUi::ConstructL()
{
BaseConstructL(EAknEnableSkin);
CrrView* view = new (ELeave) CrrView;
CleanupStack::PushL( view );
view->ConstructL();
AddViewL( view);
CleanupStack::Pop( view );
iViewId = view->Id();
SetDefaultViewL(*view);
}
CrrAppUi::~CrrAppUi()
{
}
void CrrAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
Exit();
break;
default:
break;
}
}
TKeyResponse CrrAppUi::HandleKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/)
{
return EKeyWasNotConsumed;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -