📄 pdfuiqappui.cpp
字号:
//
// PdfUIQAppUi.cpp
//
#include "PdfUIQAppUi.h"
// UI
#include "PdfController.h"
#include "PdfUIQAppView.h"
void CPdfUIQAppUi::ConstructL()
{
// Other statements
// Create the controller
iController = CPdfController::NewL();
// Create the AppView
iAppView = new(ELeave) CPdfUIQAppView();
iAppView->SetController(iController);
// etc
// Tell the controller about the AppView
iController->SetAppView(iAppView);
}
void CPdfUIQAppUi::HandleCommandL(TInt aCommandId)
{
switch (aCommandId)
{
case EEikCmdExit:
ExitL();
break;
// UIQ specific commands
case EUIQPdfCmdDeleteFile:
CmdDeleteFileL();
break;
// The controller handles all other commands
default:
iController->HandleCommandL(aCommand);
break;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -