⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showinfodialog.h

📁 Symbian OS 图片转换程序源代码 可以学习一下
💻 H
字号:
/*
* ============================================================================
*  Name     : CShowInfoDialog from ShowInfoDialog.h
*  Part of  : ImageConverter
*  Created  : 25.11.2003 Forum Nokia
*  Description:
*     Used to show information of a image frame.
*  Version  :
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef __SHOWINFODIALOG_H__
#define __SHOWINFODIALOG_H__

// INCLUDES
#include <aknview.h>
#include <eikdialg.h>

// FORWARD DECLARATIONS
class CImageConverterEngine;
class CEikTextListBox;

// CLASS DECLARATION

/**
*  Dialog class
*  Test various controls.
*/
class CShowInfoDialog:public CEikDialog
    {
    public: // Constructors and destructor
        /**
        * Constructor
        */      
        CShowInfoDialog( CFrameInfoStrings* aInfoStrings );
        
		~CShowInfoDialog();

        /**
        * From CAknDialog set parameters before showing dialog.
        */
        void PreLayoutDynInitL();
		
		void PostLayoutDynInitL();

		TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

        /**
        * From CAknDialog update member variables of CAknExEditorDialog.
        * @param aButtonId The ID of the button that was activated.
        * @return Should return ETrue if the dialog should exit,
        *    and EFalse if it should not
        */
        TBool OkToExitL(TInt aButtonId);

	public:
	private: // from base classes
		/**
        * From CoeControl,CountComponentControls.
        */
        TInt CountComponentControls() const;

       /**
        * From CCoeControl,ComponentControl.
        */
        CCoeControl* ComponentControl(TInt aIndex) const;

    
	private: // internal methods
		void ShowInfoDialogL();

	private: // data
		CFrameInfoStrings* iInfoStrings;
		

		CImageConverterEngine* iConverter;
	
		/*! @var iListBox the control used to display the results */
	    CEikTextListBox* iListBox;

		/*! @var iMessageList the list of messages to display */
		CDesCArrayFlat* iMessageList;

    };

#endif //__SHOWINFODIALOG_H__

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -