textinput/peninputfingerhwrar/inc/peninputfingerhwrarwnd.h
branchRCL_3
changeset 12 5e18d8c489d6
parent 7 6defe5d1bd39
child 19 ac7e4d1d9209
equal deleted inserted replaced
11:c8fb4cf7b3ae 12:5e18d8c489d6
    29 class CFepCtrlDropdownList;
    29 class CFepCtrlDropdownList;
    30 class CPeninputFingerHwrArLafManager;
    30 class CPeninputFingerHwrArLafManager;
    31 class CPeninputArabicFingerHwrSymbolTable;
    31 class CPeninputArabicFingerHwrSymbolTable;
    32 class CPeninputArabicFingerHwrIndicator;
    32 class CPeninputArabicFingerHwrIndicator;
    33 class CPeninputArabicFingerHwrWritingWnd;
    33 class CPeninputArabicFingerHwrWritingWnd;
       
    34 class CPeninputArabicFingerHwrNumSymbolTable;
    34 
    35 
    35 /**
    36 /**
    36  *  class CPeninputFingerHwrArWnd.
    37  *  class CPeninputFingerHwrArWnd.
    37  *
    38  *
    38  *  Main window of finger hwr arabic. 
    39  *  Main window of finger hwr arabic. 
   238             EPagePosLastPage -  go to last page.
   239             EPagePosLastPage -  go to last page.
   239             EPagePosFirstPage  - go to first page.
   240             EPagePosFirstPage  - go to first page.
   240      * @return none
   241      * @return none
   241      */
   242      */
   242     void ShowSymbolPage( TInt aPageNo, TInt aPos );
   243     void ShowSymbolPage( TInt aPageNo, TInt aPos );
   243     
   244     /**
       
   245      * accept editor's number mapping restriction.
       
   246      * 
       
   247      * @since S60 v5.0
       
   248      * @param aNumMapping a string contains numbers and related char. max length is 16.
       
   249      * @return none
       
   250      */
       
   251     void SetNumericMapping( const TDesC& aNumMapping );
       
   252 
       
   253 
   244 public: //child control access
   254 public: //child control access
   245     
   255     
   246     /**
   256     /**
   247      * retrieve the ICF control. 
   257      * retrieve the ICF control. 
   248      * 
   258      * 
   258      * @since Symbian TB9.2
   268      * @since Symbian TB9.2
   259      * @return pointer to candicate list 
   269      * @return pointer to candicate list 
   260      */    
   270      */    
   261     CFepCtrlDropdownList* CandidateList();
   271     CFepCtrlDropdownList* CandidateList();
   262     
   272     
   263     /**
   273 //    /**
   264      * retrieve the number candicate list control. 
   274 //     * retrieve the number candicate list control. 
   265      * 
   275 //     * 
   266      * @since Symbian TB9.2
   276 //     * @since Symbian TB9.2
   267      * @return pointer to candicate list 
   277 //     * @return pointer to candicate list 
   268      */    
   278 //     */    
   269     CFepCtrlDropdownList* NumCandidateList();
   279 //    CFepCtrlDropdownList* NumCandidateList();
   270 	
   280 	
   271     /**
   281     /**
   272      * dim arrow buttons
   282      * dim arrow buttons
   273      * 
   283      * 
   274      * @since Symbian TB9.2
   284      * @since Symbian TB9.2
   325      * @since Symbian TB9.2
   335      * @since Symbian TB9.2
   326      * @return ETrue if the symbol table was already opened up, EFalse otherwise
   336      * @return ETrue if the symbol table was already opened up, EFalse otherwise
   327      */
   337      */
   328     TBool IsSymbolTableShowingUp();
   338     TBool IsSymbolTableShowingUp();
   329 	
   339 	
   330 	/**
   340 
       
   341     /**
   331      * Check if the candidate list was opened up
   342      * Check if the candidate list was opened up
   332      * 
   343      * 
   333      * @since Symbian TB9.2
   344      * @since Symbian TB9.2
   334      * @return ETrue if the candidate list was already opened up, EFalse otherwise
   345      * @return ETrue if the candidate list was already opened up, EFalse otherwise
   335      */
   346      */
   354 	
   365 	
   355 	/**
   366 	/**
   356 	 * Handle window open
   367 	 * Handle window open
   357 	 */
   368 	 */
   358 	void HandleWindowOpenCommandL();
   369 	void HandleWindowOpenCommandL();
   359 	
   370     /*
       
   371      * set arabic number mode.
       
   372      * @since s60 v5.2
       
   373      * @param aIsNativeNumMode a flag to indicate whether it is native number mode.
       
   374      * @return none.
       
   375      */
       
   376     void SetNativeNumMode(const TBool aIsNativeNumMode);
       
   377     
       
   378     /*
       
   379      * set icf language.
       
   380      * @since s60 v5.2
       
   381      * @param aLang language id.
       
   382      * @return none.
       
   383      */
       
   384     void SetIcfLanguage( TInt aLang );    
   360 protected:
   385 protected:
   361 
   386 
   362     /**
   387     /**
   363      * C++ constructor
   388      * C++ constructor
   364      *
   389      *
   393      * 
   418      * 
   394      * @since Symbian TB9.2
   419      * @since Symbian TB9.2
   395      * @return None
   420      * @return None
   396      */
   421      */
   397     void CreateCandidateListL();
   422     void CreateCandidateListL();
   398     /**
   423 //    /**
   399      * create number candidate lists.
   424 //     * create number candidate lists.
   400      * 
   425 //     * 
   401      * @since Symbian TB9.2
   426 //     * @since Symbian TB9.2
   402      * @return None
   427 //     * @return None
   403      */
   428 //     */
   404     void CreateNumCandidateListL();
   429 //    void CreateNumCandidateListL();
   405     
   430     
   406     /**
   431     /**
   407      * create writing box.
   432      * create writing box.
   408      * 
   433      * 
   409      * @since Symbian TB9.2
   434      * @since Symbian TB9.2
   424      * 
   449      * 
   425      * @since Symbian TB9.2
   450      * @since Symbian TB9.2
   426      * @return None
   451      * @return None
   427      */    
   452      */    
   428     void CreateSymbolTableL();
   453     void CreateSymbolTableL();
       
   454     
       
   455     /**
       
   456      * create virtual number modesct pad.
       
   457      * 
       
   458      * @since Symbian TB9.2
       
   459      * @return None
       
   460      */    
       
   461     void CreateNumSymbolTableL();
   429     
   462     
   430     /**
   463     /**
   431      * EventButton creation helper.
   464      * EventButton creation helper.
   432      * 
   465      * 
   433      * @since Symbian TB9.2
   466      * @since Symbian TB9.2
   462      * @return None
   495      * @return None
   463      */      
   496      */      
   464     void LoadSymbolVirtualKeysL( const TInt aResId, const RArray<TRect>& aCellRects );
   497     void LoadSymbolVirtualKeysL( const TInt aResId, const RArray<TRect>& aCellRects );
   465 
   498 
   466     /**
   499     /**
       
   500      * load virtual number mode sct keys.
       
   501      * 
       
   502      * @since Symbian TB9.2
       
   503      * @param aResId resource id.
       
   504      * @param aCellRects rects of virtual keys.
       
   505      * @return None
       
   506      */      
       
   507     void LoadNumSymbolVirtualKeysL( const TInt aResId, const RArray<TRect>& aCellRects );
       
   508     
       
   509     /**
   467      * relayout full ui, reset all controls position. 
   510      * relayout full ui, reset all controls position. 
   468      * 
   511      * 
   469      * @since Symbian TB9.2
   512      * @since Symbian TB9.2
   470      * @return None
   513      * @return None
   471      */    
   514      */    
   548 	 * Draw the guideline
   591 	 * Draw the guideline
   549 	 * @since Symbian TB9.2
   592 	 * @since Symbian TB9.2
   550 	 * @return None
   593 	 * @return None
   551 	 */
   594 	 */
   552     void DrawGuideLine();
   595     void DrawGuideLine();
   553     
   596 
   554 private: // datas
   597 private: // datas
   555 
   598 
   556     /**
   599     /**
   557      * Input context field control.
   600      * Input context field control.
   558      * Not own.
   601      * Not own.
   566      */    
   609      */    
   567     CFepCtrlDropdownList* iCandidateList;
   610     CFepCtrlDropdownList* iCandidateList;
   568     
   611     
   569     
   612     
   570     /**
   613     /**
   571      * number Candidate list control.
       
   572      * Not own.
       
   573      */    
       
   574     CFepCtrlDropdownList* iNumCandidateList;
       
   575     /**
       
   576      * Writing box control.
   614      * Writing box control.
   577      * Not own.
   615      * Not own.
   578      */
   616      */
   579     CPeninputArabicFingerHwrWritingWnd* iWritingBox;
   617     CPeninputArabicFingerHwrWritingWnd* iWritingBox;
   580 
   618 
   628     /**
   666     /**
   629      * Sct selection button control.
   667      * Sct selection button control.
   630      * Not own.
   668      * Not own.
   631      */     
   669      */     
   632     CAknFepCtrlEventButton* iSymbolTableBtn;
   670     CAknFepCtrlEventButton* iSymbolTableBtn;
       
   671     /**
       
   672      * enter button control.
       
   673      * Not own.
       
   674      */     
       
   675     CAknFepCtrlEventButton* iEnterBtn;
       
   676     /**
       
   677      * space button control.
       
   678      * Not own.
       
   679      */     
       
   680     CAknFepCtrlEventButton* iSpaceBtn;
   633     
   681     
   634     /**
   682     /**
   635      * Symbol table control.
   683      * Symbol table control.
   636      * Not own.
   684      * Not own.
   637      */     
   685      */     
   638     CPeninputArabicFingerHwrSymbolTable* iSymbolTable;
   686     CPeninputArabicFingerHwrSymbolTable* iSymbolTable;
       
   687 
       
   688     /**
       
   689      * Number mode Symbol table control.
       
   690      * Not own.
       
   691      */     
       
   692     CPeninputArabicFingerHwrNumSymbolTable* iNumSymbolTable;
   639     
   693     
   640     /**
   694     /**
   641      * L&F manager.
   695      * L&F manager.
   642      * Own.
   696      * Own.
   643      */
   697      */