📄 stusymappui.cpp
字号:
/* Copyright (c) 2007, Nokia. All rights reserved */
#include <avkon.hrh>
#include <aknnotewrappers.h>
#include "StuSym.pan"
#include "StuSymAppUi.h"
#include "StuSymAppView.h"
#include "StuSym.hrh"
#include "MyDialog.h"
#include "stusym.rsg"
#include "BtnView.h"
void CStuSymAppUi::ConstructL( )
{
BaseConstructL(EAknEnableSkin);
// iAppView = CStuSymAppView::NewL(ClientRect( ) );
// AddToStackL(iAppView);
iBtnView = CBtnView::NewL( ) ;
AddViewL(iBtnView) ;
ipStudyView = CStudyView::NewL( );
AddViewL( ipStudyView ) ;
SetDefaultViewL(* ipStudyView ) ;
}
CStuSymAppUi::CStuSymAppUi( )
{
// add any construction that cannot leave here
iAppView = NULL ;
}
CStuSymAppUi::~CStuSymAppUi( )
{
if (iAppView)
{
// iEikonEnv->RemoveFromStack(iAppView);
delete iAppView;
iAppView = NULL;
}
}
void CStuSymAppUi::HandleCommandL(TInt aCommand)
{
TBool commandHandled = EFalse;
switch ( aCommand )
{ // code to dispatch to the AppUi's menu and CBA commands is generated here
default:
break;
}
if ( !commandHandled )
{
if ( aCommand == EAknSoftkeyExit || aCommand == EEikCmdExit)
Exit( );
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -