testappui.cpp
来自「大名鼎鼎的远程登录软件putty的Symbian版源码」· C++ 代码 · 共 49 行
CPP
49 行
/* testappui.cpp * * Test Application UI class * * Copyright 2004 Petteri Kangaslampi * * See license.txt for full copyright and license information.*/#include "testappui.h"#include "testappview.h"#include "testui.hrh"#include <test.rsg>CTestAppUi::CTestAppUi() {}void CTestAppUi::ConstructL() { BaseConstructL(); iAppView = new (ELeave) CTestAppView(*this); iAppView->ConstructL(ClientRect()); AddToStackL(iAppView);}CTestAppUi::~CTestAppUi() { RemoveFromStack(iAppView); delete iAppView;}void CTestAppUi::HandleCommandL(TInt aCommand) { switch (aCommand) { case EAknSoftkeyBack: case EAknSoftkeyExit: case EEikCmdExit: { Exit(); break; } default: break; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?