📄 s60testappui.cpp
字号:
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include <eikmenup.h>
#include "S60Test.pan"
#include "S60TestDocument.h"
#include "S60TestAppUi.h"
#include "S60TestAppView.h"
#include "S60Test.hrh"
void CS60TestAppUi::ConstructL()
{
BaseConstructL();
iAppView=CS60TestAppView::NewL(ClientRect(), iDoc);
AddToStackL(iAppView);
}
CS60TestAppUi::CS60TestAppUi(CS60TestDocument *aDoc)
{
iDoc=aDoc;
}
CS60TestAppUi::~CS60TestAppUi()
{
if (iAppView)
{
RemoveFromStack(iAppView);
delete iAppView;
iAppView = NULL;
}
}
// handle any menu commands
void CS60TestAppUi::HandleCommandL(TInt aCommand)
{
switch(aCommand)
{
case EEikCmdExit:
case EAknSoftkeyExit:
Exit();
break;
default:
Panic(ES60TestBasicUi);
break;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -