📄 aknexgridappui.h
字号:
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXGRIDAPPUI_H__
#define __AKNEXGRIDAPPUI_H__
// INCLUDES
#include <e32std.h>
#include <aknviewappui.h>
// FORWARD DECLARATIONS
class CEikMenuPane;
class CAknNavigationControlContainer;
class CAknNavigationDecorator;
class CAknTabGroup;
class CAknExGridContainer;
// CLASS DECLARATION
/**
* CAknExGridAppUi application UI class.
* Provides support for the following features:
* - AVKON control architecture
* - view architecture
* - status pane
*/
class CAknExGridAppUi : public CAknViewAppUi
{
public: // Destructor
/**
* ~CAknExGridAppUi.
* Destructor.
*/
virtual ~CAknExGridAppUi();
public: // New functions
/**
* ChangeActiveViewAndTabL.
* Changes active views and tabs.
* @param aViewUid UID of the view.
* @param aTabId Tab ID of the view.
*/
void ChangeActiveViewAndTabL( TUid aViewUid, TInt aTabId );
/**
* SetShortcutFlag.
* Sets iShortcutFlag value.
* @param aFlag for shortcutflag
*/
void SetShortcutFlag( TBool aFlag );
/**
* ShortcutFlag.
* Gets iShortcutFlag value.
* @return The value of iShortcutFlag (EKeyWasConsumed,
* EKeyWasNotConsumed).
*/
TBool ShortcutFlag();
private: // Constructors and destructor
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
private: // Functions from base classes
/**
* From CEikAppUi, HandleCommandL.
* Takes care of command handling.
* @param aCommand Command to be handled.
*/
void HandleCommandL( TInt aCommand );
/**
* From CEikAppUi, HandleKeyEventL.
* Handles key events.
* @param aKeyEvent Event to handle.
* @param aType Type of the key event.
* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
*/
TKeyResponse HandleKeyEventL(
const TKeyEvent& aKeyEvent, TEventCode aType );
private: // Data
/**
* iNaviPane, default control in the status pane's navigation pane.
* Not owned by CAknExGridAppUi object.
*/
CAknNavigationControlContainer* iNaviPane;
/**
* iTabGroup, tab group functionality for navigation pane.
* Not owned by CAknExGridAppUi object.
*/
CAknTabGroup* iTabGroup;
/**
* iDecoratedTabGroup, decorator class for navigation pane controls.
* Owned by CAknExGridAppUi object.
*/
CAknNavigationDecorator* iDecoratedTabGroup;
/**
* iAppContainer, container class.
* Owned by CAknExGridAppUi object.
*/
CAknExGridContainer* iAppContainer;
/**
* iShortcutFlag, holds shortcut status.
*/
TBool iShortcutFlag;
};
#endif // __AKNEXGRIDAPPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -