/*
 * Copyright (c) 2009 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:
 *
 */

/**
 * This file contains constants used in msgapp.
 */

#ifndef MSGCOMMONDEFINES_H_
#define MSGCOMMONDEFINES_H_

const qreal CONTENT_MARGIN = 5.0; //Content margin for layout.
const qreal CONTENT_MARGIN_MIN = 2.0; //Minimum contents margin for layout.
const qreal HORIZONTAL_SPACING = 5.0; //Horizontal spacing between items in layout.

const qreal VERTICAL_SPACING = 0.0; //Vertical spacing between items in layout.
const qreal AVATAR_WIDTH = 40.0; //Width for avatar.
const qreal AVATAR_HEIGHT = 50.0; //Height for avatar.
const qreal TIMESTAMP_WIDTH = 45.0; //Width for timestamp.
const qreal UNREADCOUNT_WIDTH = 40.0; //Width for unread count.

const QString DATE_FORMAT("dd/MM"); //Date format.
const QString TIME_FORMAT("hh:mm"); //Time format.

const QColor SEPARATOR_COLOR(0, 0, 0, 51); //separator color.

#endif /* MSGCOMMONDEFINES_H_ */

// EOF
