classicui_plat/extended_queries_api/inc/aknquerylaf.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 //The query dialog dimensions
       
    19 
       
    20 const TInt KQueryWidth = 176;
       
    21 const TInt KQueryHeight = 78;
       
    22 const TInt KFullQueryHeight = 145;
       
    23 
       
    24 const TInt KQueryLineHeight = 18;
       
    25 
       
    26 const TInt KQueryXPosition = 0;
       
    27 const TInt KQueryYPosition = 110;
       
    28 
       
    29 //Constants for the common dataquery layout
       
    30 const TInt KQueryPromptMargin = 11;
       
    31 const TInt KQueryPromptBaseline = 9;
       
    32 const TInt KQueryPromptWidth = 152;
       
    33 const TInt KQueryPromptHeight = 13;
       
    34 
       
    35 const TInt KQueryEditingStateIconXPosition = 70;
       
    36 const TInt KQueryEditingStateIconYPosition = 27;
       
    37 const TInt KQueryEditingStateIconWidth = 90;
       
    38 const TInt KQueryEditingStateIconHeight = 9;
       
    39 
       
    40 const TInt KQueryEntryLineMargin = 17;
       
    41 const TInt KQueryEntryLineBaseline = 41;
       
    42 const TInt KQueryEntryLineWidth = 143;
       
    43 const TInt KQueryEntryLineHeight = 13;
       
    44 
       
    45 const TInt KQueryEntryOutLineLeftMargin = 11;
       
    46 const TInt KQueryEntryOutLineTopMargin = 38;
       
    47 const TInt KQueryEntryOutLineWidth = 152;
       
    48 const TInt KQueryEntryOutLineHeight = 23;
       
    49 
       
    50 const TInt KQueryEntryVShadowXLeft = 12;
       
    51 const TInt KQueryEntryVShadowYLeft = 39;
       
    52 const TInt KQueryEntryVShadowWidht = 150;
       
    53 
       
    54 const TInt KQueryEntryHShadowXLeft = 12;
       
    55 const TInt KQueryEntryHShadowYLeft = 40;
       
    56 const TInt KQueryEntryHShadowHeight = 20;
       
    57 
       
    58 
       
    59 //Constants for the confirmation layout
       
    60 const TInt KQueryConfirmationFirstLabelMargin = 11;
       
    61 const TInt KQueryConfirmationFirstLabelBaseline = 9;
       
    62 const TInt KQueryConfirmationFirstLabelWidth = 124;
       
    63 const TInt KQueryConfirmationFirstLabelHeight = 13;
       
    64 
       
    65 const TInt KQueryConfirmationSecondLabelMargin = 11;
       
    66 const TInt KQueryConfirmationSecondLabelBaseline = 27;
       
    67 const TInt KQueryConfirmationSecondLabelWidth = 124;
       
    68 const TInt KQueryConfirmationSecondLabelHeight = 13;
       
    69 
       
    70 const TInt KQueryConfirmationThirdLabelMargin = 11;
       
    71 const TInt KQueryConfirmationThirdLabelBaseline = 45;
       
    72 const TInt KQueryConfirmationThirdLabelWidth = 124;
       
    73 const TInt KQueryConfirmationThirdLabelHeight = 13;
       
    74 
       
    75 const TInt KQueryConfirmationImageXPosition = 140;
       
    76 const TInt KQueryConfirmationImageYPosition = 4;
       
    77 const TInt KQueryConfirmationImageWidth = 30;
       
    78 const TInt KQueryConfirmationImageHeight = 40;
       
    79 
       
    80 //Constants for the data layout
       
    81 
       
    82 const TInt KDataQueryHeightWithOneLine = 78;
       
    83 const TInt KDataQueryHeightWithTwoLine = 95;
       
    84 const TInt KDataQueryHeightWithThreeLine = 113;
       
    85 const TInt KDataQueryHeightWithFourLine = 131;
       
    86 const TInt KDataQueryHeightWithFiveLine = 149;
       
    87 
       
    88 const TInt KDataQueryYPositionWithOneLine = 110;
       
    89 const TInt KDataQueryYPositionWithTwoLine = 93;
       
    90 const TInt KDataQueryYPositionWithThreeLine = 75;
       
    91 const TInt KDataQueryYPositionWithFourLine = 57;
       
    92 const TInt KDataQueryYPositionWithFiveLine = 39;
       
    93 
       
    94 const TInt KQueryDataFirstEntryLineMargin = 17;
       
    95 const TInt KQueryDataFirstEntryLineBaseline = 41;
       
    96 const TInt KQueryDataFirstEntryLineWidth = 143;
       
    97 const TInt KQueryDataFirstEntryLineHeight = 13;
       
    98 
       
    99 const TInt KQueryDataSecondEntryLineMargin = 17;
       
   100 const TInt KQueryDataSecondEntryLineBaseline = 59;
       
   101 const TInt KQueryDataSecondEntryLineWidth = 143;
       
   102 const TInt KQueryDataSecondEntryLineHeight = 13;
       
   103 
       
   104 const TInt KQueryDataThirdEntryLineMargin = 17;
       
   105 const TInt KQueryDataThirdEntryLineBaseline = 77;
       
   106 const TInt KQueryDataThirdEntryLineWidth = 143;
       
   107 const TInt KQueryDataThirdEntryLineHeight = 13;
       
   108 
       
   109 const TInt KQueryDataFourthEntryLineMargin = 17;
       
   110 const TInt KQueryDataFourthEntryLineBaseline = 95;
       
   111 const TInt KQueryDataFourthEntryLineWidth = 143;
       
   112 const TInt KQueryDataFourthEntryLineHeight = 13;
       
   113 
       
   114 const TInt KQueryDataFifthEntryLineMargin = 17;
       
   115 const TInt KQueryDataFifthEntryLineBaseline = 113;
       
   116 const TInt KQueryDataFifthLineWidth = 143;
       
   117 const TInt KQueryDataFifthEntryLineHeight = 13;
       
   118 
       
   119 //Constants for the multiline data layout
       
   120 const TInt KQuery1PromptMargin = 11;
       
   121 const TInt KQuery1PromptBaseline = 9;
       
   122 const TInt KQuery1PromptWidth = 152;
       
   123 const TInt KQuery1PromptHeight = 13;
       
   124 
       
   125 const TInt KQuery2PromptMargin = 11;
       
   126 const TInt KQuery2PromptBaseline = 77;
       
   127 const TInt KQuery2PromptWidth = 152;
       
   128 const TInt KQuery2PromptHeight = 13;
       
   129 
       
   130 const TInt KQuery1EntryLineMargin = 17;
       
   131 const TInt KQuery1EntryLineBaseline = 41;
       
   132 const TInt KQuery1EntryLineWidth = 143;
       
   133 const TInt KQuery1EntryLineHeight = 13;
       
   134 
       
   135 const TInt KQuery2EntryLineMargin = 17;
       
   136 const TInt KQuery2EntryLineBaseline = 109;
       
   137 const TInt KQuery2EntryLineWidth = 143;
       
   138 const TInt KQuery2EntryLineHeight = 13;
       
   139 
       
   140 		//Outline in second entry fields
       
   141 const TInt KQuery2EntryOutLineLeftMargin = 11;
       
   142 const TInt KQuery2EntryOutLineTopMargin = 106;
       
   143 const TInt KQuery2EntryOutLineWidth = 152;
       
   144 const TInt KQuery2EntryOutLineHeight = 23;
       
   145 
       
   146 		//Shadows in second entry field
       
   147 const TInt KQuery2EntryVShadowXLeft = 12;
       
   148 const TInt KQuery2EntryVShadowYLeft = 107;
       
   149 const TInt KQuery2EntryVShadowWidht = 150;
       
   150 
       
   151 const TInt KQuery2EntryHShadowXLeft = 12;
       
   152 const TInt KQuery2EntryHShadowYLeft = 109;
       
   153 const TInt KQuery2EntryHShadowHeight = 20;
       
   154 
       
   155 		//Line Between entry fields
       
   156 const TInt KQueryLineBetweenEntryXLeft = 5;
       
   157 const TInt KQueryLineBetweenEntryYLeft = 70;
       
   158 const TInt KQueryLineBetweenEntryXWidht = 164;