qcpix/tsrc/orbitsearch/uicontrols.h
changeset 1 6f2c1c46032b
parent 0 671dee74050a
child 2 6c1a2771f4b7
equal deleted inserted replaced
0:671dee74050a 1:6f2c1c46032b
    20 
    20 
    21 #include <hblineedit.h>
    21 #include <hblineedit.h>
    22 #include <hbpushbutton.h>
    22 #include <hbpushbutton.h>
    23 #include <hbtextedit.h>
    23 #include <hbtextedit.h>
    24 
    24 
       
    25 //***********************************************************
       
    26 //Fine controls for custom builds.
       
    27 
       
    28 //Default search mode. Append "*" to the end of search string
       
    29 //NOTE: These macros are mutually exclusive and precedence
       
    30 //in the order below.
       
    31 //i.e., STAR_SEARCH over-rides NO_STAR_SEARCH which overrides 
       
    32 //ESCAPE_SPECIAL_CHARS.
       
    33 #define STAR_SEARCH 1
       
    34 
       
    35 //Vanilla search. Send search string to engine "as-is". 
       
    36 #define NO_STAR_SEARCH 0
       
    37 
       
    38 //Will escape the following characters:
       
    39 //+,-,&&,||,!,(,),{,},[,],^,",~,*,?,:and '\'
       
    40 #define ESCAPE_SPECIAL_CHARS 0
       
    41 
       
    42 //If you dont want to see results, define this flag.
       
    43 #define DONT_SHOW_RESULTS 0
       
    44 
       
    45 //************************************************************
       
    46 
    25 #define ORBIT_SEARCH_CONTROLS   \
    47 #define ORBIT_SEARCH_CONTROLS   \
    26     HbLineEdit* searchBox;      \
    48     HbLineEdit* searchBox;      \
    27     HbPushButton* searchButton; \
    49     HbPushButton* searchButton; \
    28     HbTextEdit* resultsBox;
    50     HbTextEdit* resultsBox;
    29 
    51