emailuis/nmhswidget/inc/nmhswidgetconsts.h
changeset 18 578830873419
child 20 ecc8def7944a
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     1 /*
       
     2  * Copyright (c) 2010 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 #ifndef NMHSWIDGETCONSTS_H
       
    19 #define NMHSWIDGETCONSTS_H
       
    20 
       
    21 /** contents margin/spacing in all layouts / container widgets */
       
    22 const int KNmHsWidgetContentsMargin = 0;
       
    23 /** radius for container widget's rounded rect */
       
    24 const int KNmHsWidgetShoulderRadius = 10;
       
    25 /** background opacity */
       
    26 const qreal KNmHsWidgetBackgroundOpacity = 0.50;
       
    27 /** color scheme used in widget background */
       
    28 //const QString backgroundColorAttribute = "popupbackground";
       
    29 #define KBackgroundColorAttribute  "popupbackground"
       
    30 
       
    31 /**************************************************
       
    32  * Title row widget
       
    33  *************************************************/
       
    34 /**  docml file including title row UI definitions */
       
    35 #define KNmHsWidgetTitleRowDocML ":/docml/nmhswidgettitle.docml"
       
    36 /**  docml file including title row UI definitions */
       
    37 #define KNmHsWidgetTitleRowContainer  "titleLayoutWidget"
       
    38 /** mailbox icon */
       
    39 #define KNmHsWidgetTitleRowMailboxIcon  "mailboxIcon"
       
    40 /** mailbox name label */
       
    41 #define KNmHsWidgetTitleRowMailboxNameLabel "mailboxNameLabel"
       
    42 
       
    43 /**************************************************
       
    44  * Mail row widget
       
    45  *************************************************/
       
    46 /**  docml file including mail row UI definitions */
       
    47 #define KNmHsWidgetMailRowDocML   ":/docml/nmhswidgetmail.docml"
       
    48 /** container widget name for mail row UI items */
       
    49 #define KNmHsWidgetMailRowContainer   "emailLayoutWidget"
       
    50 /** sender label */
       
    51 #define KNmHsWidgetMailRowSenderLabel   "labelSender"
       
    52 /** time label */
       
    53 #define KNmHsWidgetMailRowTimeLabel   "labelTime"
       
    54 /** subject label */
       
    55 #define KNmHsWidgetMailRowSubjectLabel   "labelSubject"
       
    56 /** new mail icon */
       
    57 #define KNmHsWidgetMailRowNewMailIcon   "iconNewMail"
       
    58 /** left status icon */
       
    59 #define KNmHsWidgetMailRowLeftIcon   "iconOne"
       
    60 /** middle status icon */
       
    61 #define KNmHsWidgetMailRowMiddleIcon   "iconTwo"
       
    62 /** right status icon */
       
    63 #define KNmHsWidgetMailRowRightIcon   "iconThree"
       
    64 
       
    65 
       
    66 #endif  // NMHSWIDGETCONSTS_H