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

📄 aknexslidersaveform.h

📁 symbian 中 滚动条的使用 可以用在亮度
💻 H
字号:
/*  Copyright (c) 2004, Nokia. All rights reserved */

#ifndef __AKNEXSLIDERSAVETESTFORM_H__
#define __AKNEXSLIDERSAVETESTFORM_H__

// INCLUDES
#include <aknform.h>
#include "AknExSlider.hrh"

// CONSTANTS
const TInt KAknExSliderLabelMaxLength = 64;

// CLASS DECLARATION

/**
* CAknExFormApplication application class.
* Provides factory to create concrete document object.
*/
class CAknExSliderSaveForm : public CAknForm
    {
    public:  // Constructor and destructor  
        /**
        * Two-phased constructor.
        */
        static CAknExSliderSaveForm* NewL();

        /**
        * Destructor.
        */
        virtual ~CAknExSliderSaveForm();

    private:  // Constructor
        /**
        * Default constructor.
        */
        CAknExSliderSaveForm();

        /**
        * Second-phase constructor.
        */
        void ConstructL();
    
    private:  // New functons
        /**
        * Set form data.
        */
        void SetFormData();
    
    private:  // Functions from base class
        /**
        * From CEikDialog 
        * Set default field value to member data.
        */
        void PostLayoutDynInitL();

        /**
        * From CAknForm 
        * Show save query. If user answers "No" to this query.
        * return field value to the value which is before editing.
        */
        TBool QuerySaveChangesL();

        /**
        * From CAknForm 
        * Save the contents of the form.
        */
        TBool SaveFormDataL(); 

        /**
        * From CAknForm 
        * Does not save the contents of the form.
        */
        void DoNotSaveFormDataL();

    private:

        /**
        * iSliderValue
        */
        TInt                             iSliderValue;

        /**
        * iSliderLabel
        */
        TBuf<KAknExSliderLabelMaxLength> iSliderLabel;

    };

#endif  // __AKNEXSLIDERSAVETESTFORM_H__

// End of File

⌨️ 快捷键说明

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