📄 guielements.h
字号:
/*****************************************************************************
Description: GuiElements.h
COPYRIGHT All rights reserved Sony Ericsson Mobile Communications AB 2005.
The software is the copyrighted work of Sony Ericsson Mobile Communications AB.
The use of the software is subject to the terms of the end-user license
agreement which accompanies or is included with the software. The software is
provided "as is" and Sony Ericsson specifically disclaim any warranty or
condition whatsoever regarding merchantability or fitness for a specific
purpose, title or non-infringement. No warranty of any kind is made in
relation to the condition, suitability, availability, accuracy, reliability,
merchantability and/or non-infringement of the software provided herein.
*****************************************************************************/
#ifndef __GuiElements_H
#define __GuiElements_H
#include <eikenv.h>
#include <eikappui.h>
#include <eikapp.h>
#include <eikdoc.h>
#include <eikmenup.h>
#include <eikdialg.h>
#include <qiknumbereditor.h>
#include <qikhelplauncher.h>
#include <eikon.hrh>
#include <GuiElements.rsg>
#include "GuiElements.hrh"
class CGuiElementsApplication : public CEikApplication
{
private:
CApaDocument* CreateDocumentL();
TUid AppDllUid() const;
};
class CGuiElementsAppView : public CCoeControl, public MCoeControlContext
{
public:
static CGuiElementsAppView* NewL(const TRect& aRect);
CGuiElementsAppView();
void ConstructL(const TRect& aRect);
void ConstructViewL();
private:
void Draw(const TRect& /*aRect*/) const;
private:
};
class CGuiElementsAppUi : public CEikAppUi
{
public:
void ConstructL();
~CGuiElementsAppUi();
private:
void HandleCommandL(TInt aCommand);
void DynInitMenuPaneL(TInt aMenuId,CEikMenuPane* aMenuPane);
private:
private:
CGuiElementsAppView* iAppViewGuiElements;
CCoeControl* iAppView;
};
class CGuiElementsDocument : public CEikDocument
{
public:
static CGuiElementsDocument* NewL(CEikApplication& aApp);
CGuiElementsDocument(CEikApplication& aApp);
~CGuiElementsDocument();
void ConstructL();
void ResetModelL();
private:
CEikAppUi* CreateAppUiL();
private:
};
class CUserDialog : public CEikDialog
{
public:
CUserDialog();
private:
void PreLayoutDynInitL();
TBool OkToExitL(TInt aKeycode);
private:
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -