messagingapp/msgui/msgapp/inc/msgcommondefines.h
changeset 23 238255e8b033
child 51 3507212d340e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingapp/msgui/msgapp/inc/msgcommondefines.h	Fri Apr 16 14:56:15 2010 +0300
@@ -0,0 +1,42 @@
+/*
+ * 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