newapp11appui.h
来自「一个很不错的Symbian程序源代码,里面有图片和一些对话框」· C头文件 代码 · 共 98 行
H
98 行
/*
============================================================================
Name : CNewApp11AppUi from NewApp11Appui.h
Author :
Version :
Copyright : Your copyright notice
Description : Declares UI class for application.
============================================================================
*/
#ifndef NEWAPP11APPUI_H
#define NEWAPP11APPUI_H
// INCLUDES
#include <aknviewappui.h>
#include <akntabgrp.h>
#include <aknnavide.h>
#include <akntabobserver.h>
#include "NewApp11View.h"
// FORWARD DECLARATIONS
class CNewApp11Container;
class CNewApp11View;
class CNewApp11View2;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* - view architecture
* - status pane
*
*/
class CNewApp11AppUi : public CAknViewAppUi, MAknTabObserver
{
public: // // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CNewApp11AppUi();
public: // New functions
public: // Functions from base classes
/**
* From MAknTabObserver.
* @param aIndex tab index
*/
void TabChangedL(TInt aIndex);
static TRect iRect;
private:
// From MEikMenuObserver
void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
private:
/**
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
*/
void HandleCommandL(TInt aCommand);
/**
* From CEikAppUi, handles key events.
* @param aKeyEvent Event to handled.
* @param aType Type of the key event.
* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent,TEventCode aType);
private: //Data
CAknNavigationControlContainer* iNaviPane;
CAknTabGroup* iTabGroup;
CAknNavigationDecorator* iDecoratedTabGroup;
CNewApp11View *iAppView1;
CNewApp11View2 *iAppView2;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?