equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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 /** |
|
19 * This file contains constants used in msgapp. |
|
20 */ |
|
21 |
|
22 #ifndef MSGCOMMONDEFINES_H_ |
|
23 #define MSGCOMMONDEFINES_H_ |
|
24 |
|
25 const qreal CONTENT_MARGIN = 5.0; //Content margin for layout. |
|
26 const qreal CONTENT_MARGIN_MIN = 2.0; //Minimum contents margin for layout. |
|
27 const qreal HORIZONTAL_SPACING = 5.0; //Horizontal spacing between items in layout. |
|
28 |
|
29 const qreal VERTICAL_SPACING = 0.0; //Vertical spacing between items in layout. |
|
30 const qreal AVATAR_WIDTH = 40.0; //Width for avatar. |
|
31 const qreal AVATAR_HEIGHT = 50.0; //Height for avatar. |
|
32 const qreal TIMESTAMP_WIDTH = 45.0; //Width for timestamp. |
|
33 const qreal UNREADCOUNT_WIDTH = 40.0; //Width for unread count. |
|
34 |
|
35 const QString DATE_FORMAT("dd/MM"); //Date format. |
|
36 const QString TIME_FORMAT("hh:mm"); //Time format. |
|
37 |
|
38 const QColor SEPARATOR_COLOR(0, 0, 0, 51); //separator color. |
|
39 |
|
40 #endif /* MSGCOMMONDEFINES_H_ */ |
|
41 |
|
42 // EOF |