messagingapp/msgui/msgapp/inc/msgcommondefines.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 09:45:25 +0300
changeset 52 12db4185673b
parent 23 238255e8b033
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
 * 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 QColor SEPARATOR_COLOR(0, 0, 0, 51); //separator color.

#endif /* MSGCOMMONDEFINES_H_ */

// EOF