/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/

//The query dialog dimensions

const TInt KQueryWidth = 176;
const TInt KQueryHeight = 78;
const TInt KFullQueryHeight = 145;

const TInt KQueryLineHeight = 18;

const TInt KQueryXPosition = 0;
const TInt KQueryYPosition = 110;

//Constants for the common dataquery layout
const TInt KQueryPromptMargin = 11;
const TInt KQueryPromptBaseline = 9;
const TInt KQueryPromptWidth = 152;
const TInt KQueryPromptHeight = 13;

const TInt KQueryEditingStateIconXPosition = 70;
const TInt KQueryEditingStateIconYPosition = 27;
const TInt KQueryEditingStateIconWidth = 90;
const TInt KQueryEditingStateIconHeight = 9;

const TInt KQueryEntryLineMargin = 17;
const TInt KQueryEntryLineBaseline = 41;
const TInt KQueryEntryLineWidth = 143;
const TInt KQueryEntryLineHeight = 13;

const TInt KQueryEntryOutLineLeftMargin = 11;
const TInt KQueryEntryOutLineTopMargin = 38;
const TInt KQueryEntryOutLineWidth = 152;
const TInt KQueryEntryOutLineHeight = 23;

const TInt KQueryEntryVShadowXLeft = 12;
const TInt KQueryEntryVShadowYLeft = 39;
const TInt KQueryEntryVShadowWidht = 150;

const TInt KQueryEntryHShadowXLeft = 12;
const TInt KQueryEntryHShadowYLeft = 40;
const TInt KQueryEntryHShadowHeight = 20;


//Constants for the confirmation layout
const TInt KQueryConfirmationFirstLabelMargin = 11;
const TInt KQueryConfirmationFirstLabelBaseline = 9;
const TInt KQueryConfirmationFirstLabelWidth = 124;
const TInt KQueryConfirmationFirstLabelHeight = 13;

const TInt KQueryConfirmationSecondLabelMargin = 11;
const TInt KQueryConfirmationSecondLabelBaseline = 27;
const TInt KQueryConfirmationSecondLabelWidth = 124;
const TInt KQueryConfirmationSecondLabelHeight = 13;

const TInt KQueryConfirmationThirdLabelMargin = 11;
const TInt KQueryConfirmationThirdLabelBaseline = 45;
const TInt KQueryConfirmationThirdLabelWidth = 124;
const TInt KQueryConfirmationThirdLabelHeight = 13;

const TInt KQueryConfirmationImageXPosition = 140;
const TInt KQueryConfirmationImageYPosition = 4;
const TInt KQueryConfirmationImageWidth = 30;
const TInt KQueryConfirmationImageHeight = 40;

//Constants for the data layout

const TInt KDataQueryHeightWithOneLine = 78;
const TInt KDataQueryHeightWithTwoLine = 95;
const TInt KDataQueryHeightWithThreeLine = 113;
const TInt KDataQueryHeightWithFourLine = 131;
const TInt KDataQueryHeightWithFiveLine = 149;

const TInt KDataQueryYPositionWithOneLine = 110;
const TInt KDataQueryYPositionWithTwoLine = 93;
const TInt KDataQueryYPositionWithThreeLine = 75;
const TInt KDataQueryYPositionWithFourLine = 57;
const TInt KDataQueryYPositionWithFiveLine = 39;

const TInt KQueryDataFirstEntryLineMargin = 17;
const TInt KQueryDataFirstEntryLineBaseline = 41;
const TInt KQueryDataFirstEntryLineWidth = 143;
const TInt KQueryDataFirstEntryLineHeight = 13;

const TInt KQueryDataSecondEntryLineMargin = 17;
const TInt KQueryDataSecondEntryLineBaseline = 59;
const TInt KQueryDataSecondEntryLineWidth = 143;
const TInt KQueryDataSecondEntryLineHeight = 13;

const TInt KQueryDataThirdEntryLineMargin = 17;
const TInt KQueryDataThirdEntryLineBaseline = 77;
const TInt KQueryDataThirdEntryLineWidth = 143;
const TInt KQueryDataThirdEntryLineHeight = 13;

const TInt KQueryDataFourthEntryLineMargin = 17;
const TInt KQueryDataFourthEntryLineBaseline = 95;
const TInt KQueryDataFourthEntryLineWidth = 143;
const TInt KQueryDataFourthEntryLineHeight = 13;

const TInt KQueryDataFifthEntryLineMargin = 17;
const TInt KQueryDataFifthEntryLineBaseline = 113;
const TInt KQueryDataFifthLineWidth = 143;
const TInt KQueryDataFifthEntryLineHeight = 13;

//Constants for the multiline data layout
const TInt KQuery1PromptMargin = 11;
const TInt KQuery1PromptBaseline = 9;
const TInt KQuery1PromptWidth = 152;
const TInt KQuery1PromptHeight = 13;

const TInt KQuery2PromptMargin = 11;
const TInt KQuery2PromptBaseline = 77;
const TInt KQuery2PromptWidth = 152;
const TInt KQuery2PromptHeight = 13;

const TInt KQuery1EntryLineMargin = 17;
const TInt KQuery1EntryLineBaseline = 41;
const TInt KQuery1EntryLineWidth = 143;
const TInt KQuery1EntryLineHeight = 13;

const TInt KQuery2EntryLineMargin = 17;
const TInt KQuery2EntryLineBaseline = 109;
const TInt KQuery2EntryLineWidth = 143;
const TInt KQuery2EntryLineHeight = 13;

		//Outline in second entry fields
const TInt KQuery2EntryOutLineLeftMargin = 11;
const TInt KQuery2EntryOutLineTopMargin = 106;
const TInt KQuery2EntryOutLineWidth = 152;
const TInt KQuery2EntryOutLineHeight = 23;

		//Shadows in second entry field
const TInt KQuery2EntryVShadowXLeft = 12;
const TInt KQuery2EntryVShadowYLeft = 107;
const TInt KQuery2EntryVShadowWidht = 150;

const TInt KQuery2EntryHShadowXLeft = 12;
const TInt KQuery2EntryHShadowYLeft = 109;
const TInt KQuery2EntryHShadowHeight = 20;

		//Line Between entry fields
const TInt KQueryLineBetweenEntryXLeft = 5;
const TInt KQueryLineBetweenEntryYLeft = 70;
const TInt KQueryLineBetweenEntryXWidht = 164;
