uifw/AvKon/inc/AknAdaptiveSearchGrid.h
branchRCL_3
changeset 19 aecbbf00d063
parent 6 9f56a4e1b8ab
child 20 d48ab3b357f1
equal deleted inserted replaced
18:fcdfafb36fe7 19:aecbbf00d063
    98          *
    98          *
    99          * @param aType A message UID value.
    99          * @param aType A message UID value.
   100          */
   100          */
   101          void HandleResourceChange( TInt aType );
   101          void HandleResourceChange( TInt aType );
   102                 
   102                 
       
   103         /**
       
   104          * From CCoeControl.
       
   105          * Retrieves an object of the same type as that encapsulated in aId.
       
   106          *
       
   107          * @param aId An encapsulated object type ID.
       
   108          * @return Encapsulated pointer to the object provided. 
       
   109          *      Note that the encapsulated pointer may be NULL.
       
   110          */
       
   111          TTypeUid::Ptr MopSupplyObject( TTypeUid aId );
   103                  
   112                  
   104         /**
   113         /**
   105          * From MCoeControlObserver.
   114          * From MCoeControlObserver.
   106          * Handles an event from an observed adaptive search grid item.
   115          * Handles an event from an observed adaptive search grid item.
   107          *
   116          *
   189          * 
   198          * 
   190          * @param aGridChars are the characters for adaptive search grid.                  
   199          * @param aGridChars are the characters for adaptive search grid.                  
   191          */
   200          */
   192 	 	 void SetButtonGridChars( const TDesC& aGridChars );
   201 	 	 void SetButtonGridChars( const TDesC& aGridChars );
   193 		
   202 		
       
   203 		/**
       
   204 		 * Sets text into search field.
       
   205 		 * 		 
       
   206 		 * @param const aSearchTxt Reference to the text buffer.
       
   207          */            
       
   208 	     void SetSearchTextToFindPane( const TDesC& aSearchTxt );
   194 		
   209 		
   195 		/**
   210 		/**
   196          * Initiates buttons for adaptive search grid        
   211          * Initiates buttons for adaptive search grid        
   197          */
   212          */
   198 		 void InitGridButtons();
   213 		 void InitGridButtons();
   217          */
   232          */
   218          void HideL();              
   233          void HideL();              
   219          
   234          
   220          static const TInt EDeleteLastCharPressed = -1;
   235          static const TInt EDeleteLastCharPressed = -1;
   221 		 static const TInt ECloseGridPressed = -2;  
   236 		 static const TInt ECloseGridPressed = -2;  
   222 		 
       
   223     public:
       
   224 		 
       
   225 		/**
       
   226 		 * When the rect of find pane is set, this functions will be notified
       
   227          * to record the size of it.
       
   228 		 */
       
   229 		void SaveFindPaneRect( const TRect &aRect );
       
   230   
   237   
   231     protected: // From base class
   238     protected: // From base class
   232   
   239   
   233   		/**
   240   		/**
   234          * From CCoeControl.
   241          * From CCoeControl.
   346         // find pane for AS
   353         // find pane for AS
   347         CAknInputFrame* iInputFrame;
   354         CAknInputFrame* iInputFrame;
   348         CEikEdwin* iEditor;         
   355         CEikEdwin* iEditor;         
   349         TInt iTextLimit;     
   356         TInt iTextLimit;     
   350 	    
   357 	    
       
   358 	    // skin context for find pane
       
   359    	    CAknsListBoxBackgroundControlContext* iSkinContextOfFindPane;   	
       
   360    	    CAknsFrameBackgroundControlContext* iBgContextOfFindPane; 
   351    	    	    	       	    
   361    	    	    	       	    
   352    	    // contex for control pane   
   362    	    // contex for control pane   
   353    	    CAknsBasicBackgroundControlContext* iBgContextOfControlPane;    	     
   363    	    CAknsBasicBackgroundControlContext* iBgContextOfControlPane;    	     
   354    	    
   364    	    
   355         // whether adaptive search grid is shown right now
   365         // whether adaptive search grid is shown right now
   404 
   414 
   405         // For ELJG-7VC8Q2: popup find pane overlap with Adaptive Search grid  
   415         // For ELJG-7VC8Q2: popup find pane overlap with Adaptive Search grid  
   406         TBool iPopupFindpane;
   416         TBool iPopupFindpane;
   407         // The length of overlap section 
   417         // The length of overlap section 
   408         TInt iOverlapLength;
   418         TInt iOverlapLength;
   409         
       
   410         TRect iFindpaneRect;
       
   411         
       
   412         TBool iFindPaneSizeChanged;
       
   413 
   419 
   414     };
   420     };
   415 
   421 
   416 #endif // __AKNADAPTIVESEARCHGRID_H__
   422 #endif // __AKNADAPTIVESEARCHGRID_H__
   417 
   423