qtinternetradio/ui/inc/iruidefines.h
changeset 0 09774dfdd46b
child 3 ee64f059b8e1
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     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 #ifndef IRUIDEFINES_H_
       
    18 #define IRUIDEFINES_H_
       
    19 
       
    20 const QColor KListOddRowColor(211, 211, 211, 127);
       
    21 const QColor KListEvenRowColor(255, 250, 250, 127);
       
    22 const QColor KListMusicshopDisableColor(200, 0, 0, 127);
       
    23 const QColor KListMusicshopEnableColor(0,200,0,127);
       
    24 
       
    25 // Docml File
       
    26 static const char* ABSTRACT_LIST_VIEW_BASE_LAYOUT_FILENAME     = ":/layout/abstractlistviewbase.docml";
       
    27 static const char* STATION_DETAILS_CONTAINER_LAYOUT_FILENAME   = ":/layout/stationdetailscontainer.docml";
       
    28 static const char* NOW_PLAYING_VIEW_LAYOUT_FILENAME            = ":/layout/nowplayingview.docml";
       
    29 static const char* NOW_PLAYING_CONTAINER_LAYOUT_FILENAME       = ":/layout/nowplayingcontainer.docml";
       
    30 static const char* OPEN_WEB_ADDRESS_VIEW_LAYOUT_FILENAME       = ":/layout/openwebaddressview.docml";
       
    31 static const char* SEARCH_CHANNELS_VIEW_LAYOUT_FILENAME        = ":/layout/searchchannelsview.docml";
       
    32 
       
    33 // IrAbstractListViewBase -- Object Name
       
    34 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_VIEW                        = "ext-IrAbstractListViewBase";
       
    35 // menu action
       
    36 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_OPEN_WEB_ADDRESS_ACTION     = "openWebAddressAction";
       
    37 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_SETTING_ACTION              = "settings";
       
    38 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_HELP_ACTION                 = "help";
       
    39 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_EXIT_ACTION                 = "exit";
       
    40 // tool bar action
       
    41 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_TOOLBAR              = "toolbar";
       
    42 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_COLLECTION_ACTION    = "collections";
       
    43 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_FAVORITE_ACTION      = "favorites";
       
    44 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_GENRE_ACTION         = "genres";
       
    45 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_SEARCH_ACTION        = "search";
       
    46 // widget
       
    47 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_HEADINGTEXTLABEL     = "headingText";
       
    48 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_PLAYINGBANNER        = "playingBanner";
       
    49 static const char* ABSTRACT_LIST_VIEW_BASE_OBJECT_LISTVIEW             = "listView";
       
    50 
       
    51 // IrAbstractListViewBase -- Section Name
       
    52 static const char* ABSTRACT_LIST_VIEW_BASE_NO_PLAYINGBANNER_SECTION    = "section_no_playingbanner";
       
    53 static const char* ABSTRACT_LIST_VIEW_BASE_WITH_PLAYINGBANNER_SECTION  = "section_with_playingbanner";
       
    54 
       
    55 // IRSearchChannelsView -- Object Name
       
    56 static const char* SEARCH_CHANNELS_VIEW_OBJECT_VIEW                        = "ext-IRSearchChannelsView";
       
    57 // menu action
       
    58 static const char* SEARCH_CHANNELS_VIEW_OBJECT_SETTING_ACTION              = "settings";
       
    59 static const char* SEARCH_CHANNELS_VIEW_OBJECT_OPEN_WEB_ADDRESS_ACTION     = "openWebAddressAction";
       
    60 static const char* SEARCH_CHANNELS_VIEW_OBJECT_HELP_ACTION                 = "help";
       
    61 static const char* SEARCH_CHANNELS_VIEW_OBJECT_EXIT_ACTION                 = "exit";
       
    62 // tool bar action
       
    63 static const char* SEARCH_CHANNELS_VIEW_OBJECT_TOOLBAR                     = "toolbar";
       
    64 static const char* SEARCH_CHANNELS_VIEW_OBJECT_COLLECTION_ACTION           = "collections";
       
    65 static const char* SEARCH_CHANNELS_VIEW_OBJECT_FAVORITES_ACTION            = "favorites";
       
    66 static const char* SEARCH_CHANNELS_VIEW_OBJECT_GENRES_ACTION               = "genres";
       
    67 static const char* SEARCH_CHANNELS_VIEW_OBJECT_SEARCH_ACTION               = "search";
       
    68 // widget
       
    69 static const char* SEARCH_CHANNELS_VIEW_OBJECT_SEARCHKEY_LABEL             = "searchKey";
       
    70 static const char* SEARCH_CHANNELS_VIEW_OBJECT_SEARCHKEY_BUTTON            = "searchButton";
       
    71 static const char* SEARCH_CHANNELS_VIEW_OBJECT_PLAYING_BANNER              = "playingBanner";
       
    72 
       
    73 // IRSearchChannelsView -- Section Name
       
    74 static const char* SEARCH_CHANNELS_VIEW_NO_PLAYINGBANNER_SECTION      = "section_no_playingbanner";
       
    75 static const char* SEARCH_CHANNELS_VIEW_WITH_PLAYINGBANNER_SECTION    = "section_with_playingbanner";
       
    76 
       
    77 
       
    78 #endif /* IRUIDEFINES_H_ */